Changeset 963:9f2802d4302b in roaraudio for libroar/stream.c


Ignore:
Timestamp:
12/09/08 15:43:39 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added support to read stream flags (currently primary and output), prepered driver name request support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/stream.c

    r881 r963  
    282282  return -1; 
    283283 
     284 memset(info, 0, sizeof(struct roar_stream_info)); 
     285 
    284286 info->block_size     = data[2]; 
    285287 info->pre_underruns  = data[3]; 
    286288 info->post_underruns = data[4]; 
    287289 info->codec          = data[5]; 
     290 info->flags          = data[6]; 
    288291 
    289292 return 0; 
Note: See TracChangeset for help on using the changeset viewer.