aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--alc/backends/sndio.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/alc/backends/sndio.cpp b/alc/backends/sndio.cpp
index f91fff9e..8af83226 100644
--- a/alc/backends/sndio.cpp
+++ b/alc/backends/sndio.cpp
@@ -194,6 +194,12 @@ bool SndioPlayback::reset()
ERR("Padded samples not supported (%u of %u bits)\n", par.bits, par.bps*8);
return false;
}
+ if(par.le != SIO_LE_NATIVE)
+ {
+ ERR("Non-native-endian samples not supported (got %s-endian)\n",
+ par.le ? "little" : "big");
+ return false;
+ }
mDevice->Frequency = par.rate;