Changeset 623:13261b0cbc5a in roaraudio


Ignore:
Timestamp:
08/20/08 02:19:07 (16 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added RoarSpeex? support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/file.c

    r563 r623  
    2222    if ( strncmp(buf+8, "WAVEfmt ", 8) == 0 ) 
    2323     codec = ROAR_CODEC_RIFF_WAVE; 
     24   } 
     25  } else if ( strncmp(buf, "Roar", 4) == 0 ) { 
     26   if ( len > ROAR_SPEEX_MAGIC_LEN ) { 
     27    if ( strncmp(buf, ROAR_SPEEX_MAGIC, ROAR_SPEEX_MAGIC_LEN) == 0 ) 
     28     codec = ROAR_CODEC_ROAR_SPEEX; 
    2429   } 
    2530  } 
Note: See TracChangeset for help on using the changeset viewer.