Hi , everyone 

I am new to audio programing(as well pulseaudio). I have to add pulseaudio 
support in an application already working with ALSA and OSS. the designe of my 
application is such that I have to read 320 samples in read function each time. 
stream attributes are 16bit , 16khz , and 2 channels. So I need to read 1280 
bytes in pa_stream_peek. 

But I am unable to read 320 samples each time. some time more , some time less 
,and some time 0. How can I set buffer attributes to force pa_stream_read to 
read 320 samples each time.

Anyhelp would be grately appreciated.

Thanks
_______________________________________________
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss

Reply via email to