From alsa-devel-owner@alsa.jcu.cz  Tue Jan 19 13:55:09 1999
Received: from gw-nl3.philips.com (gw-nl3.philips.com [192.68.44.35])
	by marvin.jcu.cz (8.9.1a/8.9.1) with ESMTP id NAA12806
	for <alsa-devel@alsa.jcu.cz>; Tue, 19 Jan 1999 13:53:01 +0100
Received: from smtprelay-nl1.philips.com (localhost.philips.com [127.0.0.1])
          by gw-nl3.philips.com with ESMTP id NAA25772
          for <alsa-devel@alsa.jcu.cz>; Tue, 19 Jan 1999 13:52:33 +0100 (MET)
          (envelope-from guenter.geiger@psp-vie.be.philips.com)
Received: from smtprelay-eur1.philips.com(130.139.36.3) by gw-nl3.philips.com via mwrap (4.0a)
	id xma025767; Tue, 19 Jan 99 13:52:33 +0100
Received: from sunnm.austria.cp.philips.com (sunnm.at.cp.philips.com [130.146.10.240]) 
	by smtprelay-nl1.philips.com (8.8.5/8.6.10-1.2.2m-970826) with ESMTP id NAA03518
	for <alsa-devel@alsa.jcu.cz>; Tue, 19 Jan 1999 13:52:29 +0100 (MET)
Received: from pspvie03.pspvie (pspvie03.psp-vie.be.philips.com [130.146.61.3])
	by sunnm.austria.cp.philips.com (8.8.8/8.8.8) with ESMTP id NAA16776
	for <alsa-devel@alsa.jcu.cz>; Tue, 19 Jan 1999 13:54:02 +0100
Received: from PC468 (pc-61-95.at.ds.philips.com [130.146.61.95]) by pspvie03.pspvie with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.1960.3)
	id CXKA2X7X; Tue, 19 Jan 1999 13:53:08 +0100
From: "Guenter Geiger" <guenter.geiger@psp-vie.be.philips.com>
To: <alsa-devel@alsa.jcu.cz>
Subject: RE: hi-res pcm sound support
Date: Tue, 19 Jan 1999 13:52:21 -0800
Message-ID: <000001be43f5$fe9e2c60$5f3d9282@PC468>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-2"
Content-Transfer-Encoding: 8bit
In-Reply-To: <Pine.LNX.3.96.990119120448.25743W-100000@entry.jcu.cz>
Reply-To: alsa-devel@alsa.jcu.cz
Sender: alsa-devel-owner@alsa.jcu.cz
Precedence: list



> -----Original Message-----
> From: alsa-devel-owner@alsa.jcu.cz
> Yep, fine, are these definitions enough?
>
> #define SND_PCM_SFMT_S32_LE             11
> #define SND_PCM_SFMT_S32_BE             12
> #define SND_PCM_SFMT_U32_LE             13
> #define SND_PCM_SFMT_U32_BE             14
>
> #define SND_PCM_FMT_S32_LE              (1 << SND_PCM_SFMT_S32_LE)
> #define SND_PCM_FMT_S32_BE              (1 << SND_PCM_SFMT_S32_BE)
> #define SND_PCM_FMT_U32_LE              (1 << SND_PCM_SFMT_U32_LE)
> #define SND_PCM_FMT_U32_BE              (1 << SND_PCM_SFMT_U32_BE)
>

Mhmm .. yes basically this should be enough, but I have to admit I didnt
realize that this will
produce a little bit of confusion.
People may think that 24 bit resolution is not supported.
This, and why it is this way, should be pointed out in the documentation, or
some aliases like
#define SND_PCM_FMT_U24_BE  SND_PCM_FMT_U32_BE
should be provided.

Guenter


