[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
19.2.2 Mixer
Bigloo proposes various functions and classes for controlling the audio volume of sound cards.
- Bigloo Multimedia class: mixer
(class mixer (devices::pair-nil (default '())))
The field devices is a list of available channels.
- Bigloo Multimedia procedure: mixer-close mix
Closes a mixer. The argument mix must be an instance of the
mixer
class.
- Bigloo Multimedia procedure: mixer-volume-get mix channel
- Bigloo Multimedia procedure: mixer-volume-set! mix channel leftv rightv
The function mixer-volume-get returns the left and right volume levels (two values) of the channel of the mixer mix. The channel is denoted by its name and is represented as a string of characters. The argument mix is an instance of the
mixer
class.The function mixer-volume-set! changes the audio level of a mixer channel.
- Bigloo Multimedia class: soundcard::mixer
(class soundcard::mixer (device::bstring read-only))
The instances of the class
soundcard
, a subclass of themixer
class, are used to access physical soundcard as supported by operating systems. The class field device stands for the name of the system device (e.g.,"/dev/mixer"
for the Linux OS). During the initialization of the instance, the device is opened and initialized.
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated on March 31, 2014 using texi2html 5.0.