Annotation of wikisrc/tutorials/using_pulseaudio.mdwn, revision 1.3

1.2       schmonz     1: **Contents**
                      2: 
                      3: [[!toc levels=2]]
                      4: 
                      5: #  Install All Utilities 
                      6: 
                      7: Install meta-pkgs/pulseaudio-tools. 
                      8: 
1.3     ! wiz         9: # Setup
        !            10: 
        !            11: ## Pre-requisites
        !            12: 
        !            13: pulseaudio needs hald to run. So if it's not running already:
        !            14: 
        !            15:     cp /usr/pkg/share/examples/rc.d/hal /etc/rc.d
        !            16:     echo hal=YES >> /etc/rc.conf
        !            17: 
        !            18: ## Configure it
        !            19: 
        !            20: pulseaudio needs the oss audio sink to be configured, i.e., it needs to be told
        !            21: about the sound card it should use. Thus, edit /usr/pkg/etc/pulse/default.pa,
        !            22: uncomment the "load-module module-oss" line and change it to point to the correct
        !            23: audio device, usually audio0:
        !            24: 
        !            25:     load-module module-oss device="/dev/audio0" sink_name=output source_name=input
        !            26: 
1.2       schmonz    27: #  Third Party Applications 
                     28: 
                     29: ##  ALSA Applications 
                     30: 
                     31: Ignore on NetBSD? 
                     32: 
                     33: ##  Amarok (audio/amarok) 
                     34: 
                     35: Install audio/xine-pulse, select Xine engine and 'pulseaudio' backend. 
                     36: 
                     37: ##  Audacious (audio/audacious) 
                     38: 
                     39: Not tested. 
                     40: 
                     41: ##  Audacity (audio/audacity) 
                     42: 
                     43: 'padsp' method works. 'pasuspender' [crashes the daemon on resume](http://www.pulseaudio.org/ticket/466) (will be fixed in 0.9.15) 
                     44: 
                     45: ##  ESOUND Applications 
                     46: 
                     47: Create symlink manually: 
                     48:     
                     49:      mkdir -p /tmp/.esd && ln -s /tmp/.esd-${UID} /tmp/.esd/sound
                     50:     
                     51: 
                     52: ##  Flash Player (multimedia/ns-flash) 
                     53: 
                     54: Install multimedia/libflashsupport-pulse on i386 and amd64. Flash 7 on sparc not tested. 
                     55: 
                     56: ##  GNOME 
                     57: 
                     58: Works via GStreamer. 
                     59: 
                     60: ##  GStreamer Applications 
                     61: 
                     62: Install audio/gst-plugins0.10-pulse. 
                     63: 
                     64: ##  iaxComm 
                     65: 
                     66: Not in pkgsrc. 
                     67: 
                     68: ##  KDE 
                     69: 
                     70: pulseaudio crashes in protocol-esound.c:do_work(). Probably the same bug as [pa#463](http://www.pulseaudio.org/ticket/463). 
                     71: 
                     72: ##  libao Applications 
                     73: 
                     74: Install audio/libao-pulse. 
                     75: 
                     76: ##  MPD (audio/musicpd) 
                     77: 
                     78: pulseaudio support not backported from SVN. 
                     79: 
                     80: ##  MPlayer (multimedia/mplayer) 
                     81: 
                     82: pulseaudio support added in 1.0rc10nb12 and works. 
                     83:     
                     84:     $ mplayer -ao pulse myvideo.avi
                     85:     
                     86: 
                     87: ##  MPlayer plug-in (multimedia/mplayer-plugin-*) 
                     88: 
                     89: Not tested, but should work as described. 
                     90: 
                     91: ##  MythTV (wip/mythtv) 
                     92: 
                     93: WIP package is obsolete and does not build on NetBSD. 
                     94: 
                     95: ##  OpenAL Applications 
                     96: 
                     97: Not tested, but should work as described. 
                     98: 
                     99: ##  OSS Applications 
                    100: 
                    101: 'padsp' works. 
                    102: 
                    103: ##  Real Player (multimedia/RealPlayerGold) 
                    104: 
                    105: Not tested. 
                    106: 
                    107: ##  SDL (devel/SDL) 
                    108: 
                    109: 1.2.12 in pkgsrc. Works fine. 
                    110: 
                    111: ##  Skype (net/skype) 
                    112: 
                    113: Not tested. 
                    114: 
                    115: ##  Teeworlds 
                    116: 
                    117: Not in pkgsrc. 
                    118: 
                    119: ##  TiMidity++ (audio/timidity) 
                    120: 
                    121: Works via libao -- install timidity-2.13.2nb10 and libao-pulse. 
                    122: 
                    123: ##  Totem (multimedia/totem) 
                    124: 
                    125: Works via GStreamer. 
                    126: 
                    127: ##  VideoLAN (multimedia/vlc) 
                    128: 
                    129: 0.9.8a in pkgsrc, pulseaudio supported. Not tested, but should work as described. 
                    130: 
                    131: ##  wavbreaker 
                    132: 
                    133: Not in pkgsrc. 
                    134: 
                    135: ##  WINE (emulators/wine) 
                    136: 
                    137: Not tested. 
                    138: 
                    139: ##  Xine 
                    140: 
                    141: Install audio/xine-pulse. 
                    142: 
                    143: ##  XMMS 
                    144: 
                    145: xmms-pulse not in pkgsrc; xmms-esound works, but can [crash pulseaudio](http://www.pulseaudio.org/ticket/481). 
                    146: 

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb