Skip to contentSkip to conversation

: Error in "Writing an ALSA driver" document

ALSA - WWW server 0001965 [email protected] 1 participant 1 message Mar 26, 2006

lore
Share & tools
lore
#0 lore raw

The following issue has been REOPENED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1965>
======================================================================

Reported By:                zx80user
Assigned To:                tiwai
======================================================================
Project:                    ALSA - WWW server
Issue ID:                   1965
Category:                   a typo
Reproducibility:            always
Severity:                   text
Priority:                   normal
Status:                     feedback
======================================================================
Date Submitted:             03-26-2006 01:54 CET
Last Modified:              03-26-2006 14:23 CEST

======================================================================
Summary: Error in "Writing an ALSA driver" document
Description:
In the section on writing control code

This: struct snd_ctl_elem_info

and similar types referred to in the documentation (the how to write a driver docs) doesn't actually exist...

snd_ctl_elem_info_t does exist as does sndrv_ctl_elem_info
======================================================================

----------------------------------------------------------------------
tiwai - 03-26-06 13:49
----------------------------------------------------------------------
struct snd_ctl_elem_info _does_ exist in the recent version. You're referring to a too old version of alsa-driver code.

----------------------------------------------------------------------
zx80user - 03-26-06 14:23
----------------------------------------------------------------------
Only re-opening this to comment I was building my driver against the standard headers from a 2.6.15 kernel - which was the stable release until less than a week ago. Maybe the document should include a warning about this sort of thing?

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

03-26-06 01:54 zx80user       New Issue                                    
03-26-06 13:49 tiwai          Status                   new => resolved     
03-26-06 13:49 tiwai          Resolution               open => not an issue
03-26-06 13:49 tiwai          Assigned To               => tiwai           
03-26-06 13:49 tiwai          Note Added: 0008970                          
03-26-06 14:23 zx80user       Status                   resolved => feedback
03-26-06 14:23 zx80user       Resolution               not an issue => reopened
03-26-06 14:23 zx80user       Note Added: 0008971                          

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

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642