0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 20:03:10 +02:00

Mono audio should be supported by NAS, too.

Patch by Erik Auerswald {auerswal -at- unix-ag <dot> uni-kl de}


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23024 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2007-04-19 16:28:59 +00:00
parent b68346f582
commit 4e411b9089

View File

@ -445,7 +445,7 @@ static int init(int rate,int channels,int format,int flags)
return 0;
}
while (channels>1) {
while (channels>0) {
nas_data->dev = nas_find_device(nas_data->aud, channels);
if (nas_data->dev != AuNone &&
((nas_data->flow = AuCreateFlow(nas_data->aud, NULL)) != 0))