一个奇怪的问题,音频播放在N95中CMdaAudioOutputStream回调函数MaoscOpenComplete不被调用
9527 2008-09-26 06:27:29 子腾兄,我在使用MMF编写音频播放时遇到一个奇怪的问题,在模拟器中播放正常,但是在N95真机中播放无声,经过跟踪发现是由于回调函数不被调用,在google找到了一些遇到同样问题的朋友,都没有合适的答案,在nokia的wiki上面提到过一点,就是:
MaoscOpenComplete() never called when reopening the stream
On some 2nd edition devices (have not tested on 3rd edition devices) the MaoscOpenComplete() callback function is not called if we reopen the stream, just like when we call the Open() function more than once. To overcome the problem we must reconstruct the stream each time before opening it:
我程序中不存在reopen的问题,也搜索到了一个你写的uiq下面的播放mp3程序,应该说,没有发现什么需要注意的地方。
下面是我搜索到的相关帖子,都没有答案:
1)nokia的wiki:http://wiki.forum.nokia.com/index.php/Audiostream_playback#MaoscOpenComplete.28.29_never_called_when_reopening_the_stream
2)http://discussion.forum.nokia.com/forum/showthread.php?t=78884
3)http://discussion.forum.nokia.com/forum/showthread.php?t=12898
4)http://discussion.forum.nokia.com/forum/showthread.php?t=20397
非常之奇怪,望赐教