RSoxBuffers contents don't appear to be correct #3

Closed
tism opened this Issue Jul 26, 2011 · 1 comment

Projects

None yet

1 participant

@tism
Contributor
tism commented Jul 26, 2011

I'm not sure if it's how sox is presenting the samples or what but if I take the contents of a series of buffers, split them by the number of channels and pack it out into alsa I should get the correct audio. Currently I'm only getting the right channel and it's at half speed. I'm not sure what's in the buffer is right or if it's scaled or not.

This is based on the assumption that sox is providing the samples interleaves, so: Channel 1, Channel 2, Channel 1, Channel 2...

@tism
Contributor
tism commented Nov 7, 2011

Was pushing the sox samples straight to alsa which was expecting 16bit samples not the 32bit that sox uses

@tism tism closed this Nov 7, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment