diff options
| author | Calvin Morrison <calvin@pobox.com> | 2026-05-18 00:00:17 -0400 |
|---|---|---|
| committer | Calvin Morrison <calvin@pobox.com> | 2026-05-18 00:00:17 -0400 |
| commit | 65c7ea9fbf4886fa3d6127c5fa699520f30f386c (patch) | |
| tree | bca364e1c1f0244d477349345ec7dd531b8032f8 /src/ui/backendcontroller.h | |
| parent | 3909a06fe6786027c83e3adaef89c343cde4fbe3 (diff) | |
OSS backend for FreeBSD support
Adds a complete OSS audio backend alongside PulseAudio and ALSA:
- OssDevice/OssModel: enumerate /dev/mixer*, poll for changes at 500ms
- Full UI layer: mixer window, system tray, mini popup, per-channel widgets
- Fake mute (saves/restores volume since OSS has no mute bit)
- BackendController and PreferencesDlg updated; backend combo now uses
m_backendIds list so any combination of compiled-in backends works
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'src/ui/backendcontroller.h')
| -rw-r--r-- | src/ui/backendcontroller.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/ui/backendcontroller.h b/src/ui/backendcontroller.h index a6cfe6c..5938fdd 100644 --- a/src/ui/backendcontroller.h +++ b/src/ui/backendcontroller.h @@ -23,7 +23,8 @@ private slots: private: void stop(); void startPulse( bool showWindow = false ); - void startAlsa( bool showWindow = false ); + void startAlsa( bool showWindow = false ); + void startOss( bool showWindow = false ); TQString m_currentBackend; @@ -36,4 +37,9 @@ private: class AlsaMixerWindow *m_alsaWin; class AlsaTray *m_alsaTray; #endif +#ifdef WITH_OSS + class OssModel *m_ossModel; + class OssMixerWindow *m_ossWin; + class OssTray *m_ossTray; +#endif }; |
