SetVolume
soundChannel:SetVolume(volume)
Sets the playback volume level for the channel.
- volume
- An integer or
nil
. Value 0 corresponds to silent, and values 1, 2, 3, and 4 correspond to decibel levels -18 dB, -6 dB, -3 dB, and 0 dB (unity gain) respectively. If volume isnil
, then the driver's master (preferred) volume is used.
- return value
- Undefined; do not rely on it.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help