summaryrefslogtreecommitdiffstats
path: root/Mac/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Lib')
-rw-r--r--Mac/Lib/Audio_mac.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Lib/Audio_mac.py b/Mac/Lib/Audio_mac.py
index f6cc1ca..d59119d 100644
--- a/Mac/Lib/Audio_mac.py
+++ b/Mac/Lib/Audio_mac.py
@@ -56,7 +56,7 @@ class Play_Audio_mac:
if self._sampwidth == 1:
import audioop
data = audioop.add(data, '\x80'*len(data), 1)
- h1 = struct.pack('llhhllbbl',
+ h1 = struct.pack('llHhllbbl',
id(data)+MacOS.string_id_to_buffer,
self._nchannels,
self._outrate, 0,