output/winmm: 8 bit playback is not supported
Everything must be S16.
This commit is contained in:
parent
ee026386e5
commit
1859ba5ec8
2
NEWS
2
NEWS
|
@ -2,6 +2,8 @@ ver 0.19.20 (not yet released)
|
|||
* decoder
|
||||
- ffmpeg: ignore empty packets
|
||||
- sidplay: fix playback speed with libsidplayfp
|
||||
* output
|
||||
- winmm: fix 8 bit playback
|
||||
|
||||
ver 0.19.19 (2016/08/23)
|
||||
* decoder
|
||||
|
|
|
@ -148,10 +148,10 @@ winmm_output_open(AudioOutput *ao, AudioFormat &audio_format,
|
|||
}
|
||||
|
||||
switch (audio_format.format) {
|
||||
case SampleFormat::S8:
|
||||
case SampleFormat::S16:
|
||||
break;
|
||||
|
||||
case SampleFormat::S8:
|
||||
case SampleFormat::S24_P32:
|
||||
case SampleFormat::S32:
|
||||
case SampleFormat::FLOAT:
|
||||
|
|
Loading…
Reference in New Issue