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 channelCount,
|
||||||
int bitPerSample,
|
int bitPerSample,
|
||||||
int sampleType) {
|
int sampleType) {
|
||||||
TSoundTrackFormat fmt(sampleRate, bitPerSample, channelCount, true,
|
TSoundTrackFormat fmt(sampleRate, bitPerSample, channelCount, sampleType);
|
||||||
sampleType);
|
|
||||||
return fmt;
|
return fmt;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue