Commit Graph

13692 Commits

Author SHA1 Message Date
halx99 fd8f6a01d5 fix #129 2020-08-01 11:23:13 +08:00
halx99 7ecb85019a fix #127 2020-07-31 17:23:03 +08:00
halx99 82314c2972 Add alconfig.h to choose whether use openal-soft 2020-07-31 17:03:58 +08:00
halx99 2163f9c440 Add missing detect macro CC_USE_ALSOFT_ON_APPLE on apple platform 2020-07-31 16:36:45 +08:00
halx99 95cae56768 Update comment [skip appveyor] [skip travis] 2020-07-31 15:49:50 +08:00
halx99 786eaafe56 Tidy audio source, unify headers: AudioEngineImpl.h AudioPlayer.h 2020-07-31 14:32:08 +08:00
halx99 ccc5cde3d9 Refine message output [skip travis] [skip appveyor] 2020-07-31 11:35:52 +08:00
halx99 005ec45f0a fix option order 2020-07-31 11:22:42 +08:00
halx99 589225f2e7 [Audio] Use apple system decoder for non .ogg audio files 2020-07-31 00:31:39 +08:00
halx99 594767290d 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 0d8457e9af 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 e250fe3707 Fix dead-lock when play/stopAll immidiately 2020-07-30 17:26:54 +08:00
halx99 dda5628876 Sync missing fixs from v3, see: https://github.com/cocos2d/cocos2d-x/pull/19240 2020-07-30 17:07:38 +08:00
halx99 58c4fb32c1 Sync fix from v3, see also: https://github.com/cocos2d/cocos2d-x/pull/20509 2020-07-30 10:59:50 +08:00
halx99 a735abaf65 Take care _programState use 2020-07-21 23:11:03 +08:00
halx99 7322e690eb fix compile issue on iOS 2020-07-21 23:05:25 +08:00
halx99 41ad75bdb3 fix lua link error 2020-07-20 17:00:48 +08:00
HALX99 5686e15746
Merge pull request #109 from halx99/win-utf8
Improve utf-8 path on win32, explicit call wide version of system API.
2020-07-10 16:56:18 +08:00
HALX99 db0ed5bd59
Merge pull request #111 from halx99/fix-type-error
fix type error, well xxhash never generate 0 for validate draw command.
2020-07-10 16:42:57 +08:00
halx99 d20d3fd241 fix type error, well xxhash never generate 0 for validate draw command. 2020-07-10 15:55:31 +08:00
halx99 7b82d47fcf Correct feature test when use angle backend 2020-07-10 15:16:44 +08:00
halx99 c9e1df125a Improve utf-8 path on win32, explicit call wide version of system API. 2020-07-10 15:14:16 +08:00
halx99 e5815f9cd8 Adapte glfw-3.4 2020-07-03 11:08:39 +08:00
halx99 bfd1709ab7 Optimzie writeStringToFile 2020-06-14 15:54:55 +08:00
halx99 208bc9fe6f ios don't support thread local storage 2020-06-14 15:52:15 +08:00
halx99 786ad14b68 fix ios compile error 2020-06-14 13:58:29 +08:00
halx99 93a3452261 finish angle dependencies auto copy for win32, make flatbuffers dep header only 2020-06-14 12:50:20 +08:00
halx99 3d3fea28c6 Support use google angle support on windows. 2020-06-12 12:42:58 +08:00
halx99 cd656f8b8b fix label not rendering 2020-06-12 11:34:02 +08:00
halx99 9da96e3e1a Sync from: https://github.com/cocos2d/cocos2d-x/pull/20531 2020-06-12 11:24:10 +08:00
halx99 484e4be579 [Audio] Improve mutex use 2020-06-04 23:11:24 +08:00
HALX99 2d5644be70
Remove unused macro 2020-06-04 12:55:22 +08:00
halx99 2cbb902813 [WAV] Finished MSADPCM & IMA4 compress format support. 2020-06-04 12:26:25 +08:00
halx99 24a1d685b9 Provide framesToBytes instead getBytesPerFrame 2020-06-03 23:09:45 +08:00
halx99 0cf706c2d9 fix enum. 2020-06-02 12:18:12 +08:00
halx99 d6da5a4d32 Use store bitsPerFrame as-is instead bytesPerFrame. 2020-06-02 12:09:51 +08:00
HALX99 a434e0c37d
Optimize, avoid include self.
Even through all compiler can handle it, we should not do that include, thanks: https://github.com/cocos2d/cocos2d-x/pull/20525
2020-05-20 08:56:12 +08:00
halx99 d80bb6ecf5 Update copyright 2020-05-19 12:52:34 +08:00
halx99 1e130c4533 Merge branch 'master' of https://github.com/halx99/engine-x 2020-05-19 12:50:25 +08:00
HALX99 b65c4ddadc
Fix ci compile issue. 2020-05-19 12:49:34 +08:00
halx99 8cb24b066f 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 e9d974f02b Remove win32 spec include. 2020-05-19 12:13:34 +08:00
halx99 c5492969a2 Fix wav decoder when Format chunck have EXT info 2020-05-19 11:42:54 +08:00
halx99 94c6e5a47b Apple platform no alext.h 2020-05-18 18:36:21 +08:00
halx99 df70c7e691 Add all audio source format supported by OpenAL 2020-05-18 17:30:42 +08:00
halx99 5a165dd270 Improve bit depth support, both 8bit, 16bit, 32bit FLT, 64bit DBL 2020-05-18 14:56:13 +08:00
HALX99 34e268ad56
Fix compile error 2020-05-18 10:13:57 +08:00
HALX99 74f03ad435
fix missing include header file 2020-05-18 09:21:52 +08:00
halx99 5a0bdc1e81 fix #89 2020-05-17 17:15:10 +08:00
halx99 6987372798 Optimize wav decoder code 2020-05-17 16:58:54 +08:00