Commit Graph

102 Commits

Author SHA1 Message Date
halx99 bef47490e0 Refine message output [skip travis] [skip appveyor] 2020-07-31 11:35:52 +08:00
halx99 14e090f9bf fix option order 2020-07-31 11:22:42 +08:00
halx99 77f9757d4d [Audio] Use apple system decoder for non .ogg audio files 2020-07-31 00:31:39 +08:00
halx99 9345f18159 Add CMAKE option CC_USE_ALSOFT_ON_APPLE to use kcat openal-soft on apple platform, by default currently OFF 2020-07-31 00:06:59 +08:00
halx99 3608150968 Use std::vector<char> to manage pcmData buffer on AudioCache, remove unused source from AudioCache.mm 2020-07-30 18:09:50 +08:00
halx99 72dcc33747 Fix dead-lock when play/stopAll immidiately 2020-07-30 17:26:54 +08:00
halx99 a2800e0144 Sync missing fixs from v3, see: https://github.com/cocos2d/cocos2d-x/pull/19240 2020-07-30 17:07:38 +08:00
halx99 9b57ed3781 [Audio] Improve mutex use 2020-06-04 23:11:24 +08:00
halx99 3a75843131 Remove unused macro 2020-06-04 12:55:22 +08:00
halx99 56407a9efe [WAV] Finished MSADPCM & IMA4 compress format support. 2020-06-04 12:26:25 +08:00
halx99 bbd7b82bc7 Provide framesToBytes instead getBytesPerFrame 2020-06-03 23:09:45 +08:00
halx99 552ee8a9a6 fix enum. 2020-06-02 12:18:12 +08:00
halx99 c79bc38dca Use store bitsPerFrame as-is instead bytesPerFrame. 2020-06-02 12:09:51 +08:00
halx99 3e3097202a Merge: 5d29919586 7676fe2c6c
Merge pull request #95 from halx99/master

Fix play some .wav file have tail noise
2020-05-19 14:18:39 +08:00
halx99 bc777089fe Merge: 661d471b37 b65c4ddadc
Merge pull request #93 from halx99/master

Fix wav decoder when Format chunk have EXT info
2020-05-19 13:39:07 +08:00
halx99 d8a56aab52 Update copyright 2020-05-19 12:52:34 +08:00
halx99 194ff5f0d3 Merge: 8cb24b066f b65c4ddadc
Merge branch 'master' of https://github.com/halx99/engine-x
2020-05-19 12:50:25 +08:00
halx99 8cb5ebfa86 Fix ci compile issue. 2020-05-19 12:49:34 +08:00
halx99 590185b9f8 Fix play some .wav file have tail noise, at non-apple platforms we use mpg123,ogg,wav decoder, so don't need workaround to adjust tail frame. 2020-05-19 12:19:29 +08:00
halx99 e22155ea0a Remove win32 spec include. 2020-05-19 12:13:34 +08:00
halx99 82f53e2fed Fix wav decoder when Format chunck have EXT info 2020-05-19 11:42:54 +08:00
halx99 a6c342231b Apple platform no alext.h 2020-05-18 18:36:21 +08:00
halx99 e2ceefd3aa Add all audio source format supported by OpenAL 2020-05-18 17:30:42 +08:00
halx99 c37bc0ac8e Improve bit depth support, both 8bit, 16bit, 32bit FLT, 64bit DBL 2020-05-18 14:56:13 +08:00
halx99 fd6868da79 fix #89 2020-05-17 17:15:10 +08:00
halx99 4db4562d27 Optimize wav decoder code 2020-05-17 16:58:54 +08:00
weiwest a998fe8c14 Merge: 2a02db76d8 2d3e162e21
Merge remote-tracking branch 'upstream/master'
2020-02-12 16:58:47 +08:00
weiwest 33b9e8330b add astc soft decode support 2020-02-11 23:54:17 +08:00
halx99 cae5a84c1b fix ci error for PLATFORM_TARGET_MAC 2020-02-07 16:51:57 +08:00
halx99 3c409df074 Remove namespace experimental AudioDecoderEXT.h 2019-11-30 17:30:48 +08:00
halx99 ee4ec1d8c3 Optimize audio sources 2019-11-30 17:27:51 +08:00
halx99 0538506b05 update audio, deps-9, ci for windows 2019-11-30 16:20:25 +08:00
halx99 dbf2cbfd4d fix compile issue 2019-11-30 14:32:18 +08:00
halx99 1c34056ec4 Sync audio header files 2019-11-30 14:21:36 +08:00
halx99 021a2e5733 Merge: 8ad51f748d 5a2e9e4930
Merge pull request #14 from simdsoft/upto-deps-7

update to deps-7
2019-11-29 15:19:39 -08:00
halx99 9b298cde3c optimize 2019-11-30 06:55:32 +08:00
halx99 51383683ce Merge: 9807664441 4e671a97b9
Merge branch 'master' of https://github.com/simdsoft/engine-v5
2019-11-30 06:48:25 +08:00
halx99 7af7b6494c Update config.json 2019-11-30 06:19:15 +08:00
halx99 45dbdc8c7d fix indent 2019-11-30 06:17:33 +08:00
halx99 17ffccfdf4 ogg for ios 2019-11-30 06:11:17 +08:00
halx99 dd0669b99b Merge: 4bd8c03dba 08b8f087c2
Merge pull request #7 from simdsoft/fix-ud

Remove tinyxml2, sync ios & android platform.
2019-11-25 23:59:14 -08:00
halx99 dad6499592 Remove tinyxml2, sync ios & android platform. 2019-11-26 12:11:56 +08:00
halx99 15e690ec7e fix prid 2019-11-26 10:21:21 +08:00
halx99 0e94bc8139 Update AudioEngineImpl.mm 2019-11-26 09:54:25 +08:00
halx99 8e3ecda6f3 fix typo, GLenum to ALenum 2019-11-26 03:07:55 +08:00
halx99 4457c26a7e fix ios compile issue, merge header AudioCache.h 2019-11-26 02:33:54 +08:00
halx99 fa1b56e251 fix CMakeLists.txt for apple 2019-11-25 20:55:41 +08:00
halx99 d1982f7c00 fix AudioInfo construct. 2019-11-25 17:21:07 +08:00
halx99 dc5d2230c0 Refactor AudioEngine, fix compile issue. 2019-11-24 15:07:48 +08:00
halx99 f176bb0803 Refactor AudioEngine implementation, use OpenAL for all platforms. 2019-11-24 14:54:45 +08:00
halx99 3bb4edfbf9 Merge: 179ec6ed67 e9305431da
Merge pull request #13 from cocos2d/v4

sync V4
2019-11-23 20:20:02 -08:00
halx99 8df3d5e274 Init Commit 2019-11-23 20:27:39 +08:00