Fix error in TSoundOutputDevice::getPreferredFormat
This commit is contained in:
parent
0c9b91f95b
commit
0fcc299466
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue