Commit Graph

19 Commits

Author SHA1 Message Date
Robin E. R. Davies 41e0031bdf Update copyrights 2025-09-11 22:30:02 -04:00
Robin E. R. Davies dd8a500891 Alsa device enumeration, Audio Device dialog tuning, minimum buffer size support (gx plugins). 2025-09-11 08:59:49 -04:00
Robin E. R. Davies 367394843a Split IO dialog fixes. 2025-09-09 15:25:26 -04:00
Robin E. R. Davies c5a8345192 Splitio merge checkpoint 2025-09-08 22:56:06 -04:00
Robin E. R. Davies 74b71bb9b1 Merge branch 'splitio_base' of https://github.com/rerdavies/pipedal into dev_splitio_merge 2025-09-08 08:55:44 -04:00
Extremesecrecy 553bcdee5c Update PiPedalAlsa.cpp
err and brackets fix
2025-07-28 14:00:02 -07:00
Extremesecrecy 56d66ef7db Tabs and check script and dependency
Removed tabs (tabs to spaces). Remove the check_deps.sh. removed libwebsocketpp-dev from dependencies. BTW, this is in cmake.yml.
2025-07-24 20:31:40 -07:00
Extremesecrecy 874d859916 Email Changes - Backwards Compatibility
Introduce legacy alsaDevice_ field in JackServerSettings to preserve compatibility with older configs. Include this field in serialization to allow old config files to load. Add migration logic in Storage::GetJackServerSettings to copy the legacy device value to new separate input/output fields and clear the legacy value after migration.

Update frontend validation so that device selections are only validated when the user presses OK. Improve buffer selection logic to prioritize 32×4, then other x4, x3, or x2 options, falling back to 64×3 if none match.

Use standard MUI styling for device selectors. Labels stay above the field and no longer animate. Dropdown labels now use background padding to prevent underline overlap.

Add a compactWidth flag to adjust layout on narrow screens. Stack device selectors vertically in compact mode while keeping the refresh button on the right. Refreshing ALSA info sets unknown device IDs to a blank value.

Add real-time status updates with a polling timer. Separate Apply and OK handlers so settings can be tested without closing the dialog. Add an Apply button alongside Cancel and OK.

Update the UI summary logic to show “Input → Output” when devices differ and “Not selected” when config is incomplete. Filter out internal devices like HDMI and bcm2835 from the device list.

Retain the legacy alsaDevice_ field in the JSON for backward compatibility, with helper accessors and documentation for legacy constructor behavior. Update latency text calculation to show when sample rate and buffer size are defined, even if the config is invalid.

Removed libsdl2-dev from dependency checking and dependencies.
2025-07-24 19:27:39 -07:00
Extremesecrecy 43cc758d18 Revise device configuration logic and settings
The ALSA device scanner no longer inserts default sample rates when it cannot read them, preventing invalid frequency choices

Jack server settings now accept independent input and output devices during construction

The latency test utility was updated to handle separate input and output device parameters and display them accordingly

The help text for the latency tool documents the new usage with optional output device specification

Device lists in the configuration dialog are sorted to prefer devices supporting capture and playback, then USB devices, while refresh preserves existing selections
2025-07-24 07:45:02 -07:00
Extremesecrecy 059922f71f Update PiPedalAlsa.cpp
Added error checks around ALSA rate queries so that if querying the minimum rate fails, a warning is logged and 48 kHz is used as a default

When querying the maximum rate fails, the code now warns and falls back to 48 kHz; otherwise it populates valid rates and ensures a fallback if none are found

Buffer size retrieval now occurs after handling rate queries, maintaining previous behavior while supporting the new fallback logic
2025-07-23 22:48:22 -07:00
Robin Davies 77d8672ca6 Revert "Split IO" 2025-07-23 22:25:07 -04:00
ExtremesecrecyOne 6ac8968583 Devices with only I or O Fix
Added new fields to track ALSA device capabilities, letting the application know whether a device supports capture or playback

Updated serialization to include the new flags in the JSON data exchanged with the UI

Modified the dummy driver so test devices always indicate capture and playback support

Adjusted the TypeScript model and dialog to filter device choices based on the new flags, ensuring only valid options appear in selectors
2025-07-23 12:18:19 -07:00
Robin E. R. Davies 862d5b6315 ALSA Sequencer Interim checkin. 2025-06-28 18:41:44 -04:00
Robin E. R. Davies acb668853b Alsa Sequencer Tests 2025-06-27 14:24:58 -04:00
Robin Davies 440f85e1d1 pipedald uses service.conf instead of a commandline option. 2024-09-05 13:31:09 -04:00
Robin Davies 0a67b39103 0.9.11-rc-2
Switch from JACK to ALSA audio.
2022-07-01 21:15:57 -04:00
Robin Davies 4aa179f0b0 Copyright update. 2022-03-02 13:59:58 -05:00
Robin Davies 57ecc0d9ef Re-order service startup (Jack Server Settings) 2021-08-29 21:20:42 -04:00
Robin Davies 94c7d406f7 Jack configuration (alpha) 2021-08-29 14:04:59 -04:00