glastonbridge / ScanVox

Vocal machine-listening music making machine.
GNU General Public License v3.0
11 stars 0 forks source link

stuttery playback after each record op, on lower-end devices #2

Closed danstowell closed 13 years ago

danstowell commented 13 years ago

running it on my tattoo, I get stuttery playback for something like the first two loops through.

could be CPU load, could be cacheing issues, tbc

glastonbridge commented 13 years ago

I can no longer reproduce this. Answers on a postcard?

danstowell commented 13 years ago

On my Tattoo, the stuttering on first playback is not apparent any more. But there's a lot of stuttering and gui lag if I record while a sound is playing back.

In logcat I see a lot of W/AudioFlinger( 57): AudioRecordThread: buffer overflow W/AudioFlinger( 57): AudioRecordThread: buffer overflow W/AudioFlinger( 57): AudioRecordThread: buffer overflow W/AudioFlinger( 57): AudioRecordThread: buffer overflow

and also a bit of this which can go: D/Arranger( 636): drawRect(75,0,90,320)

In fact, the lag actually squishes the audio -- presumably because of the buffer overflows, the record buffer is slower to fill up than it should be so it plays back with a sped-up rhythm.

danstowell commented 13 years ago

I've confused the two issues - the issue name doesn't cover this buffer overflow issue. Closing and will open a new one.