rather large commit, it now handles memory and threading properly.

---

more thorough commit message which was generated by the wonderful copilot AI tool:

Refactor and enhance audio encoding and decoding pipelines

- Introduced CodecUtils.h for utility functions related to audio codec selection, including sample format and bitrate clamping.
- Added DecoderPipeline.h to manage audio decoding, including opening files and retrieving audio stream information.
- Implemented EncoderPipeline.h to handle audio encoding, including encoder setup, resampling, and writing output files.
- Created OutputPathBuilder.h to generate output file paths based on reencode job specifications.
- Refactored SpectrogramWidget to improve OpenGL handling and ensure safe context usage.
- Updated ReencodeDialog.h to enhance code readability and maintainability.
- Improved error handling and logging throughout the audio processing components.
This commit is contained in:
2026-07-01 09:56:37 +02:00
parent 51421ffc2b
commit 1a00e98661
19 changed files with 984 additions and 1084 deletions
+4
View File
@@ -46,6 +46,7 @@ clean_appimage() {
echo "No AppImage found, aborting"
}
case "${1:-build}" in
clean|c)
clean
@@ -65,6 +66,9 @@ case "${1:-build}" in
cai|clean_appimage|cleanimg)
clean_appimage
;;
cbr|clean_build_run)
clean_build && run_executable
;;
*)
echo "Usage: $0 {build|clean|cleanbuild|cb}"
exit 1