summaryrefslogtreecommitdiff
path: root/pjmedia/src/pjmedia-audiodev
AgeCommit message (Collapse)Author
2013-02-27Re #1559: Backported to 1.x, except r4312,r4330Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@4387 74dad513-b988-da41-8d7b-12977e46ad98
2012-05-17Fix #1510: sharing and assertion problem with native ALSA device.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@4125 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-24Fixed #1494: Use EC options to determine whether to use device/software ECLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@4079 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-11Misc (#1252): Wrong APS/VAS frame header generation for AMR silence/NO_DATA ↵Nanang Izzuddin
frame caused by using wrong 'OR' operator, was logical 'OR' instead of bitwise (thanks Johan Lantz for the report). git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3809 74dad513-b988-da41-8d7b-12977e46ad98
2011-09-09More Symbian MDA fixes (re #1365):Nanang Izzuddin
- Added config setting to control sync/async start. Due to problem with async start: any volume query performed immediately after starting the device will always return zero. - Fixed get_default_param() to set the flags to zero (was copied from caps, i.e: input/output volume flags without setting the value). - Fixed stream_get_param() to also check the input and output volume level. git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3748 74dad513-b988-da41-8d7b-12977e46ad98
2011-09-08Fixed #1365: Applied volume setting (input & output) when the MDA audio ↵Nanang Izzuddin
device is started. git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3744 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-21Fixed #1335Liong Sauw Ming
Fixes assertion when interruptionListener is called from an unregistered thread on iPhone OS. git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3674 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-07Misc (re #1252): fixed potential crash if pjmedia_aud_dev_cap_name() is ↵Benny Prijono
called with invalid capability git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3611 74dad513-b988-da41-8d7b-12977e46ad98
2011-06-22Fixed #1315: fixed VAS to apply the output volume setting, set in creation ↵Nanang Izzuddin
param, after the stream is started. git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3595 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-06Fixed #1251: Calling pjmedia_aud_subsys_shutdown() more than once may cause ↵Benny Prijono
crash (thanks Bill Gardner for the patch) git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3559 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-05Re #1250: Updated the year in all copyright texts with 2011!Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3553 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-16Fix #1212:Nanang Izzuddin
- Updated pj_register_strerror() to just return PJ_SUCCESS when the same range and handler is being re-registered. - Removed the usage of static flag of error string handler registration in some modules, which prevent the re-registration of the handler, e.g: in restarting pjsua, as such flags never got reseted. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3455 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-16Re #1175 (Misc): coreaudio fixes:Liong Sauw Ming
* Setting audio session category is now during stream creation instead of in the factory initialization. * Reset the audio session category after an interruption. * By default, audio route change property listener is disabled as it is no longer required. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3454 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-15Re #1204:Liong Sauw Ming
* Update audio device's list after refreshing the device. * Fixed WMME macro. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3440 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-11Fixed #1204: Support for refreshing audio device list.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3438 74dad513-b988-da41-8d7b-12977e46ad98
2011-02-28Re #1174 (coreaudio_dev work): minor changes to replace "Error" message with ↵Benny Prijono
"Warning" for non-fatal errors git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3422 74dad513-b988-da41-8d7b-12977e46ad98
2011-02-15Re #1174: fixed crash when pjsua is restarted, causing inClientData to be ↵Liong Sauw Ming
invalid since AudioSessionInitialize can only be called once. Re #1175: cleaning up interruption and audio route handling in coreaudio for iOS. In the case of interruption, there is no need to reinstantiate the audio unit (a simple restart will do), while for audio route change, nothing needs to be done. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3413 74dad513-b988-da41-8d7b-12977e46ad98
2011-02-10Re #1175: Modified default core audio unit used on iOS from VPIO to ↵Liong Sauw Ming
RemoteIO. To use VPIO, application needs to specify a nonzero value for the PJMEDIA_AUD_DEV_CAP_EC capability. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3411 74dad513-b988-da41-8d7b-12977e46ad98
2011-01-31Re #1192: Fixes stereo support.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3410 74dad513-b988-da41-8d7b-12977e46ad98
2011-01-20Re #3398: Fixes assertion in the resample procedure and callback.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3406 74dad513-b988-da41-8d7b-12977e46ad98
2011-01-13Fix #1195: assertion during thread registration in coreaudio and portaudio's ↵Liong Sauw Ming
input/output callbacks on Mac OS X and #1196: using system's default audio input/output device instead of first available device. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3404 74dad513-b988-da41-8d7b-12977e46ad98
2011-01-04As compared to iOS SDK 3.x, in iOS SDK 4.x, __IPHONE_OS_VERSION_MIN_REQUIRED ↵Liong Sauw Ming
is defined only when -miphoneos-version-min is used (see the SDK's AvailabilityInternal.h). This causes coreaudio_dev to be compiled using RemoteIO (instead of VPIO) and without Bluetooth support. This revision fixes #1194. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3403 74dad513-b988-da41-8d7b-12977e46ad98
2010-12-19Re #1174:Liong Sauw Ming
Fixed AudioSession services error handling in factory initialization. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3400 74dad513-b988-da41-8d7b-12977e46ad98
2010-12-17Fixed #1174, #1191, #1192Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3398 74dad513-b988-da41-8d7b-12977e46ad98
2010-12-05Misc (re #1151): Fixed crash in coreaudio_dev when there is no call during ↵Liong Sauw Ming
an interruption. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3386 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-10Misc (re #1134): Fixed memory leak after getting audio route capability in ↵Liong Sauw Ming
coreaudio_dev git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3335 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-11Misc (re #1068): fixed various compilation warnings with Visual Studio 6 and ↵Benny Prijono
2005 git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3262 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-11Fix #1093:Nanang Izzuddin
- Fixed memory leak of CVoIPFormatIntfc instances in S60 VAS. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3201 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-17Merge #1051 into the main trunk.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3174 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-05Implemented ticket #1065: audiodev register/unregister featureLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3159 74dad513-b988-da41-8d7b-12977e46ad98
2010-04-12Ticket #1055: Fixed possibility of APS server panic in codec detection on ↵Nanang Izzuddin
few devices, e.g:N95, by adding short delay before closing APS session. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3136 74dad513-b988-da41-8d7b-12977e46ad98
2010-04-07More ticket #1055:Nanang Izzuddin
- Added APS codecs detection. - Minor updates in symsndtest: - added log of supported extended audio formats. - changed libraries order in symsndtest.mmp, this fixes linking error on S60 3rd MR SDK. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3135 74dad513-b988-da41-8d7b-12977e46ad98
2010-04-07Ticket #1055: Fixed infinite loop in stopping APS after initialization failed.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3134 74dad513-b988-da41-8d7b-12977e46ad98
2010-03-04Ticket #1008:Nanang Izzuddin
- Applied VAS AMR playback solution from Forum Nokia. - Fixed AMR playback for VAS and APS in composing DTX/NO_DATA (frame type 15) frame header. - Modified symbsndtest test application to support non-PCM audio. - Minor check fix in pjmedia_codec_mgr_destroy(), caught assertion when VAS factory init failed and media endpoint tried to destroy codec manager (codec mgr hasn't been init-ed). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3116 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-19Implemented ticket #1038: null audio deviceLiong Sauw Ming
* pjmedia-audiodev: * implement null audio device * build: * added null audio support on MMP, and Makefile (TODO: vs6 and vs2005) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3102 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-27Initial implementation of ticket #1016: Native Linux ALSA audio device ↵Benny Prijono
backend implementation git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3079 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-27Ticket #1028: Recommit r3074 with updated codec.h.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3078 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-26Undo r3074 for ticket #1028 as it is missing updated codec.h hence causing ↵Benny Prijono
build errors (thanks Michael Bradley Jr for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3075 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-26Ticket #1028:Nanang Izzuddin
- Added new API pjmedia_codec_mgr_set_default_param() to set/update default codec parameter and implemented pjsua_codec_set_param() based on it. - Added mutex in codec manager to protect states manipulations. - Modified API pjmedia_codec_mgr_init() to add pool factory param. - Added new API pjmedia_codec_mgr_destroy(). - Updated passthrough codec AMR to regard peer's mode-set setting. - Fixed VAS audio device to apply AMR encoding bitrate setting. - Fixed IPP codec codec_open() to update AMR bitrate info (for stream) when AMR encoding bitrate is not using the default, e.g: requested by peer via format param 'mode-set' in SDP. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3074 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-13Ticket #1025: Support for using different PortAudio installation/pathBenny Prijono
- added --with-pa-path configure option - remove the use of PaUtil_SetDebugPrintFunction() since this is not always available across all PA versions (?) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3058 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-24Ticket #990:Nanang Izzuddin
- Updated VAS stream start to be synchronous. - Fixed VAS formats enumeration in factory_init() to delete VAS factory instance. - Minor fix: compile warning on 5th edition: CPjAudioEngine has virtual member but no virtual destructor. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3025 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-20Ticket #978: Fixed noise in APS G.729 playback/decoding on some devices by ↵Nanang Izzuddin
adopting G.729 SID/DTX frame handling from VAS implementation. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2958 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-13Ticket #968: Fixed WMME factory initialization to just return PJ_SUCCESS ↵Nanang Izzuddin
when no audio device is installed. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2941 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-05Misc fix (#951): WMME dev should zero-fill WAVEFORMATEX as much as ↵Nanang Izzuddin
WAVEFORMATEX struct size, instead of just PCMWAVEFORMAT size, as it potentially leads to WAVERR_BADFORMAT when it is used in opening audio device (thanks Johan Lantz for the report). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2925 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-18Misc (#915): added WAVE_FORMAT_DIRECT flag when opening waveIn/Out in WMME ↵Benny Prijono
audio dev, hopefully it can reduce latency git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2841 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-14Ticket #909:Nanang Izzuddin
- Added support for Nokia VAS 2.0. - Fixed wrong value assigned to last downstream state var in downstream callback. - Minor fix in config_site_sample.h related to VAS Direct setting. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2833 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-30Ticket #909:Nanang Izzuddin
- Added new audio device VAS for Symbian platform. - Updated symsndtest to use the latest audio device framework. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2821 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-19Misc (#838): don't print error if MDA MaiscRecordComplete() or ↵Benny Prijono
MaoscPlayComplete() returns KErrCancel (-3) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2777 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-03More ticket #876:Benny Prijono
- fixed crash when null-audio is used with switchboard git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2742 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-03Ticket #853: ./configure with --disable-sound argument does not workBenny Prijono
- when --disable-sound is specified, no sound factory will be created - modified audiodev.c to not return error when there's no device found - compilation error in pa_dev.c when it's disabled and include path is not set git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2740 74dad513-b988-da41-8d7b-12977e46ad98