How set callback from different process

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

 



Hi,

I'm trying to read data sent from callback

int callBack(unsigned char* but, short int length)  {
pa_stream_write...
}

I have created module_hal_pcm_stream and will register above api to Hal
module which after after decoding will call the above callback function.

I'm facing problem
1.cant receive call back pulseaudio completely blocks
Cpu utilization goes to 100%

When I run using simple api and run in separate process registering to call
back able to receive callback and push pcm to pulseaudio.

Since I want to use as loadable and unloadable module. I want to know is
there any way to resolve such issues.

Your reply much awaited.

Thank you in advance.

Regards
Deepak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20170228/0f0dae27/attachment.html>


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

  Powered by Linux