Changeset 1573:7c378b33f20f in roaraudio for libroarsndio/stream.c


Ignore:
Timestamp:
04/13/09 02:05:00 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

use connection based simple API, not stream based simple API

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroarsndio/stream.c

    r1571 r1573  
    4242  return 0; 
    4343 
    44  if ( (hdl->fh = roar_simple_play(_i(rate), _i(channels), _i(bits), _i(codec), hdl->device, "libroarsndio")) == -1 ) 
     44 if ( (hdl->fh = roar_simple_new_stream_obj(&(hdl->con), &(hdl->stream), _i(rate), _i(channels), _i(bits), _i(codec), ROAR_DIR_PLAY)) == -1 ) 
    4545  return 0; 
    4646 
Note: See TracChangeset for help on using the changeset viewer.