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

silverlight - Applying a style to ItemContainerStyle in C# -

c# - NullReferenceException in MySqlClient.NativeDriver -

php - How can I merge Nodes & Webform Submissions into instances of one general Content Type in Drupal 6? -