sfml.js
Preparing search index...
SoundFileReaderConstructor
Interface SoundFileReaderConstructor
可注册的解码器类,需提供无参数构造函数及格式探测方法。
interface
SoundFileReaderConstructor
{
new
SoundFileReaderConstructor
()
:
SoundFileReader
;
check
(
stream
:
InputStream
)
:
boolean
|
Promise
<
boolean
>
;
}
Index
Constructors
constructor
Methods
check
Constructors
constructor
new
SoundFileReaderConstructor
()
:
SoundFileReader
创建尚未打开的解码器实例。
Returns
SoundFileReader
Methods
check
check
(
stream
:
InputStream
)
:
boolean
|
Promise
<
boolean
>
探测输入流是否属于本解码器支持的格式。
Parameters
stream
:
InputStream
Returns
boolean
|
Promise
<
boolean
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
check
sfml.js
Loading...
可注册的解码器类,需提供无参数构造函数及格式探测方法。