All of lore.kernel.org
 help / color / mirror / Atom feed
From: Clemens Ladisch <clemens@ladisch.de>
To: alsa-devel@alsa-project.org
Subject: Re: Question about Conversion to S24_LE from S24_3LE
Date: Fri, 10 Aug 2012 16:45:47 +0200	[thread overview]
Message-ID: <50251E9B.5010401@ladisch.de> (raw)
In-Reply-To: <1C2A10B55A8EFD41B703692DB3F435E40C23248A@G01JPEXMBYT21>

Fujikawa, Kazutoshi wrote:
>>> 0x00123456 (MSB 0(or 0xFF) padding)
>>
>> This is the correct S24_LE representation.
>
> I record a sound file by arecord command on Ubuntu.
> (% arecord -f S24_LE -r 48000 -c 2 ubuntu_rec_S24_LE_48000.wav )
>
> Then this file was created, and it was LSB 0 padding.
> So I think that S24_LE format is LSB 0 padding.
>
> % od -t x4 ubuntu_rec_S24_LE_48000.wav
> 0000000 46464952 003a9824 45564157 20746d66
> 0000010 00000010 00020001 0000bb80 0005dc00
> 0000020 00180008 61746164 003a9800 ffffbf00
> 0000030 ffffc300 ffffc600 ffffca00 ffffd300
> 0000040 ffffd600 ffffdc00 ffffe000 ffffe000
> 0000050 ffffe400 ffffea00 ffffeb00 fffff800
> 0000060 fffffa00 00000400 00000500 00001000
> 0000070 00000f00 00001600 00001700 00001500
>
> Do you know why this file is LSB 0 padding?

What hardware (driver) was this recorded from?
Does the hardware actually support S24_LE, or was this converted?


Regards,
Clemens

  parent reply	other threads:[~2012-08-10 14:16 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-10  0:28 Question about Conversion to S24_LE from S24_3LE Fujikawa, Kazutoshi
2012-08-10  6:13 ` Takashi Iwai
2012-08-10  8:44   ` Fujikawa, Kazutoshi
2012-08-10 10:00     ` Takashi Iwai
2012-08-10 14:45     ` Clemens Ladisch [this message]
     [not found] <13855858.72631345077438708.cxe06701@nifty.ne.jp>
2012-08-16  5:41 ` Takashi Iwai
     [not found] ` <24633629.312801345103755036.cxe06701@nifty.ne.jp>
2012-08-16  9:16   ` Takashi Iwai
2012-08-16  9:41     ` Jaroslav Kysela
     [not found] ` <11973478.303981345442271456.cxe06701@nifty.ne.jp>
2012-08-20  6:47   ` Takashi Iwai
  -- strict thread matches above, loose matches on Subject: below --
2016-04-18  9:24 Tan, Seng Kai
2016-04-18  9:32 ` Clemens Ladisch
2016-04-18  9:54   ` Tan, Seng Kai
2016-04-18 12:01     ` Clemens Ladisch
2016-04-19  0:57       ` Tan, Seng Kai
2016-04-19  7:27         ` Clemens Ladisch

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=50251E9B.5010401@ladisch.de \
    --to=clemens@ladisch.de \
    --cc=alsa-devel@alsa-project.org \
    /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.