Changeset 2183:eba09cc22a7a in roaraudio for libroardsp


Ignore:
Timestamp:
07/26/09 18:53:48 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added encoder/decoder funcs in the global lookup table

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroardsp/transcode.c

    r2182 r2183  
    3333static struct roar_xcoder_entry g_xcoders[] = { 
    3434 {ROAR_CODEC_ALAW,  roar_xcoder_dummy_inituninit, roar_xcoder_dummy_inituninit, roar_xcoder_dummy_packet_size_any, 
    35                      NULL, NULL},  
     35                     roar_xcoder_alaw_encode,  roar_xcoder_alaw_decode}, 
    3636 {ROAR_CODEC_MULAW, roar_xcoder_dummy_inituninit, roar_xcoder_dummy_inituninit, roar_xcoder_dummy_packet_size_any, 
    37                      NULL, NULL},  
     37                     roar_xcoder_mulaw_encode, roar_xcoder_mulaw_decode}, 
    3838 {-1, NULL, NULL, NULL, NULL, NULL} 
    3939}; 
Note: See TracChangeset for help on using the changeset viewer.