All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jussi Laako <jussi@sonarnerd.net>
To: Andreas Koch <andreas@akdesigninc.com>
Cc: alsa-devel@alsa-project.org, tiwai@suse.de, clemens@ladisch.de,
	Daniel Mack <zonque@gmail.com>,
	demian@auraliti.com, ray@auraliti.com
Subject: Re: [PATCH 2/2] alsa-lib: bring pcm.h and pcm.c in sync with the kernel list
Date: Thu, 28 Mar 2013 09:36:29 +0200	[thread overview]
Message-ID: <5153F2FD.50704@sonarnerd.net> (raw)
In-Reply-To: <7.0.0.16.2.20130327213632.13b07718@akdesigninc.com>

Hi Andreas,> Now of course, with your heroic effort in creating a 
generic driver that
> would help everyone, we have a mess. Some DACs expect little endian
> (mine and others as well) and others (all that are based on Rigisystems
> modules) big endian positions.

OK, we actually have two separate endianess issues here, but only one 
with word lengths longer than 8-bit.

We have the traditional byte order endianess and the bit order 
endianess. Of course from computer point of view order of bits in a byte 
is sort of separate issue. And now the two file formats used for DSD use 
opposite bit ordering, but being byte-based don't have the byte ordering 
issue. At worst we have four different sample format possibilities for 
word lengths longer than a byte...

Either way, application will have to be able to reshuffle the bits for 
the other format.


	- Jussi

  parent reply	other threads:[~2013-03-28  7:36 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 [this message]
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
  -- 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=5153F2FD.50704@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.