[alsa-devel] ALSA calls don't work within Mozilla plug-ins

Olivier Guillion - Myriad olivier at myriad-online.com
Tue Aug 23 15:09:27 CEST 2011


Hi again,

I investigated a bit further, and experienced a strange behaviour on other 
function calls, that could be a clue to understand what happens.

When trying to use the default PCM output, functions like 
snd_pcm_hw_params_get_buffer_size don't work as expected when called from 
within the Mozilla plug-in.

For instance:

val=12345;
err=snd_pcm_hw_params_get_buffer_time(hwparams,&val,NULL);

should return: err=0 , val=time previously set



More information about the Alsa-devel mailing list