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/lib/drv/include/audio_mixer_iface.h

    r8a7d78cc r1912b45  
    4646int audio_mixer_get_item_info(async_exch_t *, unsigned,
    4747    const char **, unsigned *);
    48 int audio_mixer_get_channel_info(async_exch_t *, unsigned, unsigned,
    49     const char **, unsigned *);
    50 int audio_mixer_channel_mute_set(async_exch_t *, unsigned, unsigned, bool);
    51 int audio_mixer_channel_mute_get(async_exch_t *, unsigned, unsigned, bool *);
    52 int audio_mixer_channel_volume_set(async_exch_t *, unsigned, unsigned,
    53     unsigned);
    54 int audio_mixer_channel_volume_get(async_exch_t *, unsigned, unsigned,
    55     unsigned *, unsigned *);
     48int audio_mixer_get_item_level(async_exch_t *, unsigned, unsigned *);
     49int audio_mixer_set_item_level(async_exch_t *, unsigned, unsigned);
    5650
    5751
     
    6054        int (*get_info)(ddf_fun_t *, const char **, unsigned *);
    6155        int (*get_item_info)(ddf_fun_t *, unsigned, const char **, unsigned *);
    62         int (*get_channel_info)(ddf_fun_t *, unsigned, unsigned,
    63             const char **, unsigned *);
    64         int (*channel_mute_set)(ddf_fun_t *, unsigned, unsigned, bool);
    65         int (*channel_mute_get)(ddf_fun_t *, unsigned, unsigned, bool *);
    66         int (*channel_volume_set)(ddf_fun_t *, unsigned, unsigned, unsigned);
    67         int (*channel_volume_get)(ddf_fun_t *, unsigned, unsigned,
    68             unsigned *, unsigned *);
     56        int (*get_item_level)(ddf_fun_t *, unsigned, unsigned *);
     57        int (*set_item_level)(ddf_fun_t *, unsigned, unsigned);
    6958} audio_mixer_iface_t;
    7059
Note: See TracChangeset for help on using the changeset viewer.