Changeset 5535:051e141134da in roaraudio for include


Ignore:
Timestamp:
06/12/12 15:24:46 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added roar_stream_new_by_info() as well as done some related cleanup

Location:
include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/stream.h

    r5381 r5535  
    6161int roar_stream_new     (struct roar_stream * s, unsigned int rate, unsigned int channels, unsigned int bits, unsigned int codec) _LIBROAR_ATTR_NONNULL_ALL; 
    6262 
     63int roar_stream_new_by_info (struct roar_stream * s, const struct roar_audio_info * info) _LIBROAR_STREAM_STDATTRS; 
     64 
    6365int roar_stream_set_rel_id(struct roar_stream * s, int id) _LIBROAR_ATTR_NONNULL_ALL; 
    6466int roar_stream_get_rel_id(struct roar_stream * s) _LIBROAR_STREAM_STDATTRS; 
  • include/roaraudio/stream.h

    r5381 r5535  
    156156 
    157157 struct roar_audio_info info; 
    158  
    159 /* 
    160  int    datalen; 
    161  char * database; 
    162  int    offset; 
    163  char * dataoff; 
    164 */ 
    165158}; 
    166159 
Note: See TracChangeset for help on using the changeset viewer.