Incorrect source types in interactive mode
------------------------------------------

                 Key: LS-602
                 URL: http://dev.sourcefabric.org/browse/LS-602
             Project: Liquidsoap
          Issue Type: Bug
            Reporter: Samuel Mimram


Source types seem to be sometimes incorrect in interactive mode. For instance:

# s = single("test.mid");;
s : source(audio=2,video=0,midi=0) = <source>

Instead, we expect to have midi channels and no audio channel. This does not 
seem to be the case in script mode. For instance the following script is 
running fine:

s = single("test.mid")
s = mux_audio(audio=blank(),s)
s = synth.all.saw(s)
out(s)

But it fails to type if we try to execute it step by step in interactive mode:

# s = single("test.mid");;
s : source(audio=2,video=0,midi=0) = <source>
# s = mux_audio(audio=blank(),s);;
At line 2, char 7:
  this value has type
    source(audio=1+_,...) (infered at line 2, char -12--1)
  but it should be a subtype of
    source(audio=0,...)

-- 
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

        

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Savonet-devl mailing list
Savonet-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-devl

Répondre à