Changeset 2613:ac7fd983a13a in roaraudio


Ignore:
Timestamp:
09/11/09 15:47:10 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

set stream state

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/streams.c

    r2612 r2613  
    435435 if ( fh == -1 || fh == -2 ) { // yes, this is valid, indecats full vio! 
    436436  ss->ready = 1; 
     437  ss->state = ROAR_STREAMSTATE_NEW; 
    437438  return 0; 
    438439 } 
     
    470471 if ( !nonblock ) { 
    471472  ss->ready = 1; 
     473  ss->state = ROAR_STREAMSTATE_NEW; 
    472474  return 0; 
    473475 } else { 
     
    476478 
    477479  ss->ready = 1; 
     480  ss->state = ROAR_STREAMSTATE_NEW; 
    478481  return 0; 
    479482 } 
     
    889892 
    890893 if ( ss->is_new ) { 
     894  ss->state = ROAR_STREAMSTATE_OLD; 
    891895  ROAR_WARN("streams_fill_mixbuffer2(id=%i, info=...): stream state: new->old", id); 
    892896 } 
Note: See TracChangeset for help on using the changeset viewer.