Esempio n. 1
0
 def __init__(self, audio_device=None, sampling_rate=16000):
     """__init__(Ad self, char const * audio_device=None, int sampling_rate=16000) -> Ad"""
     this = _ad_pulse.new_Ad(audio_device, sampling_rate)
     try:
         self.this.append(this)
     except __builtin__.Exception:
         self.this = this
Esempio n. 2
0
 def __init__(self, audio_device=None, sampling_rate=16000):
     r"""__init__(Ad self, char const * audio_device=None, int sampling_rate=16000) -> Ad"""
     _ad_pulse.Ad_swiginit(self,
                           _ad_pulse.new_Ad(audio_device, sampling_rate))