From 144059b062bd357cdec27416010872f37ef69cba Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 23 Jun 2013 22:47:51 -0700 Subject: Add a configuration UI application Not complete, but it's a decent start. Some problems: * Only some otions are handled (backend-specific options in particular aren't handled). * Does not warn when quitting with unsaved changes. * Some options are missing tooltips. --- utils/alsoft-config/mainwindow.ui | 1396 +++++++++++++++++++++++++++++++++++++ 1 file changed, 1396 insertions(+) create mode 100644 utils/alsoft-config/mainwindow.ui (limited to 'utils/alsoft-config/mainwindow.ui') diff --git a/utils/alsoft-config/mainwindow.ui b/utils/alsoft-config/mainwindow.ui new file mode 100644 index 00000000..1344554f --- /dev/null +++ b/utils/alsoft-config/mainwindow.ui @@ -0,0 +1,1396 @@ + + + MainWindow + + + + 0 + 0 + 564 + 473 + + + + OpenAL Soft Configuration + + + + + + + + + 470 + 405 + 81 + 25 + + + + Apply + + + + + + + + + 10 + 0 + 541 + 401 + + + + 0 + + + + Playback + + + + + 120 + 20 + 206 + 23 + + + + The output sample type. Currently, all mixing is done with 32-bit +float and converted to the output sample type as needed. + + + QComboBox::AdjustToContents + + + + - Autodetect - + + + + + int8 - signed 8-bit int + + + + + uint8 - unsigned 8-bit int + + + + + int16 - signed 16-bit int + + + + + uint16 - unsigned 16-bit int + + + + + int32 - signed 32-bit int + + + + + uint32 - unsigned 32-bit int + + + + + float32 - 32-bit float + + + + + + + 10 + 20 + 101 + 21 + + + + Sample Format: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + 10 + 50 + 101 + 21 + + + + Channels: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + 120 + 50 + 247 + 23 + + + + The output channel configuration. Note that not all backends +can properly detect the channel configuration and may default +to stereo output. + + + QComboBox::AdjustToContents + + + + - Autodetect - + + + + + mono - 1-channel Mono + + + + + stereo - 2-channel Stereo + + + + + quad - 4-channel Quadraphonic + + + + + surround51 - 5.1 Surround Sound + + + + + surround61 - 6.1 Surround Sound + + + + + surround71 - 7.1 Surround Sound + + + + + + + 120 + 80 + 123 + 22 + + + + The playback/mixing sample rate. + + + true + + + QComboBox::NoInsert + + + QComboBox::AdjustToContents + + + + - Autodetect - + + + + + 96000 + + + + + 48000 + + + + + 44100 + + + + + 32000 + + + + + 22050 + + + + + 16000 + + + + + 11025 + + + + + 8000 + + + + + + + 10 + 80 + 101 + 21 + + + + Sample Rate: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + 10 + 200 + 511 + 161 + + + + HRTF (Stereo only) + + + + + 20 + 30 + 71 + 21 + + + + Allows applications to request HRTF mixing. + + + Enable + + + true + + + + + + 20 + 50 + 71 + 21 + + + + Does not allow HRTF mixing, even when requested. + + + Disable + + + + + + 20 + 70 + 71 + 21 + + + + Attempts to force HRTF mixing, even if applications request not +to do it. This may override the channel configuration and +sample rate. + + + Force + + + + + + 110 + 30 + 361 + 121 + + + + A list of files containing HRTF data sets. The listed data sets +are used in place of or in addiiton to the the built-in set. The +filenames may contain these markers, which will be replaced +as needed: +%r - Device sampling rate +%% - Percent sign (%) + + + false + + + QAbstractItemView::InternalMove + + + true + + + QAbstractItemView::ExtendedSelection + + + Qt::ElideNone + + + + + + 475 + 30 + 25 + 25 + + + + + + + + + + + + false + + + + + + 475 + 60 + 25 + 25 + + + + + + + + + + + + + + + + 10 + 110 + 511 + 91 + + + + Buffer Metrics + + + + + 260 + 20 + 241 + 51 + + + + The number of update periods. Higher values create a larger +mix ahead, which helps protect against skips when the CPU is +under load, but increases the delay between a sound getting +mixed and being heard. + + + + + 20 + 0 + 201 + 21 + + + + Period Count + + + Qt::AlignCenter + + + + + + 70 + 20 + 160 + 23 + + + + 1 + + + 16 + + + 1 + + + 2 + + + 1 + + + true + + + Qt::Horizontal + + + QSlider::TicksBelow + + + 1 + + + + + + 20 + 20 + 51 + 22 + + + + 4 + + + + + + + 10 + 20 + 241 + 51 + + + + The update period size, in sample frames. This is the number of +frames needed for each mixing update. + + + + + 60 + 20 + 160 + 23 + + + + 0 + + + 8192 + + + 64 + + + 1024 + + + 0 + + + true + + + Qt::Horizontal + + + QSlider::TicksBelow + + + 512 + + + + + + 10 + 0 + 201 + 21 + + + + Period Samples + + + Qt::AlignCenter + + + + + + 10 + 20 + 51 + 22 + + + + 1024 + + + + + + + + Resources + + + + + 190 + 20 + 51 + 22 + + + + The maximum number of allocatable sources. Lower values may +help for systems with apps that try to play more sounds than +the CPU can handle. + + + + + + 3 + + + true + + + 256 + + + + + + 10 + 20 + 171 + 21 + + + + Number of Sound Sources: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + 10 + 50 + 171 + 21 + + + + Number of Effect Slots: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + 190 + 50 + 51 + 22 + + + + The maximum number of Auxiliary Effect Slots an app can +create. A slot can use a non-negligible amount of CPU time if +an effect is set on it even if no sources are feeding it, so this +may help when apps use more than the system can handle. + + + + + + 1 + + + true + + + 4 + + + + + + 10 + 80 + 171 + 21 + + + + Number of Source Sends: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + 190 + 80 + 51 + 22 + + + + The number of auxiliary sends per source. When not specified, +it allows the app to request how many it wants. The maximum +value currently possible is 4. + + + 1 + + + Auto + + + + + + 30 + 120 + 71 + 21 + + + + Resampler: + + + + + + 110 + 120 + 203 + 23 + + + + The resampling method used when mixing sources. + + + QComboBox::AdjustToContents + + + + - Default - + + + + + Point (low quality, fast) + + + + + Linear (basic quality, fast) + + + + + Cubic Spline (good quality) + + + + + + + 10 + 150 + 511 + 61 + + + + Disables use of specific CPU extensions. Certain methods may +utilize CPU extensions when detected, and this is useful for +preventing those extensions from being used. + + + CPU Extensions + + + + + 10 + 20 + 101 + 31 + + + + Disable SSE + + + + + + 200 + 20 + 111 + 31 + + + + Disable SSE2 + + + + + + 380 + 20 + 111 + 31 + + + + Disable Neon + + + + + + + Backends + + + + + 170 + 200 + 161 + 21 + + + + When checked, allows all other available backends not listed in the priority or disabled lists. + + + Allow Other Backends + + + true + + + + + + 40 + 40 + 191 + 151 + + + + The backend driver list order. Unknown backends and +duplicated names are ignored. + + + QAbstractItemView::InternalMove + + + + + + 40 + 20 + 191 + 20 + + + + Priority Backends: + + + + + + 270 + 40 + 191 + 151 + + + + Disabled backend driver list. + + + + + + 270 + 20 + 191 + 20 + + + + Disabled Backends: + + + + + + Effects + + + + + 10 + 60 + 161 + 21 + + + + Uses a simpler reverb method to emulate the EAX reverb +effect. This may slightly improve performance at the cost of +some quality. + + + Qt::RightToLeft + + + Emulate EAX Reverb: + + + + + + 10 + 100 + 511 + 61 + + + + Global amplification for reverb output, expressed in decibels. ++6 will be a scale of (approximately) 2x, +12 will be a scale of +4x, etc. Similarly, -6 will be about half, and -12 about 1/4th. A +value of 0 means no change. + + + Reverb Boost + + + + + 10 + 30 + 391 + 23 + + + + + + + -120 + + + 120 + + + Qt::Horizontal + + + QSlider::TicksBelow + + + 10 + + + + + + 410 + 30 + 51 + 22 + + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + 0.0 + + + + + + 460 + 30 + 31 + 21 + + + + dB + + + + + + + 9 + 170 + 511 + 181 + + + + Disables effects, preventing apps from recognizing them. This +can help for apps that try to use effects which are too CPU +intensive for the system to handle. + + + Disabled Effects + + + + + 70 + 30 + 131 + 21 + + + + EAX Reverb + + + + + + 70 + 60 + 131 + 21 + + + + Standard Reverb + + + + + + 70 + 90 + 131 + 21 + + + + Chorus + + + + + + 70 + 120 + 131 + 21 + + + + Distortion + + + + + + 70 + 150 + 131 + 21 + + + + Echo + + + + + + 320 + 30 + 131 + 21 + + + + Equalizer + + + + + + 320 + 60 + 131 + 21 + + + + Flanger + + + + + + 320 + 90 + 131 + 21 + + + + Ring Modulator + + + + + + 320 + 120 + 131 + 21 + + + + Disables both the Dedicated Dialog and Dedicated LFE effects +added by the ALC_EXT_DEDICATED extension. + + + Dedicated ... + + + + + + + 10 + 20 + 141 + 21 + + + + Default Reverb Effect: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + 160 + 20 + 142 + 23 + + + + QComboBox::AdjustToContents + + + + None + + + + + Generic + + + + + PaddedCell + + + + + Room + + + + + Bathroom + + + + + Livingroom + + + + + Stoneroom + + + + + Auditorium + + + + + ConcertHall + + + + + Cave + + + + + Arena + + + + + Hangar + + + + + CarpetedHallway + + + + + Hallway + + + + + StoneCorridor + + + + + Alley + + + + + Forest + + + + + City + + + + + Mountains + + + + + Quarry + + + + + Plain + + + + + ParkingLot + + + + + SewerPipe + + + + + Underwater + + + + + Drugged + + + + + Dizzy + + + + + Psychotic + + + + + + + + + + 0 + 0 + 564 + 20 + + + + + &File + + + + + + + + + + + TopToolBarArea + + + false + + + + + + + + + &Quit + + + + + + + + Save &As... + + + Save Configuration As + + + + + + + + &Load... + + + Load Configuration File + + + + + + + + actionQuit + activated() + MainWindow + close() + + + -1 + -1 + + + 267 + 181 + + + + + + ShowHRTFContextMenu(QPoint) + + -- cgit v1.2.3