why command_cork_playback_stream() will be invoked many times?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?
	



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux