From: Jussi Laako <jussi@sonarnerd.net>
To: Daniel Mack <zonque@gmail.com>
Cc: alsa-devel@alsa-project.org, tiwai@suse.de, clemens@ladisch.de,
demian@auraliti.com, ray@auraliti.com,
Andreas Koch <andreas@akdesigninc.com>
Subject: Re: [PATCH 2/2] alsa-lib: bring pcm.h and pcm.c in sync with the kernel list
Date: Sun, 07 Apr 2013 00:48:35 +0300 [thread overview]
Message-ID: <51609833.3020806@sonarnerd.net> (raw)
In-Reply-To: <5160624A.7070804@gmail.com>
On 04/06/2013 08:58 PM, Daniel Mack wrote:
> ... and one frame is also just 8 bits (or 16, for the second format). I
> think that matches the logic quite well.
OK, so we agree. But what Andreas has in ASIO is sample rate at 2822400
and periods actually contain period size number of bytes and thus period
size * 8 samples. While for others periods actually contain period size
number of samples and thus period size / 8 bytes (for DSD). Of course
DSD64 doesn't do 2822400 bytes per second. It is either 2822400 bits per
second, 352800 U8 per second, 176400 U16 per second or 88200 U32 per
second. This keeps real sample (bit) rate of nbits(type)*sample rate ==
bit rate consistent.
So for U8 type and 2822400 DSD bit rate sample rate 352800. And for U16
type 176400 sample rate. Now you can already see that for U8 type
there's no overlap with any PCM hardware at least I'm aware of, but for
U16 at 176400 there already is.
If we have DSD-specific sample types, the overlap is not a problem. If
we don't and want to utilize UAC2 spec it matters more.
next prev parent reply other threads:[~2013-04-06 21:48 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-27 23:32 [PATCH 1/2] alsa-lib: pcm.c: fix indentation Daniel Mack
2013-03-27 23:32 ` [PATCH 2/2] alsa-lib: bring pcm.h and pcm.c in sync with the kernel list Daniel Mack
2013-03-27 23:45 ` Jussi Laako
[not found] ` <7.0.0.16.2.20130327213632.13b07718@akdesigninc.com>
2013-03-28 7:36 ` Jussi Laako
2013-03-28 7:49 ` Jussi Laako
2013-03-28 9:54 ` Daniel Mack
2013-03-28 9:52 ` Daniel Mack
2013-04-05 7:45 ` Daniel Mack
[not found] ` <7.0.0.16.2.20130405092937.144d10d0@akdesigninc.com>
2013-04-05 20:48 ` Jussi Laako
2013-04-05 20:53 ` Jussi Laako
2013-04-06 11:29 ` Daniel Mack
2013-04-06 17:52 ` Jussi Laako
2013-04-06 17:58 ` Daniel Mack
2013-04-06 21:48 ` Jussi Laako [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-04-18 8:37 [PATCH 1/2] alsa-lib: pcm.c: fix indentation Daniel Mack
2013-04-18 8:37 ` [PATCH 2/2] alsa-lib: bring pcm.h and pcm.c in sync with the kernel list Daniel Mack
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=51609833.3020806@sonarnerd.net \
--to=jussi@sonarnerd.net \
--cc=alsa-devel@alsa-project.org \
--cc=andreas@akdesigninc.com \
--cc=clemens@ladisch.de \
--cc=demian@auraliti.com \
--cc=ray@auraliti.com \
--cc=tiwai@suse.de \
--cc=zonque@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.