AndroidSoundTouch icon indicating copy to clipboard operation
AndroidSoundTouch copied to clipboard

Stereo Channel

Open yonasputraa opened this issue 8 years ago • 3 comments

I've tried this one in mono channel.

But how about in stereo channel? Should i divide the buffsize sample by channel?

yonasputraa avatar Nov 22 '17 09:11 yonasputraa

The output format is as same as the input PCM. You should setup channels before feeding data.

junyuecao avatar Dec 22 '17 01:12 junyuecao

The output format is as same as the input PCM. You should setup channels before feeding data.

@junyuecao I guess the problem is we cannot directly use mSoundTouch.putSamples() to process data in stereo channel. SoundTouch crashes if we do so.

Do u have any idea?

thundertrick avatar Mar 15 '18 03:03 thundertrick

@junyuecao 作者你好,在使用这个库的时候,调用setChannels方法设置通道数为2,运行之后会导致崩溃,请问这是什么问题呢

xujingzhu123 avatar Jun 21 '22 10:06 xujingzhu123