Skip to contentSkip to conversation

: 5.1 output broken since ~1.0.8 with VIA8237

ALSA - lib 0000994 [email protected] 1 participant 1 message Mar 15, 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=994>
======================================================================
Reported By: mru
Assigned To:
======================================================================

Project:                    ALSA - lib
Issue ID:                   994
Category:                   pcm - digital audio
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             03-14-2005 23:42 CET
Last Modified:              03-15-2005 16:10 CET

======================================================================
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.

Issue History
Date Modified Username Field Change
======================================================================
03-14-05 23:42 mru New Issue
03-15-05 16:10 mru Note Added: 0003915
======================================================================

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click