forked from mia/Aegisub
Remove redundant OSS device option
Originally committed to SVN as r6341.
This commit is contained in:
parent
1f8005d8d1
commit
2e37ba8246
2 changed files with 1 additions and 4 deletions
|
@ -74,7 +74,7 @@ void OSSPlayer::OpenStream()
|
||||||
bpf = provider->GetChannels() * provider->GetBytesPerSample();
|
bpf = provider->GetChannels() * provider->GetBytesPerSample();
|
||||||
|
|
||||||
// Open device
|
// 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);
|
dspdev = ::open(device.mb_str(wxConvUTF8), O_WRONLY, 0);
|
||||||
if (dspdev < 0) {
|
if (dspdev < 0) {
|
||||||
throw OSSError("OSS player: opening device failed", 0);
|
throw OSSError("OSS player: opening device failed", 0);
|
||||||
|
|
|
@ -63,9 +63,6 @@
|
||||||
"Lock Scroll on Cursor" : false,
|
"Lock Scroll on Cursor" : false,
|
||||||
"Medusa Timing Hotkeys" : false,
|
"Medusa Timing Hotkeys" : false,
|
||||||
"Next Line on Commit" : true,
|
"Next Line on Commit" : true,
|
||||||
"OSS" : {
|
|
||||||
"Device" : "/dev/dsp"
|
|
||||||
},
|
|
||||||
"Player" : "",
|
"Player" : "",
|
||||||
"Plays When Stepping Video" : false,
|
"Plays When Stepping Video" : false,
|
||||||
"Provider" : "ffmpegsource",
|
"Provider" : "ffmpegsource",
|
||||||
|
|
Loading…
Reference in a new issue