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_alsa.new_Ad(audio_device, sampling_rate)
     try:
         self.this.append(this)
     except 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_alsa.Ad_swiginit(self, _ad_alsa.new_Ad(audio_device,
                                                sampling_rate))