Hello stack overflow users,
i want to change pan position using UISlided in my IOS application.
i am upgrading whole app which is currently using AudioStreamer of Matt Gallagher
To change the pan value in in AudioStreamer used below code.
AudioQueueRef audioQueue; // defined in AudioStreamer.h file
- (void)changePan:(float)newPan { OSStatus panErr = AudioQueueSetParameter( audioQueue, kAudioQueueParam_Pan, newPan); NSLog(@" setting pan: %ld", panErr); if( panErr ) NSLog(@"Error setting pan: %ld", panErr); }
i am replacing AudioStreamer with StreamingKit which use AudioUnit
if i will get some help to make this thing done using StreamingKit or AudioUnit i will appreciate that.
P.S Let me know if anyone needs more info.
Thanks