Changeset 1912b45 in mainline for uspace/drv/audio/sb16/mixer.h


Ignore:
Timestamp:
2013-04-10T20:52:26Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5b77efc
Parents:
8a7d78cc
Message:

Make pcm control iface generic

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/audio/sb16/mixer.h

    r8a7d78cc r1912b45  
    5454int sb_mixer_get_control_item_count(const sb_mixer_t *mixer);
    5555int sb_mixer_get_control_item_info(const sb_mixer_t *mixer, unsigned index,
    56     const char **name, unsigned *channels);
    57 int sb_mixer_get_channel_info(const sb_mixer_t *mixer, unsigned index,
    58     unsigned channel, const char **name, unsigned *levels);
    59 int sb_mixer_set_volume_level(const sb_mixer_t *mixer,
    60     unsigned item, unsigned channel, unsigned level);
    61 unsigned sb_mixer_get_volume_level(const sb_mixer_t *mixer,
    62     unsigned item, unsigned channel);
     56    const char **name, unsigned *levels);
     57int sb_mixer_get_control_item_value(const sb_mixer_t *mixer, unsigned index,
     58    unsigned *value);
     59int sb_mixer_set_control_item_value(const sb_mixer_t *mixer, unsigned index,
     60    unsigned value);
    6361#endif
    6462/**
Note: See TracChangeset for help on using the changeset viewer.