23 Mar
2007
23 Mar
'07
4:07 p.m.
At Thu, 22 Mar 2007 19:22:13 +0300 (MSK), intellij wrote:
Thank you for your answer. However, you information is not correct. I do not have the snd_pcm structure in the three copies of pcm.h I have in alsa-lib/include, arm-linux/alsa nor arm-linux/include. Peahaps, this is because my lib is slightly obsolete. Fortunately, today I have accidentally discovered the requested _snd_pcm structure in the alsa-lib/src/pcm/pcm_local.h. Excuse me for the fuss.
Such handles are opaque in ALSA 1.0 API. The structs are not exported to API but only its pointer can be used. It's similar like C++. When you'd like to access the member of the struct, you'd need to use the corresponding accessor.
Takashi