User Guide
soundDevice 997
The following examples assign sound channel 1 to the RealMedia stream in sprite 2 and the cast
member Real.
-- Lingo syntax
sprite(2).soundChannel = 1
member("Real").soundChannel = 1
// JavaScript syntax
sprite(2).soundChannel = 1;
member("Real").soundChannel = 1;
See also
realPlayerNativeAudio()
soundDevice
Usage
-- Lingo syntax
_sound.soundDevice
// JavaScript syntax
_sound.soundDevice;
Description
Sound property; allows the sound mixing device to be set while the movie plays. Read/write.
The possible settings for
soundDevice are the devices listed in soundDeviceList.
Several sound devices can be referenced. The various sound devices for Windows have
different advantages.
• MacroMix (Windows)—The lowest common denominator for Windows playback. This
device functions on any Windows computer, but its latency is not as good as that of other
devices.
• QT3Mix (Windows)—Mixes sound with QuickTime audio and possibly with other
applications if they use DirectSound. This device requires that QuickTime be installed and has
better latency than MacroMix.
• DirectSound (Windows)—Similar to QT3Mix, but provides higher latency.
• MacSoundManager (Macintosh)—The only sound device available on the Macintosh.
Example
The following statement sets the sound device to the MacroMix for a Windows computer. If the
newly assigned device fails, the soundDevice property is not changed.
-- Lingo syntax
_sound.soundDevice = "MacroMix"
// JavaScript syntax
_sound.soundDevice = "MacroMix";
See also
Sound, soundDeviceList