• 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`.
356 The mixer object provides two file-like methods:
361 This method closes the open mixer device file. Any further attempts to use the
362 mixer after this file is closed will raise an :exc:`OSError`.
367 Returns the file handle number of the open mixer device file.
378 This method returns a bitmask specifying the available mixer controls ("Control"
381 mixer controls---the :const:`SOUND_MIXER_\*` constants defined at module level.
382 To determine if, for example, the current mixer object supports a PCM mixer, use
385 mixer=ossaudiodev.openmixer()
386 if mixer.controls() & (1 << ossaudiodev.SOUND_MIXER_PCM):
391 :const:`SOUND_MIXER_PCM` controls should suffice---but code that uses the mixer
392 should be flexible when it comes to choosing mixer controls. On the Gravis
398 Returns a bitmask indicating stereo mixer controls. If a bit is set, the
400 monophonic or not supported by the mixer (use in combination with
409 Returns a bitmask specifying the mixer controls that may be used to record. See
415 Returns the volume of a given mixer control. The returned volume is a 2-tuple
426 Sets the volume for a given mixer control to ``(left,right)``. ``left`` and
432 Raises :exc:`OSSAudioError` if an invalid mixer control was specified, or if the
449 mixer.setrecsrc (1 << ossaudiodev.SOUND_MIXER_MIC)