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:
Ryan C. Gordon committed 2018-04-13 14:05:12 -04:00
1 parent 3377f9981a
commit 4f8c7c2f2f
5 files changed
+26 -4

No files matched your search

+1
View File
@@ -67,6 +67,7 @@ typedef struct {
int samples; // mono samples in buffer
int submission_chunk; // don't mix less than this #
int samplebits;
int isfloat;
int speed;
byte *buffer;
} dma_t;