[alsa-devel] hdspm.c - confused about SNDRV_HDSPM_IOCTL_GET_[CONFIG|STATUS]

Jörn Nettingsmeier nettings at stackingdwarves.net
Sun May 15 18:31:47 CEST 2011


hi *!


i'm trying to extend hdspconf to work with the rme hdspm madi card, and 
got confused over the snd_hdspm_hwdep_ioctl:

apparently, the hdspm.c driver differentiates between settable controls 
(CONFIG) and non-settable status indicators (STATUS), unlike the earlier 
hdspm.c.

however, usage seems a bit inconsistent:

struct hdspm_config contains a member madi_sync_check, which is 
apparently never set.
instead, struct hdspm_status card_specific.sync_madi is used, same for 
tco and sync in.

but there is a wordclock_sync_check in struct hdspm_config which is in use.

am i guessing right that the latter is somewhat deprecated and that i 
should be taking all status values from struct hdspm_status instead?

thanks,


jörn


please cc: me, i'm not on alsa.devel.



-- 
Jörn Nettingsmeier
Lortzingstr. 11, 45128 Essen, Tel. +49 177 7937487

Meister für Veranstaltungstechnik (Bühne/Studio)
Tonmeister (VDT)

http://stackingdwarves.net


More information about the Alsa-devel mailing list