window.runtime property | window.runtime.flash.media.AudioPlaybackMode |
Inheritance | AudioPlaybackMode Object |
Runtime Versions: | 3.0 |
audioPlaybackMode
property of the
SoundMixer class.
Each of these constants represents a set of behavior for audio on mobile tailored to a particular use.
See also
Constant | Defined By | ||
---|---|---|---|
MEDIA : String = "media" [static]
A mode for playing media sounds. | AudioPlaybackMode | ||
VOICE : String = "voice" [static]
A mode for playing voice audio. | AudioPlaybackMode |
MEDIA | Constant |
public static const MEDIA:String = "media"
Runtime Versions: | 3.0 |
A mode for playing media sounds. When using this mode on mobile sound is routed through the speakerphone. If headphones are plugged in they override the speakerphone. The operating system will use defaults for media audio when deciding behavior and priority for audio. This setting has no special effect on the desktop or tv. This is the default.
VOICE | Constant |
public static const VOICE:String = "voice"
Runtime Versions: | 3.0 |
A mode for playing voice audio.
When using this mode audio is routed through the phone earpiece by default. If headphones are plugged in
they override the earpiece. If the SoundMixer.useSpeakerphoneForVoice
property is set, sound
goes to the speakerphone, overriding the earpiece/headphones. The operating system will use defaults for
voice audio when deciding behavior and priority for audio.
This setting has no special effect on the desktop or tv.
Thu Sep 29 2011, 02:34 AM -07:00