Fix error in TSoundOutputDevice::getPreferredFormat

This commit is contained in:
manongjohn 2023-02-26 23:15:58 -05:00
parent 0c9b91f95b
commit 0fcc299466

View file

@ -325,8 +325,7 @@ TSoundTrackFormat TSoundOutputDevice::getPreferredFormat(TUINT32 sampleRate,
int channelCount,
int bitPerSample,
int sampleType) {
TSoundTrackFormat fmt(sampleRate, bitPerSample, channelCount, true,
sampleType);
TSoundTrackFormat fmt(sampleRate, bitPerSample, channelCount, sampleType);
return fmt;
}