我使用AVAudioPlayer播放.caf文件.我的问题是:它不够响亮我的目的.由于iPhone的振铃声响亮得多,我想知道如何归档这个音量.我已经尝试过操作.caf文件,但没有取得真正的成功.有任何想法吗?
我到目前为止使用的代码:
AVAudioPlayer *newPlayer = [[AVAudioPlayer alloc] initWithContentsOfURL: url error: nil];
self.appSoundPlayer = newPlayer;
[newPlayer release];
[appSoundPlayer prepareToPlay];
[appSoundPlayer setVolume: 0.8];
[appSoundPlayer setDelegate: self];
[appSoundPlayer play];
Run Code Online (Sandbox Code Playgroud)
编辑:
[appSoundPlayer setVolume: 1.0];
Run Code Online (Sandbox Code Playgroud)
Thx Martin
我试图找到一种方法来获取进程的已使用文件,以显示此进程当前打开/使用的文件.
我找到了Listing Used Files.
是否有链接在C#中获取此信息?