Hi experts:
        I worked on an audiomanager project based on PulseAudio. Now I am 
blocked by a command_cork_playback_stream() issue.
        In our design, an application may be corked when connects to pulseaudio 
if its priority is low. I set a hook on PA_CORE_HOOK_SINK_INPUT_PUT and invoke 
pa_sink_input_cork(..., TRUE). Unfortunately it doesn't work. By GDB, I found 
application will call command_cork_playback_stream() which invokes 
pa_sink_input_cork(..., FALSE) several times, this make my hook is of no 
effect. I don't look into PA for ALSA plugin, anyone know why 
command_cork_playback_stream() need be called so frequently during app 
initialization?
        
_______________________________________________
pulseaudio-discuss mailing list
[email protected]
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss

Reply via email to