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

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: 
1.7     ! maya       13: pulseaudio needs dbus to run. So if it's not running already:
1.3       wiz        14: 
1.7     ! maya       15:     cp /usr/pkg/share/examples/rc.d/dbus /etc/rc.d
        !            16:     echo dbus=YES >> /etc/rc.conf
1.3       wiz        17: 
1.2       schmonz    18: #  Third Party Applications 
                     19: 
                     20: ##  ALSA Applications 
                     21: 
                     22: Ignore on NetBSD? 
                     23: 
                     24: ##  Amarok (audio/amarok) 
                     25: 
                     26: Install audio/xine-pulse, select Xine engine and 'pulseaudio' backend. 
                     27: 
                     28: ##  Audacious (audio/audacious) 
                     29: 
                     30: Not tested. 
                     31: 
                     32: ##  Audacity (audio/audacity) 
                     33: 
                     34: 'padsp' method works. 'pasuspender' [crashes the daemon on resume](http://www.pulseaudio.org/ticket/466) (will be fixed in 0.9.15) 
                     35: 
                     36: ##  ESOUND Applications 
                     37: 
                     38: Create symlink manually: 
                     39:     
                     40:      mkdir -p /tmp/.esd && ln -s /tmp/.esd-${UID} /tmp/.esd/sound
                     41:     
                     42: 
                     43: ##  Flash Player (multimedia/ns-flash) 
                     44: 
                     45: Install multimedia/libflashsupport-pulse on i386 and amd64. Flash 7 on sparc not tested. 
                     46: 
                     47: ##  GNOME 
                     48: 
                     49: Works via GStreamer. 
                     50: 
                     51: ##  GStreamer Applications 
                     52: 
                     53: Install audio/gst-plugins0.10-pulse. 
                     54: 
                     55: ##  iaxComm 
                     56: 
                     57: Not in pkgsrc. 
                     58: 
                     59: ##  KDE 
                     60: 
                     61: pulseaudio crashes in protocol-esound.c:do_work(). Probably the same bug as [pa#463](http://www.pulseaudio.org/ticket/463). 
                     62: 
                     63: ##  libao Applications 
                     64: 
                     65: Install audio/libao-pulse. 
                     66: 
                     67: ##  MPD (audio/musicpd) 
                     68: 
1.5       wiz        69: Compile musicpd with the default-off pulseaudio option enabled.
                     70: 
                     71: Configure a matching audio_output section in mpd.conf:
                     72: 
                     73:     audio_output {
                     74:         type            "pulse"
                     75:         name            "Pulseaudio"
                     76:     }
1.2       schmonz    77: 
                     78: ##  MPlayer (multimedia/mplayer) 
                     79: 
                     80: pulseaudio support added in 1.0rc10nb12 and works. 
                     81:     
                     82:     $ mplayer -ao pulse myvideo.avi
1.4       wiz        83: 
                     84: or add the line
                     85: 
                     86:     ao=pulse
                     87: 
                     88: to .mplayer/config.
                     89: 
                     90: If you have audio/video sync problems, you can modify the sync with the plus ('+') and minus ('-') keys.
1.2       schmonz    91: 
                     92: ##  MPlayer plug-in (multimedia/mplayer-plugin-*) 
                     93: 
                     94: Not tested, but should work as described. 
                     95: 
                     96: ##  MythTV (wip/mythtv) 
                     97: 
                     98: WIP package is obsolete and does not build on NetBSD. 
                     99: 
                    100: ##  OpenAL Applications 
                    101: 
                    102: Not tested, but should work as described. 
                    103: 
                    104: ##  OSS Applications 
                    105: 
                    106: 'padsp' works. 
                    107: 
                    108: ##  SDL (devel/SDL) 
                    109: 
                    110: 1.2.12 in pkgsrc. Works fine. 
                    111: 
                    112: ##  Skype (net/skype) 
                    113: 
                    114: Not tested. 
                    115: 
                    116: ##  Teeworlds 
                    117: 
                    118: Not in pkgsrc. 
                    119: 
                    120: ##  TiMidity++ (audio/timidity) 
                    121: 
                    122: Works via libao -- install timidity-2.13.2nb10 and libao-pulse. 
                    123: 
                    124: ##  Totem (multimedia/totem) 
                    125: 
                    126: Works via GStreamer. 
                    127: 
                    128: ##  VideoLAN (multimedia/vlc) 
                    129: 
                    130: 0.9.8a in pkgsrc, pulseaudio supported. Not tested, but should work as described. 
                    131: 
                    132: ##  wavbreaker 
                    133: 
                    134: Not in pkgsrc. 
                    135: 
                    136: ##  WINE (emulators/wine) 
                    137: 
                    138: Not tested. 
                    139: 
                    140: ##  Xine 
                    141: 
                    142: Install audio/xine-pulse. 
                    143: 
                    144: ##  XMMS 
                    145: 
                    146: xmms-pulse not in pkgsrc; xmms-esound works, but can [crash pulseaudio](http://www.pulseaudio.org/ticket/481). 
                    147: 

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