# HG changeset patch # User reimar # Date 1177000139 0 # Node ID 512a16ec4bcbfb0b746120ef30d65b1024f7426e # Parent 661085642a710a5dee303c62c5f2eb5aab34932d Mono audio should be supported by NAS, too. Patch by Erik Auerswald {auerswal -at- unix-ag uni-kl de} diff -r 661085642a71 -r 512a16ec4bcb libao2/ao_nas.c --- 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))