kmonsoor / pyglet

Automatically exported from code.google.com/p/pyglet
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

'pulse' audio driver sets the volume to 100% #637

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When using "pulse" audio driver (setting it with pyglet.options['audio']), 
pyglet changes the volume to the maximum (100%).

This is not happening with 'openal'.

This is Fedora 17 with pulseaudio 1.1 (i686) with AVbin 11 alpha (I can 
reproduce it with ABbin 10 that besides has other issues).

Original issue reported on code.google.com by useboxnet on 24 Mar 2013 at 8:12

GoogleCodeExporter commented 9 years ago
Forgot to mention: this is with pyglet 1.2 alpha1.

Original comment by useboxnet on 19 May 2013 at 8:04

GoogleCodeExporter commented 9 years ago
Well, I've been comparing openal and directsound drivers with the pulse driver 
and although in all cases volume is 1.0 (max), neither OpenALAudioPlayer nor 
DirectSoundAudioPlayer set the volume as part of their initialization and 
that's why the system volume isn't changed.

I propose pyglet does the same for pulse driver. I'm attaching a path, although 
the change is trivial as you can see.

Original comment by useboxnet on 19 May 2013 at 9:33

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed in eb6ff34e1ce8

Original comment by useboxnet on 17 Jul 2013 at 5:20