summaryrefslogtreecommitdiff
path: root/image.py
diff options
context:
space:
mode:
authorBen Connors <benconnors@outlook.com>2019-01-24 16:35:21 -0500
committerBen Connors <benconnors@outlook.com>2019-01-24 19:52:33 -0500
commitfff5e34c9864532b5e38e70b658eccb0ff35d1d3 (patch)
tree42913e78d056cda7d4a77d9d276ace9c649c0b5f /image.py
parentbb9e61aaf7c86d27ef24cfc1c3d4b7f0baadbf89 (diff)
A bunch of changes
- Begin work on simple rendering backend - Define lighting output interface - Cache hash() value on functions - Add unique identifier for each audio cue
Diffstat (limited to 'image.py')
-rwxr-xr-ximage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/image.py b/image.py
index c6d9dad..6e47332 100755
--- a/image.py
+++ b/image.py
@@ -109,7 +109,7 @@ def render_image_show(s:Show):
## Add 0 entries as necessary to the audio list
atime += [0]*max(0,skipperiods-len(atime))
- tname, wave = get_wave(a[1])
+ tname, wave = get_wave(a[2])
nchannels, sampwidth, framerate, nframes, *_ = wave.getparams()
if sampwidth != 2:
raise ValueError("Only 16-bit wave is supported")