Changeset 3980:c5fc22d8d96c in roaraudio


Ignore:
Timestamp:
06/27/10 22:10:13 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added strings and consts to libroar for rplay protocol

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • include/roaraudio/client.h

    r3732 r3980  
    4444#define ROAR_PROTO_SIMPLE           8 /* PulseAudio Simple */ 
    4545#define ROAR_PROTO_RSOUND           9 
     46#define ROAR_PROTO_RPLAY           10 
    4647 
    4748#define ROAR_BYTEORDER_UNKNOWN      0x00 
  • libroar/ctl.c

    r3683 r3980  
    505505 } else if ( !strcasecmp(proto, "rsound") ) { 
    506506  return ROAR_PROTO_RSOUND; 
     507 } else if ( !strcasecmp(proto, "rplay") ) { 
     508  return ROAR_PROTO_RPLAY; 
    507509 } 
    508510 
     
    520522  case ROAR_PROTO_SIMPLE:    return "Simple";    break; 
    521523  case ROAR_PROTO_RSOUND:    return "RSound";    break; 
     524  case ROAR_PROTO_RPLAY:     return "RPlay";     break; 
    522525  default: 
    523526    return "(unknown)"; 
Note: See TracChangeset for help on using the changeset viewer.