Changeset 229:d11bce45cb62 in roaraudio


Ignore:
Timestamp:
07/24/08 15:05:02 (16 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added ROAR_CODEC_MIDI_FILE but need to rethink about this code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/stream.h

    r82 r229  
    1010                           (x) == ROAR_DIR_OUTPUT ? "output" : "unknown") 
    1111 
    12 #define roar_codec2str(x) ((x) == ROAR_CODEC_PCM_S_LE  ? "pcm_s_le"  : (x) == ROAR_CODEC_PCM_S_BE ? "pcm_s_be" : \ 
    13                            (x) == ROAR_CODEC_PCM_S_PDP ? "pcm_s_pdp" : "unknown" ) 
     12#define roar_codec2str(x) ((x) == ROAR_CODEC_PCM_S_LE  ? "pcm_s_le"  : (x) == ROAR_CODEC_PCM_S_BE  ? "pcm_s_be"  : \ 
     13                           (x) == ROAR_CODEC_PCM_S_PDP ? "pcm_s_pdp" : (x) == ROAR_CODEC_MIDI_FILE ? "midi_file" : \ 
     14                           "unknown" ) 
    1415 
    1516int roar_stream_connect (struct roar_connection * con, struct roar_stream * s, int dir); 
Note: See TracChangeset for help on using the changeset viewer.