summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1998-02-25 15:42:03 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1998-02-25 15:42:03 (GMT)
commitf7d8f454147cba02e7af8e5501362a9ae28ece10 (patch)
tree2b1e19a467620556363d0a6238d022f8c9623fce /Mac
parent0db61d163d4802da056ffb3c441f357b58bcc3ca (diff)
downloadcpython-f7d8f454147cba02e7af8e5501362a9ae28ece10.zip
cpython-f7d8f454147cba02e7af8e5501362a9ae28ece10.tar.gz
cpython-f7d8f454147cba02e7af8e5501362a9ae28ece10.tar.bz2
Hack to get at string buffer address changed
Diffstat (limited to 'Mac')
-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 27526b4..f6cc1ca 100644
--- a/Mac/Lib/Audio_mac.py
+++ b/Mac/Lib/Audio_mac.py
@@ -57,7 +57,7 @@ class Play_Audio_mac:
import audioop
data = audioop.add(data, '\x80'*len(data), 1)
h1 = struct.pack('llhhllbbl',
- id(data)+MacOS.string_id_to_data,
+ id(data)+MacOS.string_id_to_buffer,
self._nchannels,
self._outrate, 0,
0,