diff --git a/mini_al.h b/mini_al.h index 33bfc4fb..cd546b3c 100644 --- a/mini_al.h +++ b/mini_al.h @@ -6642,6 +6642,7 @@ static mal_result mal_device_init__alsa(mal_context* pContext, mal_device_type t free(NAME); free(DESC); free(IOID); + ppNextDeviceHint += 1; if (foundDevice) { break; @@ -6832,8 +6833,6 @@ static mal_result mal_device_init__alsa(mal_context* pContext, mal_device_type t } } - - // Grab the internal channel map. For now we're not going to bother trying to change the channel map and // instead just do it ourselves. snd_pcm_chmap_t* pChmap = ((mal_snd_pcm_get_chmap_proc)pContext->alsa.snd_pcm_get_chmap)((snd_pcm_t*)pDevice->alsa.pPCM);