$NetBSD: patch-am,v 1.3 2002/10/04 08:59:36 jlam Exp $ --- AudioIO.cpp.orig Wed Jun 5 00:51:19 2002 +++ AudioIO.cpp @@ -27,7 +27,7 @@ AudioIO *gAudioIO; #ifdef __WXGTK__ bool gLinuxFirstTime = true; -char gLinuxDevice[256] = "/dev/dsp"; +char gLinuxDevice[256] = DEV_DSP; #endif #ifdef BOUNCE @@ -68,7 +68,7 @@ bool AudioIO::OpenPlaybackDevice(Audacit wxString deviceStr = gPrefs->Read("/AudioIO/PlaybackDevice", ""); #ifdef __WXGTK__ if (deviceStr == "") - deviceStr = "/dev/dsp"; + deviceStr = DEV_DSP; #endif strcpy(mPlayNode.u.audio.devicename, deviceStr.c_str()); strcpy(mPlayNode.u.audio.interfacename, ""); @@ -177,7 +177,7 @@ bool AudioIO::StartRecord(AudacityProjec wxString deviceStr = gPrefs->Read("/AudioIO/RecordingDevice", ""); #ifdef __WXGTK__ if (deviceStr == "") - deviceStr = "/dev/dsp"; + deviceStr = DEV_DSP; #endif strcpy(mRecordNode.u.audio.devicename, deviceStr.c_str()); strcpy(mRecordNode.u.audio.interfacename, "");