Changeset 201:dc3825656149 in roaraudio


Ignore:
Timestamp:
07/20/08 22:51:43 (16 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added ROAR_CODEC_FLAC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/codecfilter.c

    r196 r201  
    55struct roar_codecfilter g_codecfilter[] = { 
    66 {-1,                     "null", "null codec filter", NULL,                      NULL, NULL, NULL, NULL, NULL, NULL}, 
    7  {ROAR_CODEC_OGG_GENERAL, "cmd",  "ogg123",            "ogg123 -q -d raw -f - -", cf_cmd_open, NULL, NULL, NULL, NULL, NULL}, 
     7 
     8 {ROAR_CODEC_OGG_GENERAL, "cmd",  "ogg123", 
     9  "ogg123 -q -d raw -f - -", 
     10  cf_cmd_open, NULL, NULL, NULL, NULL, NULL}, 
     11 
     12 {ROAR_CODEC_FLAC, "cmd",  "ogg123", 
     13#if BYTE_ORDER == BIG_ENDIAN 
     14  "flac --silent --force-raw-format --sign=signed --endian=big -d - -o -", 
     15#elif BYTE_ORDER == LITTLE_ENDIAN 
     16  "flac --silent --force-raw-format --sign=signed --endian=little -d - -o -", 
     17#else 
     18  "false", 
     19#endif 
     20  cf_cmd_open, NULL, NULL, NULL, NULL, NULL}, 
    821 
    922 {-1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL} // end of list 
Note: See TracChangeset for help on using the changeset viewer.