Package flumotion :: Package worker :: Package checks :: Module audio
[hide private]

Module audio

source code


Version: $Rev: 7097 $

Functions [hide private]
twisted.internet.defer.Deferred
checkMixerTracks(source_factory, device, channels, mid=None)
Probe the given GStreamer element factory with the given device for audio mixer tracks.
source code
Function Details [hide private]

checkMixerTracks(source_factory, device, channels, mid=None)

source code 

Probe the given GStreamer element factory with the given device for audio mixer tracks. Return a deferred firing a result.

The result is either:

  • succesful, with a None value: no device found
  • succesful, with a human-readable device name and a list of mixer track labels.
  • failed
Returns: twisted.internet.defer.Deferred