Changeset 4361:135e78128e19 in roaraudio for roard/include


Ignore:
Timestamp:
09/14/10 17:02:58 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added very basic mixer setup rutines

Location:
roard/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • roard/include/hwmixer.h

    r4360 r4361  
    2929#include <roaraudio.h> 
    3030 
     31struct hwmixer_stream; 
     32 
    3133void print_hwmixerlist (void); 
    3234int hwmixer_open(int basestream, char * drv, char * dev, int fh, char * basename, char * subnames); 
    33  
     35int hwmixer_close(int stream); 
    3436#endif 
    3537 
  • roard/include/streams.h

    r4289 r4361  
    110110 int parent_stream; 
    111111 struct roar_stream_ltm ltm[MAX_LTM_WINDOWS_PER_STREAM]; 
     112 struct hwmixer_stream * mixerstream; 
    112113} * g_streams[ROAR_STREAMS_MAX]; 
    113114 
     
    168169struct roar_stream_ltm * streams_ltm_get(int id, int mt, int window); 
    169170 
     171struct hwmixer_stream * streams_get_mixerstream(int id); 
     172int streams_set_mixerstream(int id, struct hwmixer_stream * mstream); 
     173 
    170174int streams_ctl          (int id, int_least32_t cmd, void * data); 
    171175 
Note: See TracChangeset for help on using the changeset viewer.