What does the 'start' function on output.alsa do? #2290
Unanswered
vrtisworks
asked this question in
Q&A
Replies: 1 comment 2 replies
-
It is a legacy issue. We have two alsa output implementations, one when |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Here is some simple code that I don't understand.
#!/home/liquidsoap/.opam/default/bin/liquidsoap alsaDevice = "hw:CARD=Headphones" thesource=single("testSong.wav") localOut = output.alsa(id='localAudio', device="#{alsaDevice}", start=true, fallible=true,thesource) log("localOut: #{localOut.is_started()}:#{localOut.id()}") localOut.start() log("localOut: #{localOut.is_started()}:#{localOut.id()}")
This works fine.
But if I set the 'start=' parameter to start=false, nothing ever plays.
The log shows that 'is_started' goes from 'false' to 'true'
What concept am I missing?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions