Commit 968905c9 authored by David Reid's avatar David Reid

OSS: Fix a bug where the internal sample rate is incorrectly set.

parent d6035a44
...@@ -8363,7 +8363,7 @@ static mal_result mal_device_init__oss(mal_context* pContext, mal_device_type ty ...@@ -8363,7 +8363,7 @@ static mal_result mal_device_init__oss(mal_context* pContext, mal_device_type ty
return mal_post_error(pDevice, "[OSS] Failed to set sample rate.", MAL_FORMAT_NOT_SUPPORTED); return mal_post_error(pDevice, "[OSS] Failed to set sample rate.", MAL_FORMAT_NOT_SUPPORTED);
} }
pDevice->sampleRate = ossSampleRate; pDevice->internalSampleRate = ossSampleRate;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment