[alsa-devel] pcm->private_data is NULL in alsa core!!

Pharaoh . pharaoh137 at gmail.com
Wed Jun 20 18:29:01 CEST 2007

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 mailing list