diff options
author | Chris Robinson <[email protected]> | 2014-11-08 05:53:17 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-11-08 05:53:17 -0800 |
commit | 3904a3f033ff2060bc8394164b437dabaf851046 (patch) | |
tree | 23c8415329f038fb8049f41e6e534ef21a37d7fa | |
parent | 74994e9d114953621042ab6b6f11cc7a4e32db94 (diff) |
Allow selecting the 5.1-rear channel config from the config file
-rw-r--r-- | Alc/ALc.c | 1 | ||||
-rw-r--r-- | alsoftrc.sample | 2 | ||||
-rw-r--r-- | utils/alsoft-config/mainwindow.cpp | 3 |
3 files changed, 4 insertions, 2 deletions
@@ -3277,6 +3277,7 @@ ALC_API ALCdevice* ALC_APIENTRY alcOpenDevice(const ALCchar *deviceName) { "surround51", DevFmtX51 }, { "surround61", DevFmtX61 }, { "surround71", DevFmtX71 }, + { "surround51rear", DevFmtX51Rear }, }; size_t i; diff --git a/alsoftrc.sample b/alsoftrc.sample index 705ca4c3..7ff618cc 100644 --- a/alsoftrc.sample +++ b/alsoftrc.sample @@ -33,7 +33,7 @@ ## channels: # Sets the output channel configuration. If left unspecified, one will try to # be detected from the system, and defaulting to stereo. The available values -# are: mono, stereo, quad, surround51, surround61, surround71 +# are: mono, stereo, quad, surround51, surround51rear, surround61, surround71 #channels = ## sample-type: diff --git a/utils/alsoft-config/mainwindow.cpp b/utils/alsoft-config/mainwindow.cpp index 13fdfe3f..802cc71e 100644 --- a/utils/alsoft-config/mainwindow.cpp +++ b/utils/alsoft-config/mainwindow.cpp @@ -41,7 +41,8 @@ static const struct { { "Mono", "mono" }, { "Stereo", "stereo" }, { "Quadrophonic", "quad" }, - { "5.1 Surround", "surround51" }, + { "5.1 Surround (Side)", "surround51" }, + { "5.1 Surround (Rear)", "surround51rear" }, { "6.1 Surround", "surround61" }, { "7.1 Surround", "surround71" }, |