LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 01-17-2011, 12:27 AM   #1
rld
LQ Newbie
 
Registered: Jan 2011
Location: Buenos Aires, Argentina
Distribution: Debian
Posts: 1

Rep: Reputation: 0
Strange issue with mpd + ncmpcpp volume after pausing (pulse)


Hi everyone, first time posting here

I've done a minimal Debian testing install today, I spent a while installing everything including mpd and ncmpcpp.

When I first installed them, everything was working great IIRC. But after installing Flash as per the Debian Wiki instructions, something strange started happening with the ncmpcpp pause behaviour.

Since I installed pulseaudio, I had to add the following to my .asoundrc :

Code:
pcm.pulse {
    type pulse
}

ctl.pulse {
    type pulse
}

pcm.!default {
    type pulse
}

ctl.!default {
    type pulse
}
Unfortunately, I have no idea what all this means, all I know is that I need it for Flash to work under Chromium.

After doing this, the following happens in ncmpcpp:
  1. Playing a song (say, at 100% volume)
  2. Pause it
  3. Resume it
  4. Volume indicator says 0%, but songs still plays at the volume it was before
  5. Try to increase volume
  6. Volume indicator starts increasing from 1%, so does the actual volume at which the song is playing at

So if I want to pause a song, resume it and then change the volume, I need to keep holding down the right arrow for a while. Pretty annoying.

Note that if I rename the .asoundrc file, everything instantly starts working as it should (except sound in Flash).

Is there a way to make them both work?

Thanks in advance for all the help!
 
  


Reply



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
Pulse counter or frequency of incoming pulse train jayhorizon Programming 15 10-29-2010 04:29 AM
LXer: Ncmpcpp: Ncurses MPD Client [Shell Music Player] LXer Syndicated Linux News 0 01-04-2010 08:21 PM
ALSA config options for MPD cant control volume dasy2k1 Linux - Software 0 10-12-2008 06:28 PM
Strange pausing in games KRiSX.cjb.net Linux - Games 1 06-09-2006 07:25 AM

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

All times are GMT -5. The time now is 02:37 PM.

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