Changeset 4379:5861284631eb in roaraudio for roard/include


Ignore:
Timestamp:
09/14/10 22:16:53 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

support reading volumes at startup

Location:
roard/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • roard/include/hwmixer.h

    r4378 r4379  
    2929#include <roaraudio.h> 
    3030 
     31#define HWMIXER_MODE_ASK        0 
    3132#define HWMIXER_MODE_SET        1 
    3233 
     
    4647 
    4748int hwmixer_set_volume(int id, struct roar_stream_server * ss, struct hwmixer_stream * mstream, struct roar_mixer_settings * settings); 
     49int hwmixer_get_volume(int id, struct roar_stream_server * ss, struct hwmixer_stream * mstream, struct roar_mixer_settings * settings); 
    4850 
    4951struct hwmixer_stream * hwmixer_substream_new(struct hwmixer_stream * parent); 
  • roard/include/streams.h

    r4361 r4379  
    171171struct hwmixer_stream * streams_get_mixerstream(int id); 
    172172int streams_set_mixerstream(int id, struct hwmixer_stream * mstream); 
     173int streams_read_mixervalues(int id); 
    173174 
    174175int streams_ctl          (int id, int_least32_t cmd, void * data); 
Note: See TracChangeset for help on using the changeset viewer.