Hack to get at string buffer address changed

This commit is contained in:
Jack Jansen 1998-02-25 15:42:03 +00:00
parent 0db61d163d
commit f7d8f45414
1 changed files with 1 additions and 1 deletions

View File

@ -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,