axmol/cocos/audio/apple
James Chen effb6f077a [mac, ios] 'ExtAudioFileRead' may return 0 frame while it doesn’t reach the end of very short audio file. (#17011)
* [mac, ios] Adds AudioDecoder::readFixedFrames. And uses readFixedFrames to simply code.

* [mac, ios] ‘ExtAudioFileRead’ may return 0 frame while it doesn’t reach the end of very short audio file.

* [mac, ios] Adds test case for small file test.

* [mac, ios] Adds small audio file.

* [mac, ios] Macro ‘BREAK_IF’ logic fix.

* [mac, ios] Returns false of AudioDecoder::open if total frames is 0.
2016-12-15 09:58:47 +08:00
..
AudioCache.h fixed #16938: Audio could not be played entirely on iOS/macOS. And refactored some code of decoding. (#16946) 2016-12-02 13:52:37 +08:00
AudioCache.mm [mac, ios] 'ExtAudioFileRead' may return 0 frame while it doesn’t reach the end of very short audio file. (#17011) 2016-12-15 09:58:47 +08:00
AudioDecoder.h [mac, ios] 'ExtAudioFileRead' may return 0 frame while it doesn’t reach the end of very short audio file. (#17011) 2016-12-15 09:58:47 +08:00
AudioDecoder.mm [mac, ios] 'ExtAudioFileRead' may return 0 frame while it doesn’t reach the end of very short audio file. (#17011) 2016-12-15 09:58:47 +08:00
AudioEngine-inl.h fixed #16938: Audio could not be played entirely on iOS/macOS. And refactored some code of decoding. (#16946) 2016-12-02 13:52:37 +08:00
AudioEngine-inl.mm fixed #16938: Audio could not be played entirely on iOS/macOS. And refactored some code of decoding. (#16946) 2016-12-02 13:52:37 +08:00
AudioMacros.h [mac, ios] 'ExtAudioFileRead' may return 0 frame while it doesn’t reach the end of very short audio file. (#17011) 2016-12-15 09:58:47 +08:00
AudioPlayer.h fixed #16938: Audio could not be played entirely on iOS/macOS. And refactored some code of decoding. (#16946) 2016-12-02 13:52:37 +08:00
AudioPlayer.mm [mac, ios] 'ExtAudioFileRead' may return 0 frame while it doesn’t reach the end of very short audio file. (#17011) 2016-12-15 09:58:47 +08:00