summaryrefslogtreecommitdiff
path: root/src/ui
AgeCommit message (Collapse)Author
2026-06-09fix systray opening wrong screen on PA backendHEADmasterCalvin Morrison
Show mixer would actually show devices if devices was previously opened becuase we were only just popping the window. instead now it works like show devices and always shows the mixer screen Signed-off-by: Calvin Morrison <calvin@pobox.com>
2026-05-29add global hotkeys for volume and mute across all backendsCalvin Morrison
Implements TDE Global hotkeys (volume up, volume down, mute, and mic mute for PulseAudio) like KMIX had Keys are unbound by default and configurable via Settings → Configure Global Shortcuts. OSS/ALSA target the user-configured preferred output device. Pusle is based on the current default device for mute/mic mute. Signed-off-by: Calvin Morrison <calvin@pobox.com>
2026-05-24fix issue slavek reported with peak lagging due to buffer and some other ↵Calvin Morrison
stuff. fixed
2026-05-24add Open Devices to pulse tray right-click menuCalvin Morrison
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-24show error page in OSS mixer window when backend fails to openCalvin Morrison
If /dev/mixer can't be opened (missing device, bad permissions, etc.) the window now shows the error reason instead of silently not appearing. The tray is also skipped in the error case. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-22sync headers to current wip builds of trinityCalvin Morrison
2026-05-22fix volume percent length change from expanding overall width by setting ↵Calvin Morrison
itinitially to the full width. fixes resize bug reported by pitriss
2026-05-21add missingle recording flagand-the-oss-you-rode-in-onCalvin Morrison
2026-05-21Qt->TQtCalvin Morrison
2026-05-21wall werr whateverCalvin Morrison
2026-05-18OSS backend for FreeBSD supportCalvin Morrison
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>
2026-05-17ALSA backend, backend switcher, UX fixesalsa-wipCalvin Morrison
- 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>
2026-05-17cleanupsCalvin Morrison
2026-05-17for the pulse peak streams do nothing if windows aren't open to reduce cpuCalvin Morrison
2026-05-16clean upsCalvin Morrison
2026-05-16add TDE_LIB_DIR / include stdint.h in headersCalvin Morrison
2026-05-16 add TQt to fix cmake failure.Calvin Morrison
2026-05-15Fix second-instance window raise bypassing focus-steal preventionCalvin Morrison
Replace raise()+setActiveWindow() with KWin::forceActiveWindow(), which sends _NET_ACTIVE_WINDOW at pager priority so the WM brings the window to the front instead of flashing the taskbar. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15Devices tab: per-sink/source port switchingCalvin Morrison
Add Output port / Input port dropdowns in the Devices tab for any sink or source that has 2+ ports. Selecting a port calls pa_context_set_sink/source_port_by_index live. Active port selection updates in-place when PA reports a port change externally. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15PA reconnect: recover cleanly when PulseAudio restartsCalvin Morrison
- On PA_CONTEXT_FAILED/TERMINATED, emit deviceRemoved for all devices so UI clears itself, then reconnect after 2s - Skip pa_context_disconnect and stream detach locks when PA is already dead to avoid hang in pa_threaded_mainloop_stop - Emit defaultOutputChanged(0)/defaultInputChanged(0) before deleting devices to prevent dangling pointer crash in TmixTray::setDevice - Disconnect all device signals before close() to avoid use-after-free from cross-device wiring (source→recording levelChanged bridge) - Icon: generate proper 22x22 (and 16/32/48) from source, install all sizes Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15Recording popup, level meters, UX polishCalvin Morrison
- Recording tray icon opens popup (mics + active recording streams) - Recording stream level meters forward from parent source signal - RecordingTray subclass for single-click (no double-click needed) - Context menu Set Default Output/Input shows checkmark when active - Last DeviceWidget in each row hides its right separator - Popup horizontal layout, configurable content (output/mic/apps) - Single-click tray, right-click menu for Open Mixer - Desktop file, icon, CMake install rules - Window bring-to-front across workspaces (KWin::forceActiveWindow) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15Full mixer implementation — tray, popup, prefs, devices tab with port ↵Calvin Morrison
indicators Adds the complete tmix feature set built since the initial skeleton: balance knob, level meters, KLed mute button, system tray with scroll-wheel volume and recording indicator, tray popup, preferences dialog, right-click context menus, single-instance enforcement, scroll area, window geometry persistence, and Devices tab with PA card profile switcher and live port availability indicators (2-column layout, in-place updates on plug/unplug). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-12Initial tmix skeleton — model layer + basic UICalvin Morrison
PulseModel: stable PulseDevice objects keyed by PA index, updated in-place via postEvent reconciliation. No bulk rebuilds. Three signals: deviceAdded, deviceRemoved (device changed handled per-device via volumeChanged/muteChanged/nameChanged). MixerWindow: four-tab layout (Output/Input/Playback/Recording), adds and removes individual DeviceWidgets in response to model signals. Builds and links cleanly against TQt3/TDE + libpulse. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>