Skip to content

tomyl/pap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pap 🎤 🔈

Build Status Go Report Card

A simple pulseaudio profile manager. Makes it easy to switch between pairs of sources/sinks.

Usage

Use pap -next-sink to cycle between sinks. The chosen sink will be marked as default and active playback streams will switch to it. If the card providing the sink has a source, that will become the default source. Use pap -list-sinks to show available sinks.

$ pap -next-sink
Activated NuForce µDAC 2 Analog Stereo.
$ pap -list-sinks                         
Built-in Audio Digital Stereo (HDMI)
Built-in Audio Analog Stereo
ClearChat Pro USB Analog Stereo
NuForce µDAC 2 Analog Stereo [current]

You can also save custom source/sink pairs as a profile:

$ pavucontrol # choose default source and sink
$ pap -add headset   
Added profile headset.
$ pap -list
headset [current]
laptop
nuforce
$ pap -next
Activated laptop.

Tip: use e.g. pap -next -notify to show messages in desktop notifcations instead of standard output.

Installation

$ apt-get install libpulse-dev
$ go get github.com/tomyl/pap
$ ~/go/bin/pap -help

About

A simple pulseaudio profile manager

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages