Ignore:
Timestamp:
2012-07-05T21:06:26Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7364c6ee
Parents:
e941bf8
Message:

libdrv/audio: Remove optical separators.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/generic/remote_audio_mixer.c

    re941bf8 r4bbfb93  
    144144        return ret;
    145145}
    146 /*----------------------------------------------------------------------------*/
     146
    147147int audio_mixer_get_item_info(async_exch_t *exch, unsigned item,
    148148    const char ** name, unsigned *channels)
     
    173173        return ret;
    174174}
    175 /*----------------------------------------------------------------------------*/
     175
    176176int audio_mixer_get_channel_info(async_exch_t *exch, unsigned item,
    177177    unsigned channel, const char **name, unsigned *volume_levels)
     
    203203        return ret;
    204204}
    205 /*----------------------------------------------------------------------------*/
     205
    206206int audio_mixer_channel_mute_set(async_exch_t *exch, unsigned item,
    207207    unsigned channel, bool mute_status)
     
    212212            IPC_M_AUDIO_MIXER_CHANNEL_MUTE_SET, item, channel, mute_status);
    213213}
    214 /*----------------------------------------------------------------------------*/
     214
    215215int audio_mixer_channel_mute_get(async_exch_t *exch, unsigned item,
    216216    unsigned channel, bool *mute_status)
     
    225225        return ret;
    226226}
    227 /*----------------------------------------------------------------------------*/
     227
    228228int audio_mixer_channel_volume_set(async_exch_t *exch, unsigned item,
    229229    unsigned channel, unsigned volume)
     
    234234            IPC_M_AUDIO_MIXER_CHANNEL_VOLUME_SET, item, channel, volume);
    235235}
    236 /*----------------------------------------------------------------------------*/
     236
    237237int audio_mixer_channel_volume_get(async_exch_t *exch, unsigned item,
    238238    unsigned channel, unsigned *volume_current, unsigned *volume_max)
     
    279279        .methods = remote_audio_mixer_iface_ops
    280280};
    281 /*----------------------------------------------------------------------------*/
     281
    282282void remote_audio_mixer_get_info(
    283283    ddf_fun_t *fun, void *iface, ipc_callid_t callid, ipc_call_t *call)
     
    309309        }
    310310}
    311 /*----------------------------------------------------------------------------*/
     311
    312312void remote_audio_mixer_get_item_info(
    313313    ddf_fun_t *fun, void *iface, ipc_callid_t callid, ipc_call_t *call)
     
    341341        }
    342342}
    343 /*----------------------------------------------------------------------------*/
     343
    344344void remote_audio_mixer_get_channel_info(
    345345    ddf_fun_t *fun, void *iface, ipc_callid_t callid, ipc_call_t *call)
     
    375375        }
    376376}
    377 /*----------------------------------------------------------------------------*/
     377
    378378void remote_audio_mixer_channel_mute_set(
    379379    ddf_fun_t *fun, void *iface, ipc_callid_t callid, ipc_call_t *call)
     
    391391        async_answer_0(callid, ret);
    392392}
    393 /*----------------------------------------------------------------------------*/
     393
    394394void remote_audio_mixer_channel_mute_get(
    395395    ddf_fun_t *fun, void *iface, ipc_callid_t callid, ipc_call_t *call)
     
    408408        async_answer_1(callid, ret, mute);
    409409}
    410 /*----------------------------------------------------------------------------*/
     410
    411411void remote_audio_mixer_channel_volume_set(
    412412    ddf_fun_t *fun, void *iface, ipc_callid_t callid, ipc_call_t *call)
     
    425425        async_answer_0(callid, ret);
    426426}
    427 /*----------------------------------------------------------------------------*/
     427
    428428void remote_audio_mixer_channel_volume_get(
    429429    ddf_fun_t *fun, void *iface, ipc_callid_t callid, ipc_call_t *call)
Note: See TracChangeset for help on using the changeset viewer.