aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Alc/solaris.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Alc/solaris.c b/Alc/solaris.c
index b8f9ef6e..b7ca032e 100644
--- a/Alc/solaris.c
+++ b/Alc/solaris.c
@@ -141,8 +141,9 @@ static ALCboolean solaris_reset_playback(ALCdevice *device)
switch(device->FmtType)
{
case DevFmtByte:
- device->FmtType = DevFmtUByte;
- /* fall-through */
+ info.play.precision = 8;
+ info.play.encoding = AUDIO_ENCODING_LINEAR;
+ break;
case DevFmtUByte:
info.play.precision = 8;
info.play.encoding = AUDIO_ENCODING_LINEAR8;