Changeset 794:2aac58294f99 in roaraudio for libroaryiff


Ignore:
Timestamp:
09/17/08 03:52:35 (16 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

save the last started stream

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroaryiff/playback.c

    r790 r794  
    4545 // in background 
    4646 
    47  if ( roar_file_play_full(&rcon, path, 0, 1, stream) == -1 ) { 
     47 if ( roar_file_play_full(&rcon, (char*)path, 0, 1, stream) == -1 ) { 
    4848  ROAR_ERR("Can not start playback"); 
    4949  return YIDNULL; 
    5050 } 
    5151 
    52  return ROARYIFF_ROAR2YID(stream->id); 
     52 return con->prev_generated_yid = ROARYIFF_ROAR2YID(stream->id); 
    5353} 
    5454 
Note: See TracChangeset for help on using the changeset viewer.