Changeset 4296:16e3f8f5983e in roaraudio for libroar/meta.c
- Timestamp:
- 09/01/10 15:48:19 (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroar/meta.c
r3875 r4296 42 42 */ 43 43 44 st ruct {44 static struct { 45 45 int id; 46 c har * name;46 const char * name; 47 47 } _libroar_meta_typelist[] = { 48 48 {ROAR_META_TYPE_NONE, "NONE" }, … … 92 92 93 93 94 st ruct {94 static struct { 95 95 int id; 96 c har * name;96 const char * name; 97 97 } _libroar_meta_genrelist[] = { 98 98 {ROAR_META_GENRE_RDS_EU_NONE, "rds_eu_none"}, … … 396 396 }; 397 397 398 char * roar_meta_strtype(int type) { 398 // TODO: Why do we return a non-const buffer here? 399 char * roar_meta_strtype(const int type) { 399 400 int i; 400 401 static char name[ROAR_META_MAX_NAMELEN]; … … 409 410 } 410 411 411 int roar_meta_inttype(c har * type) {412 int roar_meta_inttype(const char * type) { 412 413 int i; 413 414 … … 545 546 546 547 // genere: 547 c har * roar_meta_strgenre(int genre) {548 const char * roar_meta_strgenre(const int genre) { 548 549 int i; 549 550 … … 556 557 } 557 558 558 int roar_meta_intgenre(c har * genre) {559 int roar_meta_intgenre(const char * genre) { 559 560 int i; 560 561 … … 567 568 } 568 569 569 int roar_meta_parse_audioinfo(struct roar_audio_info * info, c har * str) {570 int roar_meta_parse_audioinfo(struct roar_audio_info * info, const char * str) { 570 571 char * lc; 571 572 char * cur, * next;
Note: See TracChangeset
for help on using the changeset viewer.