From: "Alexander E. Patrakov" <patrakov@ums.usu.ru>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org
Subject: Re: Sample format coversion bug?
Date: Mon, 29 Oct 2007 16:01:12 +0500 [thread overview]
Message-ID: <4725BD78.6040709@ums.usu.ru> (raw)
In-Reply-To: <s5hpryyny19.wl%tiwai@suse.de>
Takashi Iwai wrote:
> Well, apparently something wrong with mmap, then.
Do you mean "something is wrong with the kernel driver" or "plug really
expects mmap access to the card to be available"?
> Does the device really support 24bit format?
No, it doesn't - that's the whole point of the test. I expected "plug"
to guess that the device supports a 16-bit format, record 16-bit samples
from the hardware, multiply all recorded samples by 256, and return the
result as 32-bit words (so that the result is a set of valid S24_LE
samples, even though the least significant byte is always zero).
> S24_LE isn't 3bytes format but packed
> into the lower 3 bytes in 4 byte frames.
>
Yes, I know.
--
Alexander E. Patrakov
next prev parent reply other threads:[~2007-10-29 11:01 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-26 13:18 Sample format coversion bug? Alexander E. Patrakov
2007-10-29 8:08 ` Takashi Iwai
2007-10-29 11:01 ` Alexander E. Patrakov [this message]
2007-10-29 9:05 ` Takashi Iwai
2007-10-29 11:21 ` Alexander E. Patrakov
2007-10-29 15:04 ` Alexander E. Patrakov
2007-10-29 18:47 ` Trent Piepho
2007-10-30 16:24 ` mmap support in saa7134-alsa (was: Sample format coversion bug?) Alexander E. Patrakov
2007-10-31 8:34 ` Takashi Iwai
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=4725BD78.6040709@ums.usu.ru \
--to=patrakov@ums.usu.ru \
--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.