• Home
  • Raw
  • Download

Lines Matching refs:mixer

102    Open a mixer device and return an OSS mixer device object.   *device* is the
103 mixer device filename to use. If it is not specified, this module first looks
105 found, it falls back to :file:`/dev/mixer`.
355 The mixer object provides two file-like methods:
360 This method closes the open mixer device file. Any further attempts to use the
361 mixer after this file is closed will raise an :exc:`OSError`.
366 Returns the file handle number of the open mixer device file.
377 This method returns a bitmask specifying the available mixer controls ("Control"
380 mixer controls---the :const:`SOUND_MIXER_\*` constants defined at module level.
381 To determine if, for example, the current mixer object supports a PCM mixer, use
384 mixer=ossaudiodev.openmixer()
385 if mixer.controls() & (1 << ossaudiodev.SOUND_MIXER_PCM):
390 :const:`SOUND_MIXER_PCM` controls should suffice---but code that uses the mixer
391 should be flexible when it comes to choosing mixer controls. On the Gravis
397 Returns a bitmask indicating stereo mixer controls. If a bit is set, the
399 monophonic or not supported by the mixer (use in combination with
408 Returns a bitmask specifying the mixer controls that may be used to record. See
414 Returns the volume of a given mixer control. The returned volume is a 2-tuple
425 Sets the volume for a given mixer control to ``(left,right)``. ``left`` and
431 Raises :exc:`OSSAudioError` if an invalid mixer control was specified, or if the
448 mixer.setrecsrc (1 << ossaudiodev.SOUND_MIXER_MIC)