Advertisement
bossjones

pulse_audio_install_raspberrypi_attempt

Jul 22nd, 2013
282
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.66 KB | None | 0 0
  1. # Note theres probably some overlap with these two install commands....still developing/figuring out what i need. will refactor later
  2. apt-get install pulseaudio pulseaudio-dbg libpulse-dev libpulse-mainloop-glib0 libpulse0 libpulse0-dbg pulseaudio-esound-compat pulseaudio-esound-compat-dbg libpulse-dev pulseaudio-module-zeroconf -y
  3.  
  4. apt-get install pulseaudio libao4 paprefs libpulse-mainloop-glib0 pulseaudio-module-jack pavucontrol pulseaudio-module-x11 gstreamer0.10-pulseaudio pulseaudio-utils libasound2-plugins paman pulseaudio-module-gconf libgconfmm-2.6-1c2 pavumeter libglademm-2.4-1c2a pulseaudio-esound-compat libpulse0 libpulse-dev pulseaudio-module-bluetooth pulseaudio-module-zeroconf libpulse-dev libpulse-mainloop-glib0 libpulse-mainloop-glib0-dbg libpulse0 libpulse0-dbg pulseaudio-module-zeroconf pulseaudio-module-zeroconf-dbg -y
  5.  
  6. # per instructions from http://forums.debian.net/viewtopic.php?f=16&t=12497
  7. # backup existing conf file
  8. \cp -pf /etc/asound.conf /etc/asound.conf.ORIG
  9. echo 'pcm.pulse {
  10.    type pulse
  11. }
  12.  
  13. ctl.pulse {
  14.    type pulse
  15. }
  16.  
  17. pcm.!default {
  18.    type pulse
  19. }
  20.  
  21. ctl.!default {
  22.    type pulse
  23. }' > /etc/asound.conf
  24.  
  25. # start the daemon
  26. pulseaudio -D
  27.  
  28. # Note: /usr/install is a directory I made....clearly
  29.  
  30. # uninstall sphinxbase to make sure it compiles against pulseaudio
  31. cd /usr/install/sphinxbase-0.8
  32. make uninstall
  33.  
  34. # uninstall pocketsphix to make sure it compiles against pulseaudio
  35. cd /usr/install/pocketsphinx-0.8
  36. make uninstall
  37.  
  38. # re-install sphinxbase
  39. cd /usr/install/sphinxbase-0.8
  40. ./configure
  41. make
  42. make install
  43.  
  44. # re-install pocketsphinx
  45. cd /usr/install/pocketsphinx-0.8
  46. ./configure
  47. make
  48. make install
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement