glastonbridge / SuperCollider-Android

An Android port of SuperCollider
http://wiki.github.com/glastonbridge/SuperCollider-Android
GNU General Public License v3.0
122 stars 22 forks source link

muchos RecordThread: buffer overflow on Nexus One #12

Closed danstowell closed 14 years ago

danstowell commented 14 years ago

Running on a Nexus One I see a continuous stream of these in adb logcat:

W/SuperCollider-Android( 1423): audioRecord.read didn't read a complete buffer-full W/AudioFlinger( 59): RecordThread: buffer overflow

possibly input buffer size issue? anyway just noting it here for now. doesn't happen on my tattoo

danstowell commented 14 years ago

The reason for this was my own mistake: when I saw buffer overflows I tried to fix them by upping the buffer size which we pass back and forth to android. Instead I should have been reducing the buffer size, so as not to overwhelm the audio subsystem with demands for data...