1
Audio / Re: SoundStream custom buffersize
« on: February 29, 2016, 01:09:55 am »
I know that tutorial, but it doesn't seem to helpful with my problem.
To give some more details which might help understand my problem: I'm developing a software for capturing 3DS equipped with capture boards. I already have the code working to read frames from the board and print them on screen. Now I've got the code running which gets the audio from the board - I get a few hundred samples per video-frame, raw 16bit stereo samples. I wrote a StreamSource which gets these samples and plays them just fine - but with a delay of about two seconds which I assume are the 2 seconds Laurent mentioned in the other thread - buffers. For this use case that delay is a no-go.
The tutorial doesn't seem to help me adjust the size of that buffers for my needs. Is there any way it can be done?
To give some more details which might help understand my problem: I'm developing a software for capturing 3DS equipped with capture boards. I already have the code working to read frames from the board and print them on screen. Now I've got the code running which gets the audio from the board - I get a few hundred samples per video-frame, raw 16bit stereo samples. I wrote a StreamSource which gets these samples and plays them just fine - but with a delay of about two seconds which I assume are the 2 seconds Laurent mentioned in the other thread - buffers. For this use case that delay is a no-go.
The tutorial doesn't seem to help me adjust the size of that buffers for my needs. Is there any way it can be done?