From 6aa84eff7dae24f77ed0a820c6dca42266bf8d93 Mon Sep 17 00:00:00 2001 From: Damien Walsh Date: Fri, 31 May 2013 02:14:33 +0100 Subject: Basic ALSA sound output support. * Host platform specific right now - see Vagrantfile. --- cookbooks/gnuradio/recipes/default.rb | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'cookbooks/gnuradio/recipes/default.rb') diff --git a/cookbooks/gnuradio/recipes/default.rb b/cookbooks/gnuradio/recipes/default.rb index e936588..53ffe64 100644 --- a/cookbooks/gnuradio/recipes/default.rb +++ b/cookbooks/gnuradio/recipes/default.rb @@ -115,3 +115,14 @@ bash 'Compile gqrx' do make EOH end + +bash 'Configure sound (alsa)' do + cwd '/' + code <<-EOH + adduser vagrant audio + amixer -c 0 -- sset Master playback -10dB + amixer -c 0 -- sset Master unmute + amixer -c 0 -- sset PCM playback -10dB + amixer -c 0 -- sset PCM unmute + EOH +end -- cgit v1.3.1