Skip to contentSkip to conversation

: 5.1 output broken since ~1.0.8 with VIA8237

ALSA - lib 0000994 [email protected] 1 participant 1 message Jul 8, 2005

lore
Share & tools
lore
#0 lore raw

The following issue has been CLOSED
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=994>
======================================================================
Reported By: mru
Assigned To:
======================================================================

Project:                    ALSA - lib
Issue ID:                   994
Category:                   1_pcm - digital audio
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Resolution:                 not an issue
Fixed in Version:           
======================================================================
Date Submitted:             03-14-2005 23:42 CET
Last Modified:              07-08-2005 10:34 CEST

======================================================================
Summary: 5.1 output broken since
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1#1.0.8 with VIA8237 Description:
The surround51 device on VIA8237 stopped working some time after alsa-lib version 1.0.7. Driver v1.0.8 works properly with older library versions.

With alsa-lib 1.0.8, there is this error: ALSA lib pcm_hw.c:407:(snd_pcm_hw_channel_info) SNDRV_PCM_IOCTL_CHANNEL_INFO
failed: Inappropriate ioctl for device

With CVS of today (2005-03-14), about 100 ms of random sound is looped.

Using the surround40 device works, with some channels moved around.

Quoted 1 line

From the output of aplay -v, it appears that the surround51 device is

surround40, with some channel rerouting applied, all else being equal. Could there be a bug in the route plugin?

The same problem occurs with surround41 and surround50 as well.

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

----------------------------------------------------------------------
mru - 03-15-05 16:10
----------------------------------------------------------------------
I found the problem. A -D_FILEOFFSET_BITS=64 had managed to sneak in, resulting
in differing definitions of off_t, which is used in he argument to SNDRV_PCM_IOCTL_CHANNEL_INFO, between the library and the driver.

Please close this bug.

----------------------------------------------------------------------
tiwai - 03-16-05 12:53
----------------------------------------------------------------------
OK, resolved.

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

03-14-05 23:42 mru            New Issue                                    
03-15-05 16:10 mru            Note Added: 0003915                          
03-16-05 12:53 tiwai          Status                   new => resolved     
03-16-05 12:53 tiwai          Resolution               open => not an issue
03-16-05 12:53 tiwai          Assigned To               => tiwai           
03-16-05 12:53 tiwai          Note Added: 0003949                          
03-16-05 12:53 tiwai          Assigned To              tiwai =>            
07-08-05 10:34 perex          Status                   resolved => closed  

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

-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar