Commits

anatoly techtonik committed 5d45faa

open output device in AudioWriter explicitly, because it is explicitly closed

Comments (0)

Files changed (1)

     # as long as they are used from C code, because ctypes doesn't do this,
     # crashing the program when a callback is made
     self.waveOutProc = WAVEOUTPROCFUNC(py_waveOutProc)
-    self.open()
 
   def open(self):
     """ 1. Open default wave device """
     print "Default Wave Audio output device is closed"
 
 
+
 aw = AudioWriter()
+aw.open()
 
 df = open('95672__Corsica_S__frequency_change_approved.raw', 'rb')
 while True: