[linux-audio-dev] XAP status : incomplete draft
Steve Harris
S.W.Harris at ecs.soton.ac.uk
Fri Dec 13 15:19:00 UTC 2002
On Fri, Dec 13, 2002 at 11:24:33 -0800, Tim Hockin wrote:
> > Why the xap_ prefix on all the fields in the struct?
>
> Old habit - prefixing struct fields with soemthing to identify the struct.
> Makes it trivial to search for all uses of ->xap_label as opposed to ->label
> (which exists in several structs). If people REALLY hate it, I can let it
> go. I try to always do that in exported code.
I really hate it.
> What's missing? I thought about state() and decided this was complete. Did
> I miss something?
I think large numbers of states are overcomplicated myself.
- Steve
More information about the Linux-audio-dev
mailing list