aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-12-09 23:43:29 -0800
committerChris Robinson <[email protected]>2010-12-09 23:43:29 -0800
commit816c38e9e465d90b558127a231413261e3a9b481 (patch)
tree28e01efb2176779fb936983bc020c0a9c68ab779 /Alc
parent09130e5dcd7094b0726984c608a4bb764277eb6b (diff)
Add signed 8-bit output to the AudioIO backend
Diffstat (limited to 'Alc')
-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;