From: "Clemens Ladisch" <cladisch@fastmail.net>
To: "Pharaoh ." <pharaoh137@gmail.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: pcm->private_data is NULL in alsa core!!
Date: Tue, 19 Jun 2007 13:10:30 +0200 [thread overview]
Message-ID: <1182251430.29389.1195911445@webmail.messagingengine.com> (raw)
In-Reply-To: <61445c750706180456i5228c8dbqbd168e5a3bbbe435@mail.gmail.com>
Pharaoh . wrote:
> > > I have set the pcm->private_data = my_chip after registering the pcm ops,
> > > ... but after I do snd_card_register(card) the pcm->private_data is
> > > corrupted !!
snd_card_omap_alsa_pcm() should be __devinit, and full duplex is implied
when no other XXX_DUPLEX flag is set, but I couldn't find any obvious
errors related to private_data.
Does the changing of private_data really occur in snd_card_register(),
i.e., the output you get is:
| in register codec 4 pvt data is (something)
| in register codec 5 pvt data is 0
And the new value is NULL?
snd_card_register() calls callbacks for all registered devices. It
could be possible that some callback registered by eac_register_mixer()
does something, but I don't know what this function does.
Regards,
Clemens
next prev parent reply other threads:[~2007-06-19 11:10 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-16 12:50 pcm->private_data is NULL in alsa core!! Pharaoh .
2007-06-17 15:45 ` Pharaoh .
2007-06-18 7:37 ` Clemens Ladisch
2007-06-18 11:56 ` Pharaoh .
2007-06-18 11:58 ` Pharaoh .
2007-06-19 11:10 ` Clemens Ladisch [this message]
2007-06-19 11:30 ` Pharaoh .
2007-06-19 12:17 ` Pharaoh .
2007-06-19 14:29 ` Clemens Ladisch
2007-06-20 10:18 ` Pharaoh .
2007-06-20 11:12 ` Pharaoh .
2007-06-20 11:16 ` Pharaoh .
2007-06-20 16:13 ` Clemens Ladisch
2007-06-20 16:29 ` Pharaoh .
2007-06-22 20:03 ` Pharaoh .
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1182251430.29389.1195911445@webmail.messagingengine.com \
--to=cladisch@fastmail.net \
--cc=alsa-devel@alsa-project.org \
--cc=pharaoh137@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.