[alsa-devel] pcm->private_data is NULL in alsa core!!
pharaoh137 at gmail.com
Fri Jun 22 22:03:57 CEST 2007
Problem solved guys...many misc things were wrong..after fixing them
it worked. Thank you all.
On 6/20/07, Pharaoh . <pharaoh137 at gmail.com> wrote:
> Value of pcm pointer doesn't change. Other fields which are populated
> by me do not change except private_data.
> The following shows it:
> # cat a.sh > dev/audio
> pcm name is omap alsa pcm //Intact
> pcm id is OMAP PCM //Intact
> pcm private is 00000000 //Only this changes
> On 6/20/07, Clemens Ladisch <cladisch at fastmail.net> wrote:
> > Pharaoh . wrote:
> > > Registering the sound card
> > > pcm->private in snd_device_register_all is c1d7d310 //correct
> > > Inside snd_pcm_dev_register, pcm is c1f05d44(correct), pcm->pvt_data
> > > is 00000000(This shouldn't be NULL)
> > Does the value of pcm itself change?
> > Do other fields in pcm change?
> > Regards,
> > Clemens
More information about the Alsa-devel