Changeset 790:00e2da6f9a65 in roaraudio for libroaryiff
- Timestamp:
- 09/17/08 03:19:27 (16 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroaryiff/playback.c
r688 r790 30 30 31 31 YID YStartPlaySoundObject (YConnection *con, const char *path, YEventSoundPlay *value) { 32 struct roar_connection rcon; 33 struct roar_stream stream[1]; 34 32 35 if ( !con ) 33 36 return YIDNULL; … … 36 39 return YIDNULL; 37 40 41 rcon.fh = con->fd; 42 38 43 // hm,... find out how to do this. 39 44 // need to start ssize_t roar_file_play (struct roar_connection * con, char * file, int exec) 40 45 // in background 41 46 47 if ( roar_file_play_full(&rcon, path, 0, 1, stream) == -1 ) { 48 ROAR_ERR("Can not start playback"); 49 return YIDNULL; 50 } 42 51 43 return YIDNULL;52 return ROARYIFF_ROAR2YID(stream->id); 44 53 } 45 54
Note: See TracChangeset
for help on using the changeset viewer.