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

A NOTE has been added to this issue.
======================================================================
<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:30 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
======================================================================

----------------------------------------------------------------------
zx80user - 03-26-06 14:23
----------------------------------------------------------------------
Only re-opening this to comment to say 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?

----------------------------------------------------------------------
Raymond - 03-26-06 14:30
----------------------------------------------------------------------
you will know why your acia driver fail

strace aplay hw:0,0 test.wav with an alsa driver on a pc.

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                          
03-26-06 14:23 zx80user       Note Edited: 0008971                         
03-26-06 14:30 Raymond        Note Added: 0008972                          

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

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