input.external() is stupidly picky about channels
-------------------------------------------------

                 Key: LS-610
                 URL: http://dev.sourcefabric.org/browse/LS-610
             Project: Liquidsoap
          Issue Type: Bug
            Reporter: David Baelde


Not quite a bug but a bad design: input.external() expects you to fill in the 
channel information, and requires that it is the same as the type.

Either we let the user pick the number of channels and the type (difficult in 
this situation, but this explicit solution has some value), or allow to 
de-correlate the two (introduces an implicit conversion, not very 
controllable), or read the number of channels from the type (seems good enough, 
simple to implement and not more implicit/misleading than what we do with other 
operators).

Similar operators should be reviewed when fixing this.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://dev.sourcefabric.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Savonet-devl mailing list
Savonet-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-devl

Répondre à