Skip to contentSkip to conversation

: volume suspend/resume no longer works.

ALSA - lib 0002292 [email protected] 1 participant 1 message Jul 19, 2006

lore
Share & tools
lore
#0 lore raw

A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2292>
======================================================================
Reported By: cartman
Assigned To:
======================================================================

Project:                    ALSA - lib
Issue ID:                   2292
Category:                   2_mixer
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             07-18-2006 22:27 CEST
Last Modified:              07-19-2006 22:31 CEST

======================================================================
Summary: volume suspend/resume no longer works.
Description:
I was using 2.6.18 latest git tree fine so far but when I updated alsa-lib and other userspace tools to 1.1.12rc1 mplayer gives this error when suspending/resuming volume :

alsa-pause: pcm pause error: Input/output error
alsa-resume: pcm resume error: Input/output error

Corresponding source code is :

[...]
if ((err = snd_pcm_pause(alsa_handler, 1)) < 0)
{
mp_msg(MSGT_AO,MSGL_ERR,"alsa-pause: pcm pause error: %s\n",

snd_strerror(err));
            return;
        }

[...]

and similar for resume.
======================================================================

----------------------------------------------------------------------
tiwai - 07-19-06 22:13
----------------------------------------------------------------------
How about the second patch?

----------------------------------------------------------------------
cartman - 07-19-06 22:31
----------------------------------------------------------------------
Second patch works, thank you!

Issue History
Date Modified Username Field Change
======================================================================

07-18-06 22:27 cartman        New Issue                                    
07-19-06 20:14 tiwai          Note Added: 0011094                          
07-19-06 20:14 tiwai          File Added: dmix-pause-disable.diff               

07-19-06 20:24 cartman Note Added: 0011097
07-19-06 22:12 tiwai File Added: dmix-pause-disable2.diff

07-19-06 22:13 tiwai Note Added: 0011103
07-19-06 22:31 cartman Note Added: 0011104
======================================================================

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV