Repository navigation
fix multichannel flac import - #10679
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI (base), Organization UI (inherited) Review profile: ASSERTIVE Plan: Pro Run ID: 📥 CommitsReviewing files that changed from the base of the PR and between 47fe7a15abedc1aa3f32599b8c1b17b6fdeea3d4 and de79fa2. 📒 Files selected for processing (2)
📝 WalkthroughSummary by CodeRabbit
WalkthroughThe FLAC importer now handles multi-channel files by replacing the single Sequence Diagram(s)sequenceDiagram
participant Decoder as FLAC decoder
participant MyFLACFile as MyFLACFile
participant FLACHandle as FLACImportFileHandle
participant TrackFactory as TrackFactory
participant ImportUtils as ImportUtils
participant Out as OutTracks
Note over FLACHandle,TrackFactory: Import start
FLACHandle->>TrackFactory: CreateMany(format) -> TrackListHolder mTracks
Decoder->>MyFLACFile: decoded_frame(callback)
MyFLACFile->>MyFLACFile: iterate mFile->mTracks, append samples
MyFLACFile-->>FLACHandle: samples written into mTracks
FLACHandle->>ImportUtils: FinalizeImport(outTracks, move(*mTracks))
ImportUtils->>Out: deliver finalized tracks
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Comment |
47fe7a1 to
de79fa2
Compare
Resolves: #6381 cherry pick of: #10679 <!-- Use "x" to fill the checkboxes below like [x] --> - [x] I signed [CLA](https://www.audacityteam.org/cla/) - [x] The title of the pull request describes an issue it addresses - [x] If changes are extensive, then there is a sequence of easily reviewable commits - [x] Each commit's message describes its purpose and effects - [x] There are no behavior changes unnecessary for the stated purpose of the PR Recommended: - [x] Each commit compiles and runs on my machine without known undesirable changes of behavior QA: - [ ] Autobot test cases have been run
Resolves: #6381
import as a multitrack list instead of a single track
Recommended:
QA: