How is a message handled by a filter sink and its master sink?

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

 



Could anyone introduce how a message is handled by a filter sink and its master sink?

Take echo cancellation as example, I found

1.       The AEC filter sink's message handler is called in its master ALSA sink's IO thread.

2.       It seems that the AEC virtual sink share its master's message queue, right?
Because In module-echo-cancel's pa__init(), I found the following code:
pa_sink_set_asyncmsgq(u->sink, sink_master->asyncmsgq);

Then how a message to filter/master sink is dispatched in one IO thread? Can a message is processed by the filter and then by the master?

Thanks & Best Regards
Amanda


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20110727/b68881a9/attachment.htm>


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

  Powered by Linux