From 35b2237c440f454ab94824ae9f71585a702f4e26 Mon Sep 17 00:00:00 2001 From: David Reid <=> Date: Mon, 30 Jul 2018 08:54:08 +1000 Subject: [PATCH] OSS: Set the exclusive mode flag. --- mini_al.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mini_al.h b/mini_al.h index 140bd8b6..49e2400d 100644 --- a/mini_al.h +++ b/mini_al.h @@ -17460,6 +17460,8 @@ mal_result mal_device_init__oss(mal_context* pContext, mal_device_type type, con // Set the internal channel map. Not sure if this can be queried. For now just using the channel layouts defined in FreeBSD's sound(4) man page. mal_get_standard_channel_map(mal_standard_channel_map_sound4, pDevice->internalChannels, pDevice->internalChannelMap); + // OSS seems to be shared. + pDevice->exclusiveMode = MAL_FALSE; // When not using MMAP mode, we need to use an intermediary buffer for the client <-> device transfer. We do // everything by the size of a fragment.