minggo
271cc5cf23
Remove some format rule ( #10919 )
...
* remove some rules
* format all codes with new format rule
2022-05-04 13:09:24 +08:00
minggo
444bfe31c4
Refactor CC_NEW/CC_DELETE ( #10810 )
...
* replace CC_NEW/CC_DELETE with ccnew/delete
2022-04-21 16:39:34 +08:00
Cocos Robot
a2df4e4dbd
[ci skip][AUTO]: Automated clang-format update: 771de57fc2c1edbaaf3ae94e77f9801b0379cc6c ( #10469 ) ( #10472 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-03-24 13:50:39 +08:00
minggo
7f4cb9e3b1
Remove string ( #10469 )
...
* replace std::string with ccstd::string
2022-03-24 11:53:10 +08:00
minggo
34bf14269c
unify stl ( #10402 )
...
* add ccstd::vector
* replace cc::vector with ccstd::vector
* replace std::vector with ccstd::vector
* do not include <vector>
2022-03-21 15:55:02 +08:00
江战
a652715f5a
Harmony OS support - dont merge ( #3528 )
2021-05-21 10:43:22 +08:00
Yun Hsiao Wu
ea88ba33c6
codebase structure update ( #3289 )
...
* structure
* fix jsb auto binding license issue
2021-03-01 12:00:10 +08:00
minggo
0386bed212
fix audio code format ( #3212 )
...
* fix audio code format
* format base files
2021-01-13 13:38:07 +08:00
minggo
b08407c501
remove CC/cc prefix for file names ( #2728 )
2020-08-28 15:23:29 +08:00
minggo
d381a16142
change namespace from cocos2d to cc ( #2572 )
2020-06-16 14:34:46 +08:00
Javier O
4e79585fd0
Improved audio engine interface to get the audio duration directly from the filename
...
because with the current implementation the audio needs to be preload and at least be played one time to get
the audio id which is needed to get the audio duration with the current getDuration API.
I've describes the problem in detail here:
https://discuss.cocos2d-x.org/t/audioengine-interface-improvement/34034
2019-02-28 09:18:14 -03:00
leda
dada2eb244
move "cocos2d::experimental::" to "cocos2d::" on Audio ( #1549 )
...
* remove “experimental” in audio dir
* update audio bindings
* fix "{" match error
* no need "experimental" for thread pool
* remove both out-of-date js api files
2018-10-18 13:34:12 +08:00
leda
19ab61b252
refine TODO & FIXME flag ( #1450 )
...
* change TODO to REFINE
* change REFINE:cjh to REFINE
* change FIXME to IDEA
* improve format
2018-08-10 12:52:00 +08:00
James Chen
bf1b4f7124
[runtime] Audio works. ( #1151 )
2018-03-17 11:22:56 +08:00
Jare Guo
d9bd3d763c
update license ( #1089 )
...
* updating license
* update license
2018-02-01 15:20:01 +08:00
Jare Guo
1ea2fc1715
revert TextureCache, use ThreadPool instead
2017-09-26 10:18:01 +08:00
James Chen
fc98b4bdc0
Sync with cocos2d-x v3 branch ddb4dc8 commit.
2017-04-24 10:49:02 +08:00
James Chen
4934a40346
warning fix
2017-01-09 18:10:38 +08:00
James Chen
1ffd82c4a3
[Android] Decodes mp3 & ogg audio file by the libaries in Android 7.1 source code. Benefit:
...
* Avoids crashes on some specific android devices (e.g. Red Mi Note4) while decoding audio file in multi-threads.
* Improves performance of decoding, 2x faster
2017-01-09 17:45:55 +08:00
James Chen
725aa66556
Updates lite audio engine sources from upstream (cocos2d-x).
2016-10-28 11:30:29 +08:00
pandamicro
9bf561baee
Upgrade to v3.13 release
2016-08-26 14:30:32 +08:00
pandamicro
8bd0b63d83
Upgrade cocos/audio to v3.13
2016-08-04 12:01:26 +08:00