summaryrefslogtreecommitdiff
path: root/audio/audacity/patches/patch-ao
blob: c89c15c0a78c8afb892d53665e346e99e6436dbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
$NetBSD: patch-ao,v 1.1.1.1 2001/06/17 19:13:52 drochner Exp $

--- prefs/AudioIOPrefs.cpp.orig	Sun Jun 17 09:15:01 2001
+++ prefs/AudioIOPrefs.cpp	Sun Jun 17 09:15:47 2001
@@ -45,8 +45,8 @@
 									GetSize());
 
 	gPrefs->SetPath("/AudioIO");
-	wxString playDevice = gPrefs->Read("PlaybackDevice", "/dev/dsp");
-	wxString recDevice  = gPrefs->Read("RecordingDevice", "/dev/dsp");
+	wxString playDevice = gPrefs->Read("PlaybackDevice", "/dev/sound");
+	wxString recDevice  = gPrefs->Read("RecordingDevice", "/dev/sound");
 	bool recordStereo;
 	gPrefs->Read("RecordStereo", &recordStereo, false);
 	bool duplex;
@@ -173,7 +173,7 @@
 {
 	/* TODO: attempt autodetection? */
 #ifdef __WXGTK__
-	mPlaybackDeviceCtrl->SetValue("/dev/dsp");
+	mPlaybackDeviceCtrl->SetValue("/dev/sound");
 #endif // __WXGTK__
 }
 
@@ -184,7 +184,7 @@
 void AudioIOPrefs::SetRecordingDeviceDefault(wxCommandEvent& event)
 {
 #ifdef __WXGTK__
-	mRecordingDeviceCtrl->SetValue("/dev/dsp");
+	mRecordingDeviceCtrl->SetValue("/dev/sound");
 #endif // __WXGTK__
 }