Lines Matching refs:mixer
100 Open a mixer device and return an OSS mixer device object. *device* is the
101 mixer device filename to use. If it is not specified, this module first looks
103 found, it falls back to :file:`/dev/mixer`.
340 The mixer object provides two file-like methods:
345 This method closes the open mixer device file. Any further attempts to use the
346 mixer after this file is closed will raise an :exc:`IOError`.
351 Returns the file handle number of the open mixer device file.
358 This method returns a bitmask specifying the available mixer controls ("Control"
361 mixer controls---the :const:`SOUND_MIXER_\*` constants defined at module level.
362 To determine if, for example, the current mixer object supports a PCM mixer, use
365 mixer=ossaudiodev.openmixer()
366 if mixer.controls() & (1 << ossaudiodev.SOUND_MIXER_PCM):
371 :const:`SOUND_MIXER_PCM` controls should suffice---but code that uses the mixer
372 should be flexible when it comes to choosing mixer controls. On the Gravis
378 Returns a bitmask indicating stereo mixer controls. If a bit is set, the
380 monophonic or not supported by the mixer (use in combination with
389 Returns a bitmask specifying the mixer controls that may be used to record. See
395 Returns the volume of a given mixer control. The returned volume is a 2-tuple
406 Sets the volume for a given mixer control to ``(left,right)``. ``left`` and
412 Raises :exc:`OSSAudioError` if an invalid mixer control was specified, or if the
429 mixer.setrecsrc (1 << ossaudiodev.SOUND_MIXER_MIC)