From f7d8f454147cba02e7af8e5501362a9ae28ece10 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Wed, 25 Feb 1998 15:42:03 +0000 Subject: Hack to get at string buffer address changed --- Mac/Lib/Audio_mac.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- cgit v0.12