Nia Alarie The kernel supports this, make SDL expose it so it can be used.
@@ -24,7 +24,7 @@
/*
* Driver for native NetBSD audio(4).
- * [email protected].
+ * [email protected]
*/
#include <errno.h>
@@ -261,6 +261,14 @@ NETBSDAUDIO_OpenDevice(_THIS, void *handle, const char *devname, int iscapture)
prinfo->encoding = AUDIO_ENCODING_ULINEAR_BE;
prinfo->precision = 16;
break;
+ case AUDIO_S32LSB:
+ prinfo->encoding = AUDIO_ENCODING_SLINEAR_LE;
+ prinfo->precision = 32;
+ break;
+ case AUDIO_S32MSB:
+ prinfo->encoding = AUDIO_ENCODING_SLINEAR_BE;
}
if (prinfo->encoding != AUDIO_ENCODING_NONE) {