CPU is up to 10% after pjsua_set_snd_dev()

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

 



I'm calling pjsua_set_snd_dev() to choose a sound device. For example,
user plugged-in a headset, selected it, shut down the app and started
it again with the headset plugged-in. I'd like the app to use this
headset for sound IO, that's why I call pjsua_set_snd_dev() with
appropriate device IDs at the beginning.

I don't think snd_auto_close_time=0 could help me in that case. But I
do need snd_auto_close_time=0 to auto-close the sound device when
idle. The problem was that a sound device did open but did not
auto-close after pjsua_set_snd_dev() even if pjsua had been
initialized with snd_auto_close_time=0.

Best regards,
Alexei

On Thu, Nov 6, 2008 at 9:33 PM, samuel.vinson <samuelv at laposte.net> wrote:
>
> If you use snd_auto_close_time=0
> You don't need to call pjsua_set_snd_dev



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux