Plugging/unplugging headphones on Mac

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

 



Hi!

I'm testing pjsua from pjproject-0.8.0 on iMac and MacBook Pro both  
running Mac OS 10.5. When headphones are being plugged or unplugged,  
I'm getting this:

Assertion failed: (!"Calling pjlib from unknown/external thread. You  
must " "register external threads with pj_thread_register() " "before  
calling any pjlib functions."), function pj_thread_this, file ../src/ 
pj/os_core_unix.c, line 519.

The question is should I read more and learn things about threads :)  
and make a step down from pjsua api to pjlib api, or this is a  
PortAudio issue?

The most important thing for me is make my program survive when  
headphones jack is being plugged. But switching sound to them after  
plugging would be also great.

-- 
Alexei Kuznetsov






[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