[alsa-devel] Réf. : Where is _snd_pcm defined?

Takashi Iwai tiwai at suse.de
Fri Mar 23 15:07:39 CET 2007

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.


More information about the Alsa-devel mailing list