[New Port] sysutils/sndy: sound switcher sndy - is an audio switching program that allows you to redirect sound output to any port of your computer. The buttons in the program correspond to the init line in your /dev/sndstat. Pressing the button toggles the sound output with the sysctl command hw.snd.default_unit=<X>. Do not switch audio output during playback of a single audio file. The OSS sound system can only play sound to one device at a time. Therefore, you need to wait for the end or completion of the previous sound file before switching. The scroll bar can be used to change the volume level. The volume is changed using the mixer vol <indicator>*10 command. That is, each digit from 0 to 10 multiplied by 10 corresponds to a percentage of volume. The selected pcm is only saved until you reboot. To save the default sound output, add hw.snd.default_unit=<number> to the system file /etc/sysctl.conf PR: 268570
Details
- Reviewers
eduardo flo grahamperrin diizzy - Commits
- R11:d61ab0f964be: sysutils/sndy: new port
Tested on i386 amd64 FreeBSD 12.4 13.1. arm64 pending.
See http://fuz.su/~fuz/freebsd/batch1/
Diff Detail
- Repository
- rP FreeBSD ports repository
- Lint
No Lint Coverage - Unit
No Test Coverage - Build Status
Buildable 49725 Build 46615: arc lint + arc unit
Event Timeline
sysutils/sndy/pkg-descr | ||
---|---|---|
2 | ||
5–17 | From the Note under https://docs.freebsd.org/en/books/porters-handbook/book/#porting-pkg-descr:
A translated user's guide might be better at or around https://github.com/Clockwork6400/sndy#readme. |
sysutils/sndy/pkg-descr | ||
---|---|---|
5–17 | I had instructed the submitter to expand pkg-descr as it did not met the length requirement. I will instruct the submitter to shorten it so it no longer reads like a manual and to translate his README. |
Updated pkg-descr with a less verbose version as per guidance
from grahamperrin. Approval from submitter has been obtained
for this change. Submitter has added old pkg-descr to his
project README.
sysutils/sndy/Makefile | ||
---|---|---|
28 | INSTALL_DATA instead? |
Updated the patch to use INSTALL_DATA for the desktop file.
arm64 builds have meanwhile concluded and can be found in the same
place as the other builds.
sysutils/sndy/Makefile | ||
---|---|---|
3 | This should use DISTVERSION | |
19 | If you're going to hardcode a version you also need to depend on it |
You don't need to wait on submitter to change a line, just upload a new patch with the change.
sysutils/sndy/Makefile | ||
---|---|---|
19 | Guess I was a bit unclear about my intentions, does it work with all available versions as it's hardcoded by default? |
sysutils/sndy/Makefile | ||
---|---|---|
19 | Upstream has told me that any tcl version is fine. |
Upstream has changed which commit the 0.0.4 tag refers to. Will commit after re-testing.