dogeFu
09e000266d
feature : add EDITOR_NOT_IN_PREVIEW marco ( #15354 )
...
* feature : add marco for editor preview and refactor code with new marco
* refactor: replace GAME_VIEW with EDITOR_PREVIEW
* Revert "refactor: replace GAME_VIEW with EDITOR_PREVIEW"
This reverts commit e28953e9e7acbb49dc5bdc650b2ff65510d4b084.
* update cc config json
* refactor code
* remove uselese parentheses
* set ccglobal to be false
* skip global variable test case
2023-06-07 17:52:51 +08:00
qiuguohua
641a2fe2a4
Release the listener when destroyed. ( #15036 )
2023-05-14 23:08:34 +08:00
PP
fa51b804b5
remove and ban @ts-expect-error ( #14572 )
...
* remove ts-expect-error usage in engine
* deprecate Scheduler interface
* remove JavaScriptCore
* set some engineInternal public property as getter setter
* fix build-declaration
* fix releaseManager export name conflict
* update scriptEngineType
* fix and update some comment
* remove w_mat, w_pos, w_rot, w_scale
* update renderer
* fix setRootBufferDirty not binding on native
* optimize floatToHashString
* mark NOTE
2023-03-20 13:48:26 +08:00
qiuguohua
25a3619413
Repair the problem that only one music is played when multiple music is played in the same node ( #14319 )
...
* Repair the problem that only one music is played when multiple music is played in the same node
* Modify comments
* Define callback functions to avoid removing all listeners when offrunning
2023-02-27 13:49:17 +08:00
bofeng-song
19ffc349b6
Make audio be independent of core module ( #13948 )
2022-12-29 15:32:08 +08:00
pandamicro
afd22296b4
MIT license update and to new year 2023 ( #13927 )
...
* Cpp MIT license update and to date
* TS MIT license update and to date
2022-12-28 11:25:12 +08:00
timlyeee
6063a4a4c1
[Hack] Jump across the safety policy ( #13517 )
2022-11-23 17:00:24 +08:00
PP
4999d0c315
ensure running audio context ( #11996 )
2022-07-15 10:03:03 +08:00
PP
613addca36
play web audio after context get running ( #11708 )
...
* play web audio after context get running
update
* update
2022-07-01 14:46:44 +08:00
PP
1fccb90926
support audio PCMData and sampleRate getter ( #11470 )
...
* support audio buffer and sampleRate getter
update comment
update interface
update
update comment
update jsb.d.ts
update
* support getPCMData
update
support on native
support on miningame
update
* update comment
* add example doc
2022-06-29 13:39:05 +08:00
mmyduckx
df1594c8d8
Gameview editor macro ( #11568 )
...
* GameView related EDITOR macro modify
* remove debug code
* fix ci
* fix review
* fix review
2022-06-20 10:05:29 +08:00
PP
d749bbe1c4
remove legacyPublic tag ( #10702 )
2022-04-08 19:41:20 +08:00
santy-wang
995f5b2d41
Merge branch 'v3.4.2' of https://gitlab.cocos.net/publics/engine into v3.5-merge
2022-01-24 15:56:49 +08:00
PP
1300cb8ab7
fix audio buffer memory leak on ByteDance and Web platform ( #9933 )
2022-01-06 18:27:26 +08:00
PP
fbde8d1e90
use lagacyPublic to marked deprecated public interface ( #9859 )
...
* use lagacy-public
* publish beta6
* remove jsDoc tag from constructor
* use legacyPublic
* publish beta 7
2021-12-28 11:48:10 +08:00
PP
cc01fad918
support internal interface filter ( #9797 )
...
* support interface filter
* publish build-engine@4.2.20-beta.1
* update
* fix other type of statement
* publish @cocos/build-engine 4.2.20
* update lock
* remove `@internal` from constructor documentation
* change to internal_cc tag
* support target tag in interface-filter
* publish 4.2.21-beta.1
* remove `@private_cc` tag
* remove public internal interface
* remove public internal getter setter
* remove public declare internal property
* update
* remove `__editorExtrasTag__`
* remove public internal interface on `js`
* pulish @cocos/build-engine 4.2.21-beta.2
* change tag to `@deprecated_to_user`
* support `@deprecated_to_user`
* publish 4.2.21-beta.3
* finish change request
* change to marked_as_engine_private
* publish 4.2.21-beta.5
2021-12-22 12:55:45 +08:00
PP
55299dc7fa
start audioSourceBufferNode before running audio context ( #9660 )
...
* start audioSourceBufferNode before running audio context
* remove test
2021-11-15 11:37:29 +08:00
PP
97b3657549
migrate input module out of platform ( #9296 )
...
* migrate input module out of platform
* revert EventKeyboard.isPressed deprecation
* fix CI
2021-09-07 15:24:43 +08:00
PP
400ef282fb
support audio buffer manager ( #9270 )
2021-09-02 11:03:20 +08:00
PP
ccb50e340c
fix Audio bug on v3.3 ( #8960 )
...
* support AudioTimer in pal
update
* optimize InnerAudioContext destroy on MiniGame platform
* fix audio source on persist node paused when change scene
* compatible with audio.duration on WeChat platform
stash destroy
* fix audio can’t resume on WeChat when enter foreground
* fix audio can't pause on Android platform when enter background
* fix ci
* update null
2021-07-18 17:31:45 +08:00
PP
d7067c29c8
deprecate interface in View module && support pal/screenManager ( #8836 )
...
* remove BrowserGetter
* deprecated view.adjustViewportMeta
* deprecate view.enableAutoFullScreen and view.isAutoFullScreenEnabled
* remove view._adjustSizeKeepCanvasSize
* remove view._convertMouseToLocation, view._convertTouchWidthScale and view._convertTouchesWithScale
* remove view._originalDesignResolutionSize
* deprecate cc.winSize and cc.visibleRect
update
* access local winSize
* access local visibleRect
* deprecate view.getVisibleOrigin view.getVisibleOriginInPixel
* Revert "deprecate view.getVisibleOrigin view.getVisibleOriginInPixel"
This reverts commit 1ae9e1d5c51d8c701eaa2e4a65cd4c17e5f6d971.
* Revert "deprecate cc.visibleRect"
* optimize screen module
update
* update
update
* optimize deprecation info
* rename pal/system to pal/systemInfo
* update pal/systemInfo access in engine layer
* support pal/screenManager
* update pal/screenManager access in engine layer
* fix bug
* optimize deprecation info
* fix auto fullscreen
* fix ci
* fix ci
* update change request
update
update
* fix CI
2021-07-09 18:57:03 +08:00
PP
960dc20334
compability with AudioClip method since deprecated on v3.1.0 ( #8905 )
2021-06-29 10:33:13 +08:00
PP
2c4b747684
optimize Web Audio ( #8590 )
...
* ban audio playing in Editor
* register WebAudio error callback
* fix stop BufferSourceNode on Safari
2021-04-29 14:53:15 +08:00
PP
b3977bd507
fix audio duration on native ( #8539 )
2021-04-23 22:25:05 +08:00
PP
f031d490aa
fix audio seeking ( #8538 )
2021-04-23 21:45:40 +08:00
PP
cd1548d3f6
fix Audio bug ( #8515 )
...
* support AudioPlayer.loadOneShotAudio
* support native
* support minigame
* support createInnerAudioContextPolyfill
update
* fix audioLoading on runtime
* fix Safari doesn't support promise based decodeAudioData
* optimize interface design
* add onPlay polyfill for vivo
* fix setting AudioSource.clip concurrently
* add createInnerAudioContextPolyfill for Xiaomi
* add createInnerAudioContextPolyfill on Baidu
* fix web audio player currentTime
2021-04-23 18:07:58 +08:00
PP
7ed0e73a84
remove deprecate warning in engine ( #8482 )
...
* remove deprecated BrowserType usage
* remove deprecated OS usage
update
* remove deprecated Platform usage
* fix esLint
2021-04-19 14:14:51 +08:00
PP
831722c121
optimize pal ( #8405 )
...
* rename mg
* optimize audioMgr
* remove implement class
update
* add src property for AudioPlayer
* fix multiple audioSource reference the same audioClip
* support operation-queue
update
* fix operation deadlock
* update
* fix esLint
update
update
* remove ensureStop
remove stop in play
* fix audio-dom loading
* optimize operation queue in AudioSource component
* HACK on runtime
* fix esLint
* update esLint
* HACK on WeChat DevTools
* lowercase enqueueOperationDecorator
* remve ! with @ts-expect-error
* Revert "HACK on WeChat DevTools"
This reverts commit 230a2ec9223f21fc34e8435b962c0b41c18d4e91.
* fix esLint
* rename clip.ts to audio-clip.ts
* add audio meta
* use fastRemoveAt
* change ClassDecorator to MethodDecorator
* remove player reference in audio-clip
* destroy temporary AudioPlayer after loading
* optimize syncPlayer
* fix esLint
* fix esLint
* optimize audio-manager
* optimize operation-queue
update
* fix eslint
2021-04-09 15:21:11 +08:00
PP
cd7e644694
implement audio on pal ( #8255 )
...
* Update logo in README
* add pal/audio
* deprecate property
* support wechat game AudioPlayer
* unify minigame interface
* optimize module name
* support native audio
# Conflicts:
# @types/jsb.d.ts
* add runtime platform
* fix module
* support build native virtual module
update
update
* update module name
* remove jsb-audio.js
* revert @rollup/plugin-alias
* add quickCompiler field in cc.config.json
* fix audio can't stop when paused
* fix esLint & ci
* fix ci
update
* update ccConfigJson
* add NOTE
* readonly maxAudioChannel
* add description for interface OneShotAudio
* volume range
* range for seeking
* loadNative return Promise<unknown>
* remove quickCompile field in cc.config.json
Co-authored-by: pandamicro <lphuabin@gmail.com >
Co-authored-by: Jare Guo <jareguo@users.noreply.github.com >
2021-03-25 14:30:13 +08:00