Remove redundant OSS device option

Originally committed to SVN as r6341.
This commit is contained in:
Thomas Goyne 2012-01-23 19:02:05 +00:00
parent 1f8005d8d1
commit 2e37ba8246
2 changed files with 1 additions and 4 deletions

View File

@ -74,7 +74,7 @@ void OSSPlayer::OpenStream()
bpf = provider->GetChannels() * provider->GetBytesPerSample();
// Open device
wxString device = lagi_wxString(OPT_GET("Audio/OSS/Device")->GetString());
wxString device = lagi_wxString(OPT_GET("Player/Audio/OSS/Device")->GetString());
dspdev = ::open(device.mb_str(wxConvUTF8), O_WRONLY, 0);
if (dspdev < 0) {
throw OSSError("OSS player: opening device failed", 0);

View File

@ -63,9 +63,6 @@
"Lock Scroll on Cursor" : false,
"Medusa Timing Hotkeys" : false,
"Next Line on Commit" : true,
"OSS" : {
"Device" : "/dev/dsp"
},
"Player" : "",
"Plays When Stepping Video" : false,
"Provider" : "ffmpegsource",