Ejemplo n.º 1
0
 def __init__(self):
     self.description = "Audio DV (Firewire) source"
     self.type = "audio"
     a_caps = "audio/x-raw-int"
     sbin = "dv_src. ! %s" %a_caps
     AudioSource.__init__(self, sbin)
Ejemplo n.º 2
0
 def __init__(self, device_id="0", latency_time="10000"):
     self.description = "Alsa source"
     self.type = "audio"
     sbin = "alsasrc device=hw:%s latency-time=%s" %(device_id, latency_time)
     AudioSource.__init__(self, sbin)
Ejemplo n.º 3
0
 def __init__(self):
     self.description = "Audio test Source class, generates 440Hz tone"
     self.type = "audio"
     sbin = "audiotestsrc"
     AudioSource.__init__(self, sbin)