Skip to content
Snippets Groups Projects
Commit 70be768e authored by David Trattnig's avatar David Trattnig
Browse files

Fixed ALSA handling.

parent 2524b9ea
No related branches found
No related tags found
No related merge requests found
......@@ -105,21 +105,21 @@ end
# line out #
############
def get_output(source, device, name)
def get_output(source, device, name) =
if device != "" then
if use_alsa == true then
log("--- Set ALSA Output ---")
if device == "default" then
output.alsa(id="lineout", bufferize = false, source)
else
output.alsa(id=name, device=device, bufferize = false, source)
end
log("--- Set ALSA Output ---")
elsif use_jack == true then
output.jack(id=name, source)
log("--- Set JACK AUDIO Output ---")
output.jack(id=name, source)
else
output.pulseaudio(id=name, client="AuraEngine Line OUT", source)
log("--- Set PULSE AUDIO Output ---")
output.pulseaudio(id=name, client="AuraEngine Line OUT", source)
end
else
log("OUTPUT DUMMY")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment