$NetBSD: patch-ao,v 1.3 2002/10/04 08:59:37 jlam Exp $ --- prefs/AudioIOPrefs.cpp.orig Wed Jun 5 00:51:19 2002 +++ prefs/AudioIOPrefs.cpp @@ -74,8 +74,8 @@ AudioIOPrefs::AudioIOPrefs(wxWindow * pa PrefsPanel(parent) { #ifdef __WXGTK__ - wxString defaultPlaybackDevice = "/dev/dsp"; - wxString defaultRecordingDevice = "/dev/dsp"; + wxString defaultPlaybackDevice = DEV_DSP; + wxString defaultRecordingDevice = DEV_DSP; #endif // __WXGTK__ #ifdef __WXMSW__ @@ -565,7 +565,7 @@ void AudioIOPrefs::SetPlaybackDeviceDefa { /* TODO: attempt autodetection? */ #ifdef __WXGTK__ - mPlaybackDeviceCtrl->SetValue("/dev/dsp"); + mPlaybackDeviceCtrl->SetValue(DEV_DSP); #endif // __WXGTK__ } @@ -576,7 +576,7 @@ void AudioIOPrefs::TestRecordingDevice(w void AudioIOPrefs::SetRecordingDeviceDefault(wxCommandEvent & event) { #ifdef __WXGTK__ - mRecordingDeviceCtrl->SetValue("/dev/dsp"); + mRecordingDeviceCtrl->SetValue(DEV_DSP); #endif // __WXGTK__ }