Skip to contentSkip to conversation

: aoss + skype: volume_adjust: SOUND_MIXER_WRITE_IGAIN failed: Invalid argument

ALSA - liboss 0001164 [email protected] 1 participant 1 message Jun 8, 2005

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=1164>
======================================================================
Reported By: sst4
Assigned To:
======================================================================

Project:                    ALSA - liboss
Issue ID:                   1164
Category:                   
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             06-07-2005 00:33 CEST
Last Modified:              06-08-2005 14:53 CEST

======================================================================
Summary: aoss + skype: volume_adjust: SOUND_MIXER_WRITE_IGAIN
failed: Invalid argument
Description:
I've tried 'skype' with my M-Audio Revolution 7.1.

Soon (probably in a second) after this command line:

aoss skype &

the terminal window gets filled with

volume_adjust: SOUND_MIXER_WRITE_IGAIN failed: Invalid argument

messages, and I do not hear anything in 'skype' connecting to their automated 'echo123' service.

The message is not quite clear, and I believe it shouldn't flood the screen.

I mean, the code should first check capabilities of the card and its configuration and
issue the message once.

What is IGAIN in the message above ? Input gain ? That is, capture gain ?

======================================================================

----------------------------------------------------------------------
tiwai - 06-08-05 14:50
----------------------------------------------------------------------
Could you try the attached patch?

----------------------------------------------------------------------
tiwai - 06-08-05 14:53
----------------------------------------------------------------------
With revo 7.1, this might not work, too, since revo has really no "Capture Volume" (corresponding to IGAIN in OSS).

If so, it must be a bug of Skype. Skype must check DEVMASK before reading IGAIN.

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

06-07-05 00:33 sst4           New Issue                                    
06-08-05 14:50 tiwai          Note Added: 0004923                          
06-08-05 14:51 tiwai          File Added: aoss-igain-fix.diff                   

06-08-05 14:53 tiwai Note Added: 0004926
======================================================================

-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20