Exemple #1
0
 def __init__(self):
     SoundDriver.__init__(self)
     self.create_sound_driver()
     self.enabled = True
     self.sampleRate = 44100
     self.channelCount = 2
     self.bitsPerSample = 8
 def __init__(self):
     SoundDriver.__init__(self)
     self.create_sound_driver()
     self.enabled = True
     self.sampleRate = 44100
     self.channelCount = 2
     self.bitsPerSample = 8
Exemple #3
0
 def __init__(self):
     SoundDriver.__init__(self)
     self.enabled       = False
     self.sampleRate    = 44100
     self.buffersize    = 512
     self.channelCount  = 2
     self.bitsPerSample = 4
     self.sampleSize    = self.bitsPerSample * self.channelCount
     self.create_sound_driver()