Audio Input Selection

  Selecting Active Microphone Good resources https://developer.apple.com/library/ios/qa/qa1799/_index.html   Using Bluetooth Microphone For Video Recording It looks like this is still not possible even with the changes for iOS7 (we could be mistaken but we couldn't find a way to acheive this)    

Read More

Read System Volume Setting

Reading the current system audio volume MPMusicPlayerController *iPod = [MPMusicPlayerController iPodMusicPlayer]; float volumeLevel = iPod.volume; NSLog(@”Volume: %f”, volumeLevel); You need to import the MediaPlayer framework and use: #import <MediaPlayer/MediaPlayer.h> Other resources http://stackoverflow.com/questions/7255006/get-system-volume-ios

Read More

Playing Audio

In #ViewController.h #import <UIKit/UIKit.h> #import <AVFoundation/AVFoundation.h> @interface #ViewController_iPhone : UIViewController <AVAudioPlayerDelegate> { AVAudioPlayer *audioPlayer; Play File //————————— //—– PLAY AUDIO FILE —– //————————— if (audioPlayer) [audioPlayer release]; NSError *error; NSString *path; NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); path = [[paths objectAtIndex:0] stringByAppendingPathComponent:@”MediaFiles”]; path = [path stringByAppendingPathComponent:@”MyFile.wav”]; audioPlayer = [[AVAudioPlayer alloc] initWithContentsOfURL:[NSURL URLWithString:path] error:&error]; audioPlayer.delegate = […]

Read More