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:
1 parent
3377f9981a
commit
4f8c7c2f2f
5 files changed
+26
-4
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user