diff --git a/gradint-build/src/recording.py b/gradint-build/src/recording.py index fbc913b9137073bbf239ea6acb589f3fd3d4d0ab..dd08d666e475c3a4c86e9b321f16f7cc748799a6 100644 --- a/gradint-build/src/recording.py +++ b/gradint-build/src/recording.py @@ -144,7 +144,7 @@ if not tkSnack: MacStopRecording() os.rename(MacRecordingFile,self.fileToWrite) tkSnack = "MicOnly" - elif unix and isDirectory("/dev/snd") and got_program("arecord"): # no tkSnack, but can record via ALSA + elif unix and useTK and isDirectory("/dev/snd") and got_program("arecord"): # no tkSnack, but can record via ALSA (but no point doing the tests if not useTK) del MicInput class MicInput(InputSource): def startRec(self,outFile,lastStopRecVal=0.5):