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 ...@@ -105,21 +105,21 @@ end
# line out # # line out #
############ ############
def get_output(source, device, name) def get_output(source, device, name) =
if device != "" then if device != "" then
if use_alsa == true then if use_alsa == true then
log("--- Set ALSA Output ---")
if device == "default" then if device == "default" then
output.alsa(id="lineout", bufferize = false, source) output.alsa(id="lineout", bufferize = false, source)
else else
output.alsa(id=name, device=device, bufferize = false, source) output.alsa(id=name, device=device, bufferize = false, source)
end end
log("--- Set ALSA Output ---")
elsif use_jack == true then elsif use_jack == true then
output.jack(id=name, source)
log("--- Set JACK AUDIO Output ---") log("--- Set JACK AUDIO Output ---")
output.jack(id=name, source)
else else
output.pulseaudio(id=name, client="AuraEngine Line OUT", source)
log("--- Set PULSE AUDIO Output ---") log("--- Set PULSE AUDIO Output ---")
output.pulseaudio(id=name, client="AuraEngine Line OUT", source)
end end
else else
log("OUTPUT DUMMY") 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