Cocos Creator
手册文档
API 参考
Cocos Creator 3D
手册文档
API 参考
Cocos2d-x
手册文档
API 参考
Version: 3.1
Version: 3.5
Version: 3.4
Version: 3.3
Version: 3.2
Version: 3.0
Version: 2.4
Version: 2.3
Version: 2.2
Version: 2.1
Version: 2.0
Version: 1.10
Version: 1.9
Search
Preparing search index...
The search index is not available
CocosCreatorAPI
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
audio
AudioManagerDom
Class AudioManagerDom
Hierarchy
AudioManager
<
ManagedAudio
>
AudioManagerDom
Index
Constructors
constructor
Properties
_playing
Audios
max
Audio
Channel
Methods
add
Playing
discard
One
Playing
IfNeeded
remove
Playing
Constructors
constructor
new
Audio
Manager
Dom
(
)
:
AudioManagerDom
Returns
AudioManagerDom
Properties
Protected
_playing
Audios
_playing
Audios
:
Array
<
ManagedAudio
>
Static
Readonly
max
Audio
Channel
max
Audio
Channel
:
number
= 24
Methods
add
Playing
add
Playing
(
audio
:
ManagedAudio
)
:
void
Parameters
audio:
ManagedAudio
Returns
void
discard
One
Playing
IfNeeded
discard
One
Playing
IfNeeded
(
)
:
void
Returns
void
remove
Playing
remove
Playing
(
audio
:
ManagedAudio
)
:
void
Parameters
audio:
ManagedAudio
Returns
void
Globals
component/audio
Audio
Clip
Audio
Manager
Audio
Manager
Dom
constructor
_playing
Audios
max
Audio
Channel
add
Playing
discard
One
Playing
IfNeeded
remove
Playing
Audio
Manager
Web
Audio
Player
Audio
PlayerDOM
Audio
Player
Web
Audio
Source
IAudio
Info
Managed
Audio
Managed
Audio
Audio
Type
create
Dom
Audio
Playing
State
Generated using
TypeDoc