Browse Source

[alsa-io] add support for float LE

git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3408 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/0.117.0
torben 17 years ago
parent
commit
a6a2c9beac
2 changed files with 2 additions and 0 deletions
  1. +1
    -0
      tools/alsa_in.c
  2. +1
    -0
      tools/alsa_out.c

+ 1
- 0
tools/alsa_in.c View File

@@ -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 }


+ 1
- 0
tools/alsa_out.c View File

@@ -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 }


Loading…
Cancel
Save