summaryrefslogtreecommitdiffstats
path: root/Alc/alsa.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/alsa.c')
-rw-r--r--Alc/alsa.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Alc/alsa.c b/Alc/alsa.c
index 2e33dd3f..bfac8be5 100644
--- a/Alc/alsa.c
+++ b/Alc/alsa.c
@@ -417,6 +417,9 @@ static ALCboolean alsa_start_context(ALCdevice *device, ALCcontext *context)
case 2:
data->format = SND_PCM_FORMAT_S16;
break;
+ case 4:
+ data->format = SND_PCM_FORMAT_FLOAT;
+ break;
default:
data->format = SND_PCM_FORMAT_UNKNOWN;
AL_PRINT("Unknown format?! %x\n", device->Format);