Support SDL audio devices that require float32 samples.
Fixes missing audio when playing on Windows with SDL 2.0.7, which started using WASAPI, which demands floating point audio.
This commit is contained in:
parent
3377f9981a
commit
4f8c7c2f2f
5 changed files with 26 additions and 4 deletions
|
@ -100,7 +100,7 @@ void S_Base_SoundInfo(void) {
|
|||
} else {
|
||||
Com_Printf("%5d stereo\n", dma.channels - 1);
|
||||
Com_Printf("%5d samples\n", dma.samples);
|
||||
Com_Printf("%5d samplebits\n", dma.samplebits);
|
||||
Com_Printf("%5d samplebits (%s)\n", dma.samplebits, dma.isfloat ? "float" : "int");
|
||||
Com_Printf("%5d submission_chunk\n", dma.submission_chunk);
|
||||
Com_Printf("%5d speed\n", dma.speed);
|
||||
Com_Printf("%p dma buffer\n", dma.buffer);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue