Class: SoundMixer

SoundMixer

SoundMixer クラスには、静的プロパティやアプリケーションのグローバルサウンドコントロールのメソッドが含まれます。
SoundMixer クラスは、アプリケーションの埋め込みおよびストリーミングサウンド、及び、Video クラスの音声を制御します。

new next2d.media.SoundMixer ()

Members

next2d.media.SoundMixer.namespace staticconstant

指定されたクラスの空間名を返します。
Returns the space name of the specified class.

Default Value:
  • next2d.media.SoundMixer

next2d.media.SoundMixer.volume number static

ボリュームです。範囲は 0(無音)~ 1(フルボリューム)です。
The volume, ranging from 0 (silent) to 1 (full volume).

Default Value:
  • 1

namespace constant

指定されたオブジェクトの空間名を返します。
Returns the space name of the specified object.

Default Value:
  • next2d.media.SoundMixer

Methods

next2d.media.SoundMixer.stopAll ()void static

再生中のサウンドをすべて停止します。
Stops all sounds currently playing.

Returns:
TypeDescription
void

next2d.media.SoundMixer.toString ()string static

指定されたクラスのストリングを返します。
Returns the string representation of the specified class.

Default Value:
  • [class SoundMixer]
Returns:
TypeDescription
string

toString ()string

指定されたオブジェクトのストリングを返します。
Returns the string representation of the specified object.

Default Value:
  • [object SoundMixer]
Returns:
TypeDescription
string