aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/solaris.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/solaris.c')
-rw-r--r--Alc/solaris.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Alc/solaris.c b/Alc/solaris.c
index 08ebdb4c..50c16a06 100644
--- a/Alc/solaris.c
+++ b/Alc/solaris.c
@@ -59,8 +59,7 @@ static ALuint SolarisProc(ALvoid *ptr)
SetRTPriority();
- frameSize = aluChannelsFromFormat(pDevice->Format) *
- aluBytesFromFormat(pDevice->Format);
+ frameSize = aluFrameSizeFromFormat(pDevice->Format);
while(!data->killNow && pDevice->Connected)
{