Re: [alsa-devel] Réf. : Where is _snd_pcm defined?
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.
BTW, we have fallen out of the mailing list. Forums are efficient only when there are many participants for two reasons: neighbors can provide more information and the same questions will be prevented from asking repeatedly. Do you think this case is different?
Hello,
If you get the alsa-driver sources, you can have everything you need (hope :-). Note that in my typedefs.h, I don't have any _ at the beginin, so "struct snd_pcm" is in alsa-kernel/include/pcm.h.
Regards, JM
This message and any attachments (the "message") are confidential and intended solely for the addressees. Any unauthorised use or dissemination is prohibited. Messages are susceptible to alteration. France Telecom Group shall not be liable for the message if altered, changed or falsified. If you are not the intended addressee of this message, please cancel it immediately and inform the sender.
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
participants (2)
-
intellij
-
Takashi Iwai