[polypaudio-commits] r806 - /trunk/src/polyp/channelmap.c
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Wed Apr 26 09:27:04 PDT 2006
Author: lennart
Date: Wed Apr 26 18:27:01 2006
New Revision: 806
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=806&root=polypaudio&view=rev
Log:
it was a bad idea to require that a channel map doesn't contain the same position twice
Modified:
trunk/src/polyp/channelmap.c
Modified: trunk/src/polyp/channelmap.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/polyp/channelmap.c?rev=806&root=polypaudio&r1=805&r2=806&view=diff
==============================================================================
--- trunk/src/polyp/channelmap.c (original)
+++ trunk/src/polyp/channelmap.c Wed Apr 26 18:27:01 2006
@@ -286,16 +286,10 @@
return 0;
for (c = 0; c < map->channels; c++) {
- unsigned k;
if (map->map[c] < 0 ||map->map[c] >= PA_CHANNEL_POSITION_MAX)
return 0;
- /* Don't allow positions to be specified twice */
- for (k = 0; k < c; k++)
- if (map->map[k] == map->map[c])
- return 0;
-
}
return 1;
More information about the pulseaudio-commits
mailing list