Runtime HSDAOH/MISRC backend selection, dual-ADC Channel B support and first-connect fix - #15
Merged
Merged
Conversation
…e thread Implemented recording finalization in a separate thread Added finalization thread for recording stop process and updated related functions to manage thread states and synchronization. GUI can appear to freeze when finalising writing to spinning disk, due to low throughput completing writes.
Add function to check if finalization is in progress.
Updated record button functionality to support finalizing code and improved UI feedback during recording.
Added comments explaining the requirement of HSDAOH_UPSTREAM for Windows builds.
New feature - record button text displays 'finalize' if capture writes to disk is occuring. This is most useful when using RF steam flac compression with spinning disks <50MB/sec throughput.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Single binary supports both HSDAOH and MISRC hardware modes, selectable at runtime
via the existing MISRC/HSDAOH toggle button. No recompile needed to switch backends.
Changes
Runtime backend selection
Dual-ADC Channel B support (HSDAOH upstream path)
-- When dual-ADC detected, merges stream_id=0 (Ch A) and stream_id=1 (Ch B) into the same packed uint32 sample format that MISRC extraction already uses
Dual PCM1802 audio support
First-connect timeout fix
Other
Testing