Hi guys:
I'm trying to do a simple application that plays a sound throw the receiver my actual code to play the sound it's this one:
Code:
"MsoundPlayer =[[AVAudioPlayer alloc] initWithContentsOfURL:[NSURL fileURLWithPath:Mpath] error:NULL];
[MsoundPlayer prepareToPlay];
MsoundPlayer.volume = 5.0;
MsoundPlayer.numberOfLoops = -1;
[AsoundPlayer play];"
But the as obvious the sound comes from the speaker how can i outrun this and get the sound to come from the receiver?
I saw that's possible because of this
app
Thank in advance