aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-06-07 11:47:39 -0700
committerChris Robinson <[email protected]>2020-06-07 11:47:39 -0700
commit2a324d34be37ffb7129a6008a4e0b79ee2307d63 (patch)
treece7cb83d6513380542d2d97e49aa0c0462e4f78a
parentb4a52321c4ad8e8bc0eb29d2cdae2c043fc405e1 (diff)
Fix a return value
-rw-r--r--alc/backends/sndio.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/backends/sndio.cpp b/alc/backends/sndio.cpp
index 90233a89..f91fff9e 100644
--- a/alc/backends/sndio.cpp
+++ b/alc/backends/sndio.cpp
@@ -192,7 +192,7 @@ bool SndioPlayback::reset()
if(par.bits != par.bps*8)
{
ERR("Padded samples not supported (%u of %u bits)\n", par.bits, par.bps*8);
- return true;
+ return false;
}
mDevice->Frequency = par.rate;