Changeset 5225:2cedb218a048 in roaraudio


Ignore:
Timestamp:
11/12/11 12:47:40 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added const keywords to roar_simple_play_file()

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/simple.h

    r5118 r5225  
    5050int roar_simple_new_stream_obj (struct roar_connection * con, struct roar_stream * s, int rate, int channels, int bits, int codec, int dir) _LIBROAR_ATTR_DEPRECATED; 
    5151 
    52 int roar_simple_play_file(char * file, char * server, char * name); 
     52int roar_simple_play_file(const char * file, const char * server, const char * name); 
    5353 
    5454int roar_simple_play    (int rate, int channels, int bits, int codec, char * server, char * name) _LIBROAR_ATTR_DEPRECATED; 
  • libroar/simple.c

    r5163 r5225  
    399399 
    400400 
    401 int roar_simple_play_file(char * file, char * server, char * name) { 
     401int roar_simple_play_file(const char * file, const char * server, const char * name) { 
    402402 roar_vs_t * vss; 
    403403 int err; 
Note: See TracChangeset for help on using the changeset viewer.