>Is creating a large ring buffer is always a good thing - is there any limit?
To confirm: my client reports that when we set the ring buffer to a higher number the audio stream does not open. Since your ring buffer AFAIK isn't part of PortAudio itself and a MBS creation, I don't think PortAudio couldn't provide the stream but MBS is rejecting trying to make the ring buffer too big. Like I said the client is doing 96k recording and 32 channels worth, so there's a lot of data to get in a short period of time. But if I set the ring buffer to this: audiostream = New PortAudioStreamRecorderMBS(SampleRate * 4 * numChannels) I then don't get the audio stream. ? Another question: http://portaudio.com/docs/v19-doxydocs-dev/api_overview.html Does the PortAudio MBS implementation use callbacks or does it use the "read/write" audio method? As far as I can tell, using a ring buffer at least gives the possibility of missing data. But if you can use the R/W method, then you don't have to use the ring buffer and no data can be lost. My app - in this case - isn't so dependant on realtime accuracy. I'm just recording incoming sound. Lastly, the main PA guy asked me "What parameters are you passing to Pa_OpenStream()? Have you selected the pro-audio CoreAudio mode?" Does MBS do that? Garth Hjelte Sampler User _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list [email protected] https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
