Skip to content

Commit

Permalink
Change internal conversion to 32bit float for mixing
Browse files Browse the repository at this point in the history
  • Loading branch information
manongjohn committed Mar 30, 2023
1 parent ebf0adb commit a71e0ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toonz/sources/toonzlib/txshsoundcolumn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1140,7 +1140,7 @@ TSoundTrackP TXshSoundColumn::mixingTogether(
TSoundTrackFormat fmt = mix->getFormat();
// Convert/mix everything at 32bit fixed.
if (fmt.m_bitPerSample != 32) fmt.m_bitPerSample = 32;
if (fmt.m_sampleType != TSound::INT) fmt.m_sampleType = TSound::INT;
if (fmt.m_sampleType != TSound::FLOAT) fmt.m_sampleType = TSound::FLOAT;
mix = TSop::convert(mix, fmt);
return mix;
}
Expand Down

0 comments on commit a71e0ca

Please sign in to comment.