Discussion:
[emms-help] [patch] PulseAudio volume
Rasmus
2015-03-13 00:18:53 UTC
Permalink
Hi,

I added support for the awesome¹ volume control of PuleAudio. It would be
great if somebody with more advance PA setup would test it before I push
it. ATM it increases the *system volume*, but in principal it could be
used to change the volume of whatever EMMS uses for playing. Let me know
if you think this something that EMMS should do (I don't know how to
actually do this via the terminal).

Thanks,
Rasmus

Footnotes:
¹ Why is PA awesome? Because it can set an arbitrary volume, e.g. 200%
which is great for laptops.
--
I hear there's rumors on the, uh, Internets. . .
Yoni Rabkin
2015-03-15 02:29:05 UTC
Permalink
Hi,
I added support for the awesome¹ volume control of PuleAudio. It would be
great if somebody with more advance PA setup would test it before I push
it.
I personally don't use Emms to set volume, but I don't see a reason why
you shouldn't go ahead and push this. That way it will be a lot easier
for people to try it out.
--
"Cut your own wood and it will warm you twice"
Rasmus
2015-03-15 15:32:17 UTC
Permalink
Post by Yoni Rabkin
Post by Rasmus
I added support for the awesome¹ volume control of PuleAudio. It would be
great if somebody with more advance PA setup would test it before I push
it.
I personally don't use Emms to set volume,
On my keyboard + (row 5) is closer than the volume button (row 7).
Post by Yoni Rabkin
but I don't see a reason why you shouldn't go ahead and push this. That
way it will be a lot easier for people to try it out.
I'm getting this weird error:

Counting objects: 8, done.
Delta compression using up to 7 threads.
Compressing objects: 100% (8/8), done.
Writing objects: 100% (8/8), 2.43 KiB | 0 bytes/s, done.
Total 8 (delta 6), reused 2 (delta 0)
error: unpack failed: unpack-objects abnormal exit
To git://git.savannah.gnu.org/emms.git
! [remote rejected] master -> master (n/a (unpacker error))
error: failed to push some refs to 'git://git.savannah.gnu.org/emms.git'

I've added the ssh key to the savannah repo.

Could there somehow be wrong permissions upstream when adding new files?

I've attached the updated patch, where you can set a max volume,
defaulting to 150% like Gnome.

—Rasmus
--
Need more coffee. . .
Yoni Rabkin
2015-03-17 01:32:56 UTC
Permalink
Post by Rasmus
Post by Yoni Rabkin
I added support for the awesome¹ volume control of PuleAudio. It would be
great if somebody with more advance PA setup would test it before I push
it.
I personally don't use Emms to set volume,
On my keyboard + (row 5) is closer than the volume button (row 7).
I use alsamixer in one of my gnu screen terminals... I don't even
remember why I do this.
Post by Rasmus
Post by Yoni Rabkin
but I don't see a reason why you shouldn't go ahead and push this. That
way it will be a lot easier for people to try it out.
Counting objects: 8, done.
Delta compression using up to 7 threads.
Compressing objects: 100% (8/8), done.
Writing objects: 100% (8/8), 2.43 KiB | 0 bytes/s, done.
Total 8 (delta 6), reused 2 (delta 0)
error: unpack failed: unpack-objects abnormal exit
To git://git.savannah.gnu.org/emms.git
! [remote rejected] master -> master (n/a (unpacker error))
error: failed to push some refs to 'git://git.savannah.gnu.org/emms.git'
I've added the ssh key to the savannah repo.
Could there somehow be wrong permissions upstream when adding new files?
I've attached the updated patch, where you can set a max volume,
defaulting to 150% like Gnome.
I've applied this. I didn't any errors. So perhaps something transient?
Sorry for the delay in getting around to this.
--
"Cut your own wood and it will warm you twice"
Rasmus
2015-03-17 02:06:37 UTC
Permalink
Post by Yoni Rabkin
Post by Rasmus
On my keyboard + (row 5) is closer than the volume button (row 7).
I use alsamixer in one of my gnu screen terminals... I don't even
remember why I do this.
I don't even have alsamixer any more, which is kind of sad... It used to
be a lifesaver as it made it easy to unmute.
Post by Yoni Rabkin
Post by Rasmus
I've attached the updated patch, where you can set a max volume,
defaulting to 150% like Gnome.
I've applied this. I didn't any errors. So perhaps something transient?
Sorry for the delay in getting around to this.
My fault. I was using the wrong url.

—Rasmus
--
Evidence suggests Snowden used a powerful tool called monospaced fonts
Loading...