mirror of https://github.com/mpv-player/mpv
ao_coreaudio: cosmetic change of loop ending condition
This commit is contained in:
parent
eb9d7d5c78
commit
39b316ff06
|
@ -371,7 +371,7 @@ static const int speaker_map[][2] = {
|
|||
|
||||
static int ca_label_to_mp_speaker_id(AudioChannelLabel label)
|
||||
{
|
||||
for (int i = 0; speaker_map[i][0] != kAudioChannelLabel_Unknown; i++)
|
||||
for (int i = 0; speaker_map[i][1] >= 0; i++)
|
||||
if (speaker_map[i][0] == label)
|
||||
return speaker_map[i][1];
|
||||
return -1;
|
||||
|
|
Loading…
Reference in New Issue