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
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
86f20da0f0
support pal/input ( #8472 )
...
* support pal/input
update
* update
* fix esLint
* support minigame
* support pal/input on minigame
* remove minigame.isSubContext
* support native
update
* deprecate static property on EventMouse
* deprecated static property in EventTouch
* remove TODO
* remove x y position in MouseWheel Event
* remove TODO
* remove temp code
* fix esLint
* update AccelerometerIntervalMode
* remove legacy code in JSB
* fix esLint
* optimize AccelerometerInputSource.setInterval
* fix esLint
* optimize code
* add more details for documentation
* update
* don't pass game.canvas to inputManager.registerSystemEvent
* optimize
* Revert "remove x y position in MouseWheel Event"
This reverts commit b521ec4948d693b420887cdeb2f5f3afc1500066.
# Conflicts:
# @types/pal/input.d.ts
* update
* fix esLint
* fix esLint
2021-04-19 16:24:42 +08:00
Leslie Leigh (李的序)
2987cecd9a
Optimize the document on pal/audio ( #8402 )
...
* Optimize the document on pal/audio
* Update @types/pal/audio.d.ts
Co-authored-by: PP <chinese1236@qq.com >
* Update @types/pal/audio.d.ts
Co-authored-by: PP <chinese1236@qq.com >
* Update @types/pal/audio.d.ts
Co-authored-by: PP <chinese1236@qq.com >
Co-authored-by: PP <chinese1236@qq.com >
Co-authored-by: Santy-Wang <wh19930829@qq.com >
2021-04-14 13:55:18 +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