Changeset 2857:2cef13e65f4c in roaraudio for libroar/ctl.c


Ignore:
Timestamp:
10/04/09 05:10:20 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

new ROAR_PROTO_*s

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/ctl.c

    r2811 r2857  
    488488 } else if ( !strcasecmp(proto, "esound") ) { 
    489489  return ROAR_PROTO_ESOUND; 
     490 } else if ( !strcasecmp(proto, "auto") ) { 
     491  return ROAR_PROTO_AUTO; 
     492 } else if ( !strcasecmp(proto, "(auto)") ) { 
     493  return ROAR_PROTO_AUTO; 
     494 } else if ( !strcasecmp(proto, "http") ) { 
     495  return ROAR_PROTO_HTTP; 
     496 } else if ( !strcasecmp(proto, "gopher") ) { 
     497  return ROAR_PROTO_GOPHER; 
     498 } else if ( !strcasecmp(proto, "icy") ) { 
     499  return ROAR_PROTO_ICY; 
    490500 } 
    491501 
     
    497507  case ROAR_PROTO_ROARAUDIO: return "RoarAudio"; break; 
    498508  case ROAR_PROTO_ESOUND:    return "EsounD";    break; 
     509  case ROAR_PROTO_AUTO:      return "(auto)";    break; 
     510  case ROAR_PROTO_HTTP:      return "http";      break; 
     511  case ROAR_PROTO_GOPHER:    return "gopher";    break; 
     512  case ROAR_PROTO_ICY:       return "ICY";       break; 
    499513  default: 
    500514    return "(unknown)"; 
Note: See TracChangeset for help on using the changeset viewer.