Skip to contentSkip to conversation

: Bad step values in snd_pcm_channel_area_t from snd_pcm_mmap_begin

ALSA - lib 0001502 [email protected] 1 participant 1 message Oct 26, 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=1502>
======================================================================
Reported By: drechsle
Assigned To:
======================================================================

Project:                    ALSA - lib
Issue ID:                   1502
Category:                   0_general
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             10-25-2005 16:47 CEST
Last Modified:              10-26-2005 08:26 CEST

======================================================================
Summary: Bad step values in snd_pcm_channel_area_t from
snd_pcm_mmap_begin
Description:
I opened the default audio device with 4 channels (MMAP_INTERLEAVED, SND_PCM_FORMAT_S16)
snd_pcm_mmap_begin then returns a snd_pcm_channel_area_t * like the following:

Channel 0:   first:    0    step:   32
Channel 1:   first:   16    step:   32
Channel 2:   first:   32    step:   32
Channel 3:   first:   48    step:   32

The step values seem to be wrong. It also doesn't sound very comfortable.
======================================================================

----------------------------------------------------------------------
drechsle - 10-25-05 18:35
----------------------------------------------------------------------
Hardware: Tyan S2885, 2xOpteron 248,
Audio Device: AMD8111 (intel8x0)
Kernel: 2.6.13 (smp, patched by suse)

----------------------------------------------------------------------
drechsle - 10-26-05 08:26
----------------------------------------------------------------------
tried 1.0.10rc2: same problem

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

10-25-05 16:47 drechsle       New Issue                                    
10-25-05 17:44 tiwai          Note Added: 0006545                          
10-25-05 18:35 drechsle       Note Added: 0006549                          
10-26-05 08:26 drechsle       Note Added: 0006553                          

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

-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information