Re: [Jack-Devel] [PATCH JACK1 & JACK2] drivers/alsa/memops.c: Error when source is non-native byte-order float

PrevNext  Index
DateThu, 27 Oct 2011 07:15:23 -0500
From Gabriel M. Beddingfield <[hidden] at gmail dot com>
ToStéphane Letz <[hidden] at free dot fr>
Cc[hidden] at lists dot jackaudio dot org
Follow-UpClemens Ladisch Re: [Jack-Devel] [PATCH JACK1 & JACK2] drivers/alsa/memops.c: Error when source is non-native byte-order float
Follow-UpStéphane Letz Re: [Jack-Devel] [PATCH JACK1 & JACK2] drivers/alsa/memops.c: Error when source is non-native byte-order float
Hi Stéphane,

On 10/27/2011 03:29 AM, Stéphane Letz wrote:
> Hi Gabriel,
>
> I recently committed your patch (adapted to JACK2) hoping it would solve the issue one guy had here with a pure float audio card, but:
>
> 1) it did not solve this specific issue
>
> 2) it seems that the patch breaks ALSA driver with some cards: see http://trac.jackaudio.org/ticket/243

Hmmm... I didn't expect anyone to apply this patch without first saying 
something along the lines of "Gabe... you're doing it wrong."  After 
all, memops.c is really old and heavily-used code.

> Can you possibly check the patch I did at http://trac.jackaudio.org/changeset/4541 (maybe I did something wrong)

Well, I presume the user has an x86 (LE) machine.  They're using a USB 
Fast Track Pro... and I would expect for it to be LE as well. 
Meanwhile, this patch was trying to fix cases where the byte order was 
OPPOSITE the native byte-order.

Does anyone know for sure what the byte order of a Fast Track is?

-gabriel
PrevNext  Index

1319717751.20637_0.ltw:2,a <4EA94B5B.3030605 at gmail dot com>