diff options
| author | Calvin Morrison <calvin@pobox.com> | 2026-05-17 23:38:18 -0400 |
|---|---|---|
| committer | Calvin Morrison <calvin@pobox.com> | 2026-05-17 23:38:18 -0400 |
| commit | 3909a06fe6786027c83e3adaef89c343cde4fbe3 (patch) | |
| tree | f5ea87c98b50764c8ad87e598f274319df0e74db /src/model/pulsedevice.h | |
| parent | 311b69c14203860ab6d98bd11633eea287c8f04e (diff) | |
ALSA backend, backend switcher, UX fixesalsa-wip
- ALSA backend: AlsaModel, AlsaDevice, AlsaMixerWindow, AlsaTray, AlsaPopup
- BackendController: live pulse↔alsa switching, preserves window position/visibility
- PA shutdown fix: stop mainloop thread before disconnect/free to prevent crash
- Exit crash fix: BackendController deleted explicitly before TQApplication exits
- Waiting-for-PulseAudio placeholder when PA not connected
- Preferences: live backend stack (Pulse/ALSA), Startup/Exit card with autostart,
Recording card, no-tabs greying, remove stale "requires restart" label
- Recording tray: track source outputs directly; fix LED init in popup;
level meter forwarding for monitor-source recordings via m_monitorSourceToSink
- TmixTray: fix config group General→Tray for scroll/mute/popup settings;
RecordingTray suppresses right-click menu
- audiodevice.h: add recordingActive() virtual accessor
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'src/model/pulsedevice.h')
| -rw-r--r-- | src/model/pulsedevice.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/model/pulsedevice.h b/src/model/pulsedevice.h index 289f2ed..92e2ac9 100644 --- a/src/model/pulsedevice.h +++ b/src/model/pulsedevice.h @@ -16,9 +16,10 @@ public: TQString name() const { return m_name; } TQString iconName() const { return m_iconName; } Category category() const { return m_category; } - int volume() const { return m_volume; } - bool muted() const { return m_muted; } - int pan() const { return m_pan; } + int volume() const { return m_volume; } + bool muted() const { return m_muted; } + int pan() const { return m_pan; } + bool recordingActive() const { return m_recordingCount > 0; } uint32_t paIndex() const { return m_paIndex; } uint32_t sinkIndex() const { return m_sinkIndex; } TQString monitorName() const { return m_monitorName; } |
