Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/volume control #250

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Feature/volume control #250

wants to merge 4 commits into from

Conversation

masmu
Copy link
Owner

@masmu masmu commented Nov 8, 2016

Experimental branch

- Normally the application volume for music is set to about 30%. Since that volume level is not changed when streaming the applications sound to a device and the device itself also has volume level the music can be very silent.
overall_volume = application_volume * device_volume

The idea is to remember the volume level of the device and set the device's volume to 100% while streaming. In that way you eliminate the device's volume and you are just using the computers volume.
overall_volume = application_volume * 1
overall_volume = application_volume

When you terminate the streaming the remembered device volume is getting restored, otherwise you blow up the users ears. Might be problematic when the application crashes ...
# Conflicts:
#	pulseaudio_dlna/plugins/renderer.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant