Changeset 4907:7ce748f993d8 in roaraudio


Ignore:
Timestamp:
05/06/11 14:05:07 (11 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

assigned codec IDs for opus

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • doc/new-cmds

    r4894 r4907  
    277277+MUUTLAW    = MUUTLAW_BE 
    278278+BRR        = 0x3c 
     279+OGG_OPUS   = 0x18 
     280+ROAR_OPUS  = 0x19 
    279281!SECTIONEND 
    280282!SECTION: Network 
  • include/roaraudio/audio.h

    r4894 r4907  
    185185#define ROAR_CODEC_OGG_CELT     0x16 
    186186#define ROAR_CODEC_OGG          0x17 
    187  
     187#define ROAR_CODEC_OGG_OPUS     0x18 
     188 
     189#define ROAR_CODEC_ROAR_OPUS    0x19 
    188190#define ROAR_CODEC_ROAR_CELT    0x1a 
    189191#define ROAR_CODEC_ROAR_SPEEX   0x1b 
  • libroar/stream.c

    r4895 r4907  
    843843 {ROAR_CODEC_OGG_CELT,    "ogg_celt",    "audio/ogg; codecs=celt"}, 
    844844 {ROAR_CODEC_OGG,         "ogg",         "application/ogg"}, 
     845 {ROAR_CODEC_OGG_OPUS,    "ogg_opus",    NULL}, 
     846 {ROAR_CODEC_ROAR_OPUS,   "roar_opus",   NULL}, 
    845847 {ROAR_CODEC_ROAR_CELT,   "roar_celt",   NULL}, 
    846848 {ROAR_CODEC_ROAR_SPEEX,  "roar_speex",  NULL}, 
     
    11551157 {"speex-wb",  {.rate =  16000, .bits = 16, .channels =  2, .codec = ROAR_CODEC_ROAR_SPEEX}}, 
    11561158 {"speex-uwb", {.rate =  32000, .bits = 16, .channels =  2, .codec = ROAR_CODEC_ROAR_SPEEX}}, 
     1159 {"opus",      {.rate =  48000, .bits = 16, .channels =  2, .codec = ROAR_CODEC_ROAR_OPUS}}, 
    11571160 {"gsm",       {.rate =   8000, .bits = 16, .channels =  1, .codec = ROAR_CODEC_GSM}}, 
    11581161 {"brr",       {.rate =   8000, .bits = 32, .channels =  1, .codec = ROAR_CODEC_BRR}}, 
Note: See TracChangeset for help on using the changeset viewer.