From a6a2c9beac3142f8b995c6abdd80dbc586dcb032 Mon Sep 17 00:00:00 2001 From: torben Date: Sat, 7 Mar 2009 03:59:13 +0000 Subject: [PATCH] [alsa-io] add support for float LE git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3408 0c269be4-1314-0410-8aa9-9f06e86f4224 --- tools/alsa_in.c | 1 + tools/alsa_out.c | 1 + 2 files changed, 2 insertions(+) diff --git a/tools/alsa_in.c b/tools/alsa_in.c index bb97f0b..deb6e48 100644 --- a/tools/alsa_in.c +++ b/tools/alsa_in.c @@ -83,6 +83,7 @@ typedef struct alsa_format { } alsa_format_t; alsa_format_t formats[] = { + { SND_PCM_FORMAT_FLOAT_LE, 4, sample_move_floatLE_sSs, sample_move_dS_floatLE }, { SND_PCM_FORMAT_S32, 4, sample_move_d32u24_sS, sample_move_dS_s32u24 }, { SND_PCM_FORMAT_S24, 4, sample_move_d24_sS, sample_move_dS_s24 }, { SND_PCM_FORMAT_S16, 2, sample_move_d16_sS, sample_move_dS_s16 } diff --git a/tools/alsa_out.c b/tools/alsa_out.c index 0ba7512..3ceb036 100644 --- a/tools/alsa_out.c +++ b/tools/alsa_out.c @@ -86,6 +86,7 @@ typedef struct alsa_format { } alsa_format_t; alsa_format_t formats[] = { + { SND_PCM_FORMAT_FLOAT_LE, 4, sample_move_floatLE_sSs, sample_move_dS_floatLE }, { SND_PCM_FORMAT_S32, 4, sample_move_d32u24_sS, sample_move_dS_s32u24 }, { SND_PCM_FORMAT_S24, 4, sample_move_d24_sS, sample_move_dS_s24 }, { SND_PCM_FORMAT_S16, 2, sample_move_d16_sS, sample_move_dS_s16 }