Changeset 5270:e25346c13638 in roaraudio for roarfish/play.c
- Timestamp:
- 11/17/11 18:20:12 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.