Changeset 3251:bdabdeacf725 in roaraudio


Ignore:
Timestamp:
01/30/10 11:53:37 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added consts and string handling for ROAR_PROTO_SIMPLE

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • include/roaraudio/client.h

    r2857 r3251  
    4141#define ROAR_PROTO_GOPHER           5 
    4242#define ROAR_PROTO_ICY              7 /* Nullsoft ICY */ 
     43#define ROAR_PROTO_SIMPLE           8 /* PulseAudio Simple */ 
    4344 
    4445#define ROAR_BYTEORDER_UNKNOWN      0x00 
  • libroar/ctl.c

    r2857 r3251  
    498498 } else if ( !strcasecmp(proto, "icy") ) { 
    499499  return ROAR_PROTO_ICY; 
     500 } else if ( !strcasecmp(proto, "simple") ) { 
     501  return ROAR_PROTO_SIMPLE; 
    500502 } 
    501503 
     
    511513  case ROAR_PROTO_GOPHER:    return "gopher";    break; 
    512514  case ROAR_PROTO_ICY:       return "ICY";       break; 
     515  case ROAR_PROTO_SIMPLE:    return "simple";    break; 
    513516  default: 
    514517    return "(unknown)"; 
Note: See TracChangeset for help on using the changeset viewer.