halx99
b999d86597
Improve win dll support
2020-10-06 16:46:38 +08:00
halx99
cca0739793
Refactor pixel format manipulate ( #217 )
...
* PixelFormat use table
* Correct PixelFormat name to match 'GL_LUMINANCE'
* Up
* fix cube update texture enum
* linux build
* Refine ci
* fix linux build
* Remove unused function, match mtl framebuffer pixel format
* readPixels always RGBA format
* fix ci for linux
* fix linux build
* Remove unused functions
* fix travis
* fix android ci
* Update config.json
* linux glad
* Update CCGLViewImpl-desktop.cpp
* fix linux build
* Fix linux build
* Link issue [skip appveyor][skip travis]
* Update CMakeLists.txt
* Refine GL enums use
* Update test case name [skip appveyor][skip travis]
* fix linux link issue
* for mtl
* fix ci
* Tidy pixelformat enums
* fix ci
* fix rgba8 to abgr4 error
* fix ci
* fix ci for GLES
* Fix linux build, require glibc-2.27+
* Use properly dist for travis [skip appveyor]
* fix linux build [skip appveyor]
* Update install-deps-linux.sh
* Remove unused members for pixel block info, update external to v73
* Sync from compile linux warnings
* Remove unused check, and PixelFormat::A8 is ordinary format, not compressed format
* metal doesn't support rgb8 (#3 )
* Update CCTexture2D.cpp
* Refine code
* Pixel Format Descriptor Table
* fix ci
* BGR5A1
* Simplfy texture format convert function name
* Update
* rgba4 match mtl render format
* Add note about RGBA4
* Remove unused function
* fix osx
* Already converted at texture2d
* Clearly comment
* fixup
2020-09-25 11:07:56 +08:00
halx99
54f1fc26d6
fix mac compile error
2020-09-05 22:33:18 +08:00
halx99
ea1cb45ba3
Refine code style
2020-08-27 10:19:21 +08:00
halx99
6ac06d8571
fix ci compile
2020-08-27 00:49:07 +08:00
halx99
c9d6c5afdf
Rename PXFileStream to CCFileStream
2020-08-27 00:21:44 +08:00
halx99
c8a665da40
Update al format enum
2020-08-24 19:04:08 +08:00
halx99
34c51f5596
Print al vender and version after initialized
2020-08-20 22:37:34 +08:00
halx99
bda3a720b4
Use CC0-1.0 licensed decoder 'minimp3' to replace LGPL licensed decoder 'mpg123'
2020-08-17 14:56:53 +08:00
halx99
08e3b65b9a
More clearly check supported pcm format by alsoft extends
2020-08-15 17:48:57 +08:00
halx99
2e4499b6d0
Add ios framework required by SDL2, check whether SDL2 support strip it later
2020-08-15 17:47:40 +08:00
halx99
072deafeae
Adapte zlib licensed AL library: mojoal
2020-08-14 18:58:44 +08:00
halx99
f72f6e8cac
Cleanup unused code for min support iOS
2020-08-13 23:03:55 +08:00
halx99
a09253c7a2
fix-157
2020-08-13 22:35:41 +08:00
halx99
a3b208075b
fix compile issue without alsoft
2020-08-13 00:41:30 +08:00
halx99
da2ec96fd8
fix ci android build issue.
2020-08-12 18:53:33 +08:00
halx99
5732e20789
Tidy code
2020-08-12 18:40:04 +08:00
halx99
d9ef1e238f
Simplify audio source again, merge audio sources
2020-08-12 17:00:07 +08:00
halx99
247cb83b18
fix #127
2020-07-31 17:23:03 +08:00
halx99
2a2b397f27
Add alconfig.h to choose whether use openal-soft
2020-07-31 17:03:58 +08:00
halx99
65bb368cc2
Add missing detect macro CC_USE_ALSOFT_ON_APPLE on apple platform
2020-07-31 16:36:45 +08:00
halx99
c17ea9fdd5
Update comment [skip appveyor] [skip travis]
2020-07-31 15:49:50 +08:00
halx99
bcd1c17aa5
Tidy audio source, unify headers: AudioEngineImpl.h AudioPlayer.h
2020-07-31 14:32:08 +08:00
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