Source

pygame / SDL / audio.py

Diff from to

SDL/audio.py

      - `volume`: int
 
     '''
-    dst = SDL.array.to_ctypes(dst, len(dst), c_ubyte)
-    src = SDL.array.to_ctypes(src, len(src), c_ubyte)
+    dstref, dst = SDL.array.to_ctypes(dst, len(dst), c_ubyte)
+    srcref, src = SDL.array.to_ctypes(src, len(src), c_ubyte)
     if len(dst) < length:
         raise TypeError, 'Destination buffer too small'
     elif len(src) < length: