diff options
| author | Daniil Cherednik <[email protected]> | 2026-05-02 23:40:10 +0200 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2026-05-02 23:42:38 +0200 |
| commit | 93e92ee09faa942eefa997e244a7e7b519a51119 (patch) | |
| tree | 2fb7725956f9e85edf78cd363b14fbe86c455c1a /src | |
| parent | 1186ae7be5c5a4f335dbf6f3a768e3792ee4bcb2 (diff) | |
Fix mono AT3 RIFF channel count. issues/67
AT3 RIFF output always stores a two-channel ATRAC3 stream.
Mono input is encoded as duplicated single channels or as joint stereo with an empty side channel.
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index b1356b0..46a04b4 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -219,7 +219,7 @@ static void PrepareAtrac3Encoder(const string& inFile, string contName; if (ext == "wav" || ext == "at3") { contName = "AT3 (RIFF)"; - omaIO = CreateAt3Output(outFile, numChannels, numFrames, + omaIO = CreateAt3Output(outFile, 2, numFrames, encoderSettings.ConteinerParams->FrameSz, encoderSettings.ConteinerParams->Js); } else if (ext == "rm") { |
