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