At 04:46 PM 4/24/2012, you wrote:

>> Will do. Although on Windows I get error -996 paInvalidDevice when I do 
>> OpenStream on it.

>I think I found the bug.
>You need to use const paFloat32 = 1 for the SampleFormat. 
>PortAudioStreamBufferedMBS class uses floats internally and converts 
>everything to floats.

I haven't tried this, but are you sure? How would your the class know what is 
being passed into it using AddAudio()? I could pass 16-bit, 24-bit, or 32-bit 
linear data into it.

I checked PortAudio.com, 
http://portaudio.com/docs/v19-doxydocs/structPaStreamParameters.html it says:

-PaSampleFormat PaStreamParameters::sampleFormat 
-The sample format of the buffer provided to the stream callback, 
a_ReadStream() or Pa_WriteStream(). It may be any of the formats described by 
the PaSampleFormat enumeration. 

>Also please set OutputParameters.SuggestedLatency to something better than 
>just zero. It works here with 0.2.  

OK. 

Garth Hjelte
Sampler User

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to