lib/volay/config.rb in volay-2.0.0 vs lib/volay/config.rb in volay-2.1.0
- old
+ new
@@ -58,9 +58,10 @@
##
# Initialize mixer for controlling volume
#
def self.mixer
raise MixerNotFound unless which('pacmd')
+
@mixer ||= Volay::Mixer::Pulse.new
end
##
# Cross-platform way of finding an executable in the $PATH.