LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-09-2016, 05:08 PM   #1
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,952

Rep: Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148
sync problems with Volume


I am running xfce4 I have the xfce4-pulseaudio-plugin (volume icon) on my menu bar, I have pavucontrol installed. whenever I am running music through mplayer. When I adjust the volume it does not work properly. I can take it up to 100% and still it is like "I still cannot hear it that well" so I open pavucontrol and it shows it at like way low 20% ect. but NOT 100% like that volume ICON does.

Is their a way to keep that in sync?
 
Old 11-09-2016, 08:34 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 17,506
Blog Entries: 28

Rep: Reputation: 5434Reputation: 5434Reputation: 5434Reputation: 5434Reputation: 5434Reputation: 5434Reputation: 5434Reputation: 5434Reputation: 5434Reputation: 5434Reputation: 5434
When you refer to the "volume button," what volume button are you referring to precisely? If it's an XFCE volume button, it could be that it does not affect the output of a program run in a terminal directly from the command line--I don't really have a way of testing that tonight.

Try changing the setting in pavucontrol, then testing how that affects the output in mplayer.
 
Old 11-09-2016, 08:42 PM   #3
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,952

Original Poster
Rep: Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148
Quote:
Originally Posted by frankbell View Post
When you refer to the "volume button," what volume button are you referring to precisely? If it's an XFCE volume button, it could be that it does not affect the output of a program run in a terminal directly from the command line--I don't really have a way of testing that tonight.

Try changing the setting in pavucontrol, then testing how that affects the output in mplayer.
the word "button", and the phrase "volume button" is no where in any part of my post. whatsoever.

that is what I said I did, I have to use pavucontrol to reset the volume to match the ICON that from the xfce4-pulseaudio-plugin (volume icon) on my menu bar. in the add new items it is the pulseaudio plugin speaker icon that goes up on the menu bar that the wheel on the mouse can turn up and down the volume of whatever is playing sound.
 
Old 11-09-2016, 08:46 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 17,506
Blog Entries: 28

Rep: Reputation: 5434Reputation: 5434Reputation: 5434Reputation: 5434Reputation: 5434Reputation: 5434Reputation: 5434Reputation: 5434Reputation: 5434Reputation: 5434Reputation: 5434
I apologize for misreading. I must have made the leap from the phrase "volume icon."

Thanks for straightening me out.

When you open the full pavucontrol panel and change the volume, does that affect the mplayer volume? If not, try opening alsamixer, it it's present (and it is on Slackware), and testing the volume there. Let us know whether that makes a difference.

Last edited by frankbell; 11-09-2016 at 08:51 PM.
 
Old 11-10-2016, 07:00 AM   #5
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,952

Original Poster
Rep: Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148
Quote:
Originally Posted by frankbell View Post
I apologize for misreading. I must have made the leap from the phrase "volume icon."

Thanks for straightening me out.

When you open the full pavucontrol panel and change the volume, does that affect the mplayer volume? If not, try opening alsamixer, it it's present (and it is on Slackware), and testing the volume there. Let us know whether that makes a difference.
further details,

I run mplayer through cli then I use the volume icon to adjust the volume. I can turn it up to 100% through the usage of the volume icon. the increase in volume is barley noticeable. That is when I finally open up pavucontrol then using pavucontrol I increase the volume through that means. One can then see that message box showing the slider for the volume moving to show an increase in volume as well.

they both work. only they do not work together like I believe they are suppose to. if you open up pavucontrol and watch its volume slider then hover the mouse arrow over the volume Icon and move the mouse wheel to adjust the volume you can see pavucontrol slider moving along with it. only that they do not match up.

The volume Icon will indicate 100% while pavucontrol will indicate maybe 50% - it varies. they are not in complete sync with each other.

I have to manually adjust it through pavucontrol to get it to match the volume Icon indicator. Then eventually it goes out of wack again.

Now that I am looking at it again, my brain thought, maybe it is because pavucontrol controls multiple inputs separately, so it cannot get itself together on that. Their has to be a break in communication between pavucontrol and xfce4-pulseaudio-plugin to have xfce4-pulseaudio-plugin tell pavucontrol which medium(item, ie, the webpage, youtube, mplayer, sending sound through the card all at the same time) when one brings one into foucs in order to change its volume it does not update pavucontrol properly so that it knows what actual level that one is set at so it can respond accordingly.

exxample:
youtube volume set at 10%
mplayer volume set at 50%

if I bring the youtube video into focus then use the volume Icon to change the volume. I actually have to open up pavucontrol to adjust mplayer separately to over come youtube which has now three means of volume control, 1. the video on the webpage, 2 the volume icon, and 3 pavucontrol all can control the volume separately.

BUT

if one then shuts down youtube leaving only mplayer and system sounds to deal with in pavucontrol. it still does not reflect the same percent of volume between the two, and with me it is always going out of sync.

I know it maybe getting too complicated to understand just by reading this. the bottom line is that mplayer and pavucontrol and the volume icon (xfce4-pulseaudio-plugin) are not in sync in the percent of volume it is actually allowing to go to the speakers, with pavucontrol having the last say in the matter.
 
Old 11-10-2016, 08:49 PM   #6
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 17,506
Blog Entries: 28

Rep: Reputation: 5434Reputation: 5434Reputation: 5434Reputation: 5434Reputation: 5434Reputation: 5434Reputation: 5434Reputation: 5434Reputation: 5434Reputation: 5434Reputation: 5434
I made a note to myself to try to do some testing on this tomorrow.
 
Old 11-11-2016, 01:03 PM   #7
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 17,506
Blog Entries: 28

Rep: Reputation: 5434Reputation: 5434Reputation: 5434Reputation: 5434Reputation: 5434Reputation: 5434Reputation: 5434Reputation: 5434Reputation: 5434Reputation: 5434Reputation: 5434
Here's what I did:

I logged out of Fluxbox and back into XFCE on Slackware --Current. In the default XFCE interface, I did not see a volume button.

I started mplayer playing an audio file. Then I opened pavucontrol. I was able to control the volume using the slider bar labeled "Built-in Analog Stereo" on the "Output Devices" tab. Note that I am using external speakers with a desktop box.

I don't know whether this will help, but I had no problems.
 
Old 11-11-2016, 01:58 PM   #8
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,952

Original Poster
Rep: Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148
Quote:
Originally Posted by frankbell View Post
Here's what I did:

I logged out of Fluxbox and back into XFCE on Slackware --Current. In the default XFCE interface, I did not see a volume button.
did you add the paulseaudio plugin to the bar? it gives you that speaker ICON - (stuck on button)

Quote:
Originally Posted by frankbell View Post

I started mplayer playing an audio file. Then I opened pavucontrol. I was able to control the volume using the slider bar labeled "Built-in Analog Stereo" on the "Output Devices" tab. Note that I am using external speakers with a desktop box.

I don't know whether this will help, but I had no problems.
I don't think you're understanding but that is cool. I do not think it can be made to do what it is I was talking about anyways due to pavucontrol being able to control more then one sound source at a time.
 
  


Reply

Tags
volume control


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LVM Mount Physical Volume/Logical Volume without a working Volume Group mpivintis Linux - Newbie 10 01-11-2014 07:02 AM
hal "volume.policy.mount_option.sync" ignored in opensuse 10.2 ? rtspitz Linux - Software 2 07-08-2007 05:46 PM
mplex sync problems linux-rulz Linux - Software 3 08-20-2005 10:16 PM
[SOLVED] Treo600 Sync Problems y2jv7 Linux - Laptop and Netbook 0 07-25-2005 06:42 PM
problems with X, monitor out of sync pete0r Linux - General 5 05-09-2003 07:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration