Mercurial > mplayer.hg
diff libao2/ao_nas.c @ 23006:512a16ec4bcb
Mono audio should be supported by NAS, too.
Patch by Erik Auerswald {auerswal -at- unix-ag <dot> uni-kl de}
author | reimar |
---|---|
date | Thu, 19 Apr 2007 16:28:59 +0000 |
parents | 24ae1f262dc2 |
children | acfe034e5386 |
line wrap: on
line diff
--- a/libao2/ao_nas.c Wed Apr 18 19:25:52 2007 +0000 +++ b/libao2/ao_nas.c Thu Apr 19 16:28:59 2007 +0000 @@ -445,7 +445,7 @@ 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))