我正在尝试从 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 的选项,可以通过其他应用程序以编程方式访问吗?