hdspm.c - confused about SNDRV_HDSPM_IOCTL_GET_[CONFIG|STATUS]
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.
Signature · 11 lines
Jörn Nettingsmeier Lortzingstr. 11, 45128 Essen, Tel. +49 177 7937487 Meister für Veranstaltungstechnik (Bühne/Studio) Tonmeister (VDT) http://stackingdwarves.net _______________________________________________ Alsa-devel mailing list [email protected] http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
At Sun, 15 May 2011 18:31:47 +0200,
Quoted 7 lines · Jörn Nettingsmeier
hi *!
i'm trying to extend hdspconf to work with the rme hdspm madi card, and got confused over the
snd_hdspm_hwdep_ioctl:
Quoted 8 lines
apparently, the
hdspm.cdriver differentiates between settable controls (CONFIG) and non-settable status indicators (STATUS), unlike the earlierhdspm.c.however, usage seems a bit inconsistent:
struct
hdspm_configcontains a membermadi_sync_check, which is apparently never set.
This was also in the older version, and the structure wasn't changed for compatibility reason.
Quoted 7 lines
instead, struct
hdspm_statuscard_specific.sync_madi is used, same for tco and sync in.but there is a
wordclock_sync_checkin structhdspm_configwhich 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_statusinstead?
Well, consider GET_STATUS as a kind of extended attributes.
Takashi
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel