From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kenneth Johansson Subject: Re: [PATCH] Sample generation on big endian platforms was broken. Date: Fri, 03 Jul 2009 19:04:20 +0200 Message-ID: <1246640660.31770.18.camel@localhost.localdomain> References: <1246630771.7922.25.camel@localhost.localdomain> <1246632695.7922.34.camel@localhost.localdomain> <1246633897.7922.39.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail.southpole.se (mail.southpole.se [193.12.106.18]) by alsa0.perex.cz (Postfix) with ESMTP id C623824963 for ; Fri, 3 Jul 2009 19:04:28 +0200 (CEST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Takashi Iwai Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org On Fri, 2009-07-03 at 17:41 +0200, Takashi Iwai wrote: > ... and the code doesn't handle the case of 3 byte format, too. > > > Takashi > Soo ? there is a lot of formats this code can't generate. It's a test program and I doubt anybody has ever tried to change the output format since it has never worked for most formats. but if you want to add support for 3 bytes then there is no way around having two different storage methods one for BIG and one for LITTLE endian machines.