Changeset 5270:e25346c13638 in roaraudio for roarfish
- Timestamp:
- 11/17/11 18:20:12 (12 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- roarfish
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
roarfish/Makefile
r4804 r5270 8 8 #DEFINES = -DDEBUG 9 9 INCLUDE = -I../include -I./include 10 CFLAGS += -g -Wall $( OPTI_O) $(DEFINES) $(INCLUDE) $(INCPATH)11 LDFLAGS+= -g - L../lib/ $(LDPATH)10 CFLAGS += -g -Wall $(Wextra) $(OPTI_O) $(DEFINES) $(INCLUDE) $(INCPATH) 11 LDFLAGS+= -g -Wall $(Wextra) -L../lib/ $(LDPATH) 12 12 LIBS = $(LIBROAR) $(lib_fishsound) $(lib_oggz) 13 13 -
roarfish/include/roarfish.h
r4708 r5270 42 42 #include <sndfile.h> 43 43 44 int play (c har * file, char ** opts);44 int play (const char * file, char ** opts); 45 45 46 46 #ifdef __USE_SVID -
roarfish/play.c
r4908 r5270 63 63 64 64 65 roar_vs_write(inst->vss, (char*)data, frames * 2, NULL); 65 if ( roar_vs_write(inst->vss, (char*)data, frames * 2, NULL) != (ssize_t)(frames * 2) ) { 66 return -1; 67 } 66 68 67 69 … … 74 76 FishSound * fsound = (FishSound *)user_data; 75 77 76 fish_sound_prepare_truncation (fsound, op->granulepos, op->e_o_s); 77 fish_sound_decode (fsound, op->packet, op->bytes); 78 (void)oggz, (void)serialno; 79 80 fish_sound_prepare_truncation(fsound, op->granulepos, op->e_o_s); 81 fish_sound_decode(fsound, op->packet, op->bytes); 78 82 79 83 return 0; 80 84 } 81 85 82 int play (c har * file, char ** opts) {86 int play (const char * file, char ** opts) { 83 87 OGGZ * oggz; 84 88 struct roarfish_play_inst inst; 89 90 (void)opts; 85 91 86 92 inst.vss = NULL;
Note: See TracChangeset
for help on using the changeset viewer.