我试图从iPod播放音乐,但效果很好。问题是,如何在MONO而不是Stereo中播放?
我唯一的代码是标准
- (IBAction)playsong:(id)sender
{
MPMediaPickerController *c = [[MPMediaPickerController alloc]init];
[c setDelegate:self];
[self presentModalViewController:c animated:YES];
[c autorelease];
}
-(void)mediaPicker:(MPMediaPickerController *)mediaPicker didPickMediaItems:(MPMediaItemCollection *)mediaItemCollection
{
if(mediaItemCollection)
{
[[MPMusicPlayerController iPodMusicPlayer] setQueueWithItemCollection: mediaItemCollection];
[[MPMusicPlayerController iPodMusicPlayer] play];
}
[mediaPicker dismissModalViewControllerAnimated:YES];
}
在iOS的设置应用中,有一个选项可以将声音设置为MONO,是否可以通过其他应用程序以编程方式进行访问?