From f7d8f454147cba02e7af8e5501362a9ae28ece10 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Wed, 25 Feb 1998 15:42:03 +0000 Subject: [PATCH] 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 27526b43e3a..f6cc1caa15e 100644 --- a/Mac/Lib/Audio_mac.py +++ b/Mac/Lib/Audio_mac.py @@ -57,7 +57,7 @@ def writeframes(self, data): 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,