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

Module audio

source code


Version: $Rev$

Functions [hide private]
twisted.internet.defer.Deferred
getAudioDevices(source_factory, mid=None)
Search the available devices in worker for the specified factory.
source code
twisted.internet.defer.Deferred
checkMixerTracks(source_factory, device, mid=None)
Probe the given GStreamer element factory with the given device for audio mixer tracks.
source code
Variables [hide private]
  T_ = gettexter()
Function Details [hide private]

getAudioDevices(source_factory, mid=None)

source code 

Search the available devices in worker for the specified factory. Return a deferred firing a result.

The result is either:

  • succesful, with an empty list: no device found
  • succesful, with the list of found devices
  • failed
Returns: twisted.internet.defer.Deferred

checkMixerTracks(source_factory, device, 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