From: Timur Tabi <timur@freescale.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org
Subject: Re: SNDRV_PCM_INFO_MMAP - what do I need for it?
Date: Wed, 16 Jan 2008 13:40:07 -0600 [thread overview]
Message-ID: <478E5D97.3000707@freescale.com> (raw)
In-Reply-To: <478E5598.9060306@freescale.com>
Timur Tabi wrote:
> How can I know whether this function works? Can I just add those two flags to
> my .info line, and then .... ? Is there an ALSA mmap test utility?
Ok, I think aplay can do this.
I ran this command:
aplay -Dhw:0,0 -f S16_BE -M -r 48000 -c 2 15.raw
and I got this error:
aplay: set_params:852: Access type not available
so I modified my .info line and added those two macros. When I run "aplay -M",
it plays the file fine.
Does this mean that my one-line change has added mmap support to my driver, and
dmix should now work?
--
Timur Tabi
Linux kernel developer at Freescale
next prev parent reply other threads:[~2008-01-16 19:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-16 15:17 SNDRV_PCM_INFO_MMAP - what do I need for it? Timur Tabi
2008-01-16 17:37 ` Takashi Iwai
2008-01-16 19:06 ` Timur Tabi
2008-01-16 19:40 ` Timur Tabi [this message]
2008-01-16 19:45 ` Trent Piepho
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=478E5D97.3000707@freescale.com \
--to=timur@freescale.com \
--cc=alsa-devel@alsa-project.org \
--cc=tiwai@suse.de \
/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.