Package Details: paswitch 0.1-1

Git Clone URL: https://aur.archlinux.org/paswitch.git (read-only)
Package Base: paswitch
Description: Switch PulseAudio sink for all applications from the commandline.
Upstream URL: http://www.tablix.org/~avian/blog/archives/2012/06/switching_pulseaudio_output_device/
Licenses: GPL
Provides: paswitch
Submitter: AndyPieters
Maintainer: AndyPieters
Last Packager: AndyPieters
Votes: 6
Popularity: 0.001378
First Submitted: 2013-12-26 11:29
Last Updated: 2015-06-11 14:57

Latest Comments

AndyPieters commented on 2016-12-10 18:35

Hi Skimir

I am unsure what the problem is you are experiencing. I'm able to download the tar just fine:

504 - [ Andy@Andy.AndyPieters.me.uk ~/sources/beeep ]
$ > yaourt -G paswitch
==> Download paswitch sources
Cloning into '.'...
remote: Counting objects: 4, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 4 (delta 0), reused 4 (delta 0)
Unpacking objects: 100% (4/4), done.

Exit status: 0
505 - [ Andy@Andy.AndyPieters.me.uk ~/sources/beeep ]
$ > cd paswitch/

Exit status: 0
506 - [ Andy@Andy.AndyPieters.me.uk ~/sources/beeep/paswitch ]
$ > makepkg
==> Making package: paswitch 0.1-1 (Sat 10 Dec 18:33:05 GMT 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Cloning paswitch-0.1 git repo...
Cloning into bare repository '/home/Andy/sources/makepkg.source.cache/paswitch-0.1'...
==> Validating source files with md5sums...
paswitch-0.1 ... Skipped
==> Extracting sources...
-> Creating working copy of paswitch git repo...
Cloning into 'paswitch-0.1'...
done.
==> Starting build()...
gcc -Wall -o paswitch main.c -lpulse
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
-> Removing libtool files...
-> Purging unwanted files...
-> Removing static library files...
-> Stripping unneeded symbols from binaries and libraries...
-> Compressing man and info pages...
==> Checking for packaging issue...
==> Creating package "paswitch"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Generating .MTREE file...
-> Compressing package...
==> Signing package...
-> Created signature file /home/Andy/sources/beeep/paswitch/paswitch-0.1-1-x86_64.pkg.tar.xz.sig.
==> Creating package "paswitch-debug"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Generating .MTREE file...
-> Compressing package...
==> Signing package...
-> Created signature file /home/Andy/sources/beeep/paswitch/paswitch-debug-0.1-1-x86_64.pkg.tar.xz.sig.
==> Leaving fakeroot environment.
==> Finished making: paswitch 0.1-1 (Sat 10 Dec 18:33:15 GMT 2016)

sikmir commented on 2016-12-10 17:04

fatal: unable to access 'https://www.tablix.org/~avian/git/paswitch.git/': Unknown SSL protocol error in connection to www.tablix.org:443

AndyPieters commented on 2013-12-26 11:31

Using
=====

To get a list of sinks on your system:

$ pactl list

Look for lines that look like this:

Sink #0
State: SUSPENDED
Name: alsa_output.pci-0000_01_00.1.hdmi-stereo
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

You need to supply this name to paswitch:

$ paswitch alsa_output.pci-0000_01_00.1.hdmi-stereo