OS-X coreaudio resample crash

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

 



Hi Ming

I recompiled latest trunk and as it is per default with PortAudio and this gave me the the errors:
14:53:45.260  pjsua_media.c  Unable to open sound device: Invalid number of channels [status=469997]
14:53:45.260  pjsua_media.c  Error opening sound device: Invalid number of channels [status=469997]
on OSX. 

When I set in config_site.h
    #define PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO	0
    #define PJMEDIA_AUDIO_DEV_HAS_WMME		0
    #define PJMEDIA_AUDIO_DEV_HAS_COREAUDIO	1

then it works fine with OSX 10.6.6 on a Mac Mini (USB and internal sound device) but same software on a Mac Book Pro with 10.6.6 does not take the audio from the input, neither from internal mic nor from an USB device.

Same code on Windows works fine.

Regards
Michael.
--- On Thu, 1/20/11, Ming <ming at teluu.com> wrote:

> From: Ming <ming@xxxxxxxxx>
> Subject: Re: OS-X coreaudio resample crash
> To: "pjsip list" <pjsip at lists.pjsip.org>
> Date: Thursday, January 20, 2011, 3:36 AM
> Hi Michael,
> 
> I just committed the fix for the assertion problem in
> resampleProc
> (for reference, please see ticket #1192:
> http://trac.pjsip.org/repos/ticket/1192).
> 
> Thanks a lot for the report and your cooperation for the
> patch testing.
> 
> Best regards,
> Ming
> 
> 
> On Mon, Jan 17, 2011 at 12:51 AM, Michael <michael_zurich at yahoo.com>
> wrote:
> > Hi Benny
> > Hi all
> >
> > I just tried latest svn trunk 3404 on 2 different Mac
> with coreaudio enabled. On Mac mini it seams to work. On Mac
> book it crashes when connecting call to conference room.
> >
> > I have set the conference room to 48000Hz, Stereo and
> make or receive a G711 call with 8000 Hz, Mono.
> >
> > When adding the call to the room pjmedia crashes
> here:
> > Exception Type: ?EXC_CRASH (SIGABRT)
> > Exception Codes: 0x0000000000000000,
> 0x0000000000000000
> > Crashed Thread: ?8
> >
> > Application Specific Information:
> > Assertion failed: (*ioNumberDataPackets ==
> strm->resample_buf_count), function resampleProc, file
> ../src/pjmedia-audiodev/coreaudio_dev.c, line 658.
> >
> > Tell me if you need more information.
> > Regards
> > Michael
> >
> >
> >
> >
> > _______________________________________________
> > Visit our blog: http://blog.pjsip.org
> >
> > pjsip mailing list
> > pjsip at lists.pjsip.org
> > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
> >
> 
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
> 
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
> 


      



[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