Changeset 774:aa9101ae61d1 in roaraudio


Ignore:
Timestamp:
09/07/08 04:38:53 (16 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

use roar_simple_new_stream_obj() not roar_simple_new_stream() so we can give back the streamid

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/file.c

    r764 r774  
    217217  out = con->fh; 
    218218 } else { 
    219   if ( (out = roar_simple_new_stream(con, rate, channels, bits, codec, ROAR_DIR_PLAY)) == -1 ) { 
     219  if ( (out = roar_simple_new_stream_obj(con, s, rate, channels, bits, codec, ROAR_DIR_PLAY)) == -1 ) { 
    220220   close(in); 
    221221   return -1; 
Note: See TracChangeset for help on using the changeset viewer.