iphone - using remoteio together with AudioServicesPlaySystemSound -


we trying use remoteio audio recording in conjunction audioservicesplaysystemsound function audio playback. problem whenever remoteio running playback volume drops significantly. seems if final mixing takes place behind scene not no how change behavior.

the implementation of remoteio based on fallowing blog http://atastypixel.com/blog/using-remoteio-audio-unit/

for audio playback use code one

nsstring *sndpath = [[nsbundle mainbundle] pathforresource:@"test" oftype:@"wav" indirectory:@"/"]; cfurlref sndurl = (cfurlref)[[nsurl alloc] initfileurlwithpath:sndpath]; systemsoundid soundid;  int e = audioservicescreatesystemsoundid(sndurl, &soundid); if (e) {   nslog(@"couldn't create sound");   exit(0); } audioservicesplaysystemsound(soundid); 

thanks lot help

you may have disable voice processing agc.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -