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
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
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
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
halx99
38564c696d
fix ci error for PLATFORM_TARGET_MAC
2020-02-07 16:51:57 +08:00
halx99
461c4d3ea2
Remove namespace experimental AudioDecoderEXT.h
2019-11-30 17:30:48 +08:00
halx99
44a8309b97
Optimize audio sources
2019-11-30 17:27:51 +08:00
halx99
35f2ec6897
update audio, deps-9, ci for windows
2019-11-30 16:20:25 +08:00
halx99
87e7d3b62a
fix compile issue
2019-11-30 14:32:18 +08:00
halx99
9bbc68cecd
Sync audio header files
2019-11-30 14:21:36 +08:00
HALX99
fafa3ab1ea
Merge pull request #14 from simdsoft/upto-deps-7
...
update to deps-7
2019-11-29 15:19:39 -08:00
halx99
9c0ef83757
optimize
2019-11-30 06:55:32 +08:00
halx99
9807664441
fix indent
2019-11-30 06:17:33 +08:00
halx99
121e09ee0d
ogg for ios
2019-11-30 06:11:17 +08:00
halx99
bf807f8969
fix prid
2019-11-26 10:21:21 +08:00
HALX99
8546d4d7e1
Update AudioEngineImpl.mm
2019-11-26 09:54:25 +08:00
HALX99
2f2633ec91
fix typo, GLenum to ALenum
2019-11-26 03:07:55 +08:00
halx99
7efc643e54
fix ios compile issue, merge header AudioCache.h
2019-11-26 02:33:54 +08:00
HALX99
9aeb04de4b
fix CMakeLists.txt for apple
2019-11-25 20:55:41 +08:00
halx99
1bcac58aad
fix AudioInfo construct.
2019-11-25 17:21:07 +08:00
halx99
c8f85a4a95
Refactor AudioEngine, fix compile issue.
2019-11-24 15:07:48 +08:00
halx99
a759332591
Refactor AudioEngine implementation, use OpenAL for all platforms.
2019-11-24 14:54:45 +08:00
codetypes
9b8a72a843
fix AudioEngine maybe crash on android ( #20361 )
...
* fix AudioEngine maybe crash on android
I receive many crash about std::base_string in bugly(tencent) crash report, i can't prove those crash is relate with this, but when after fix, i never receive again. so i think there maybe some situation will cause crash.
* type of 'filePath' change to std::string
2019-11-23 10:00:16 +08:00
minggo
6b1e55f419
Remove experimental namespace ( #20229 )
2019-10-23 14:58:31 +08:00
coulsonwang
c7020fbb5f
fix C4244 warning ( #20173 )
2019-10-09 17:50:32 +08:00
minggo
0d121d7913
remove void in function declaration ( #19954 )
2019-07-22 09:38:46 +08:00