Changeset 4bbfb93 in mainline for uspace/lib/drv/generic/remote_audio_mixer.c
- Timestamp:
- 2012-07-05T21:06:26Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7364c6ee
- Parents:
- e941bf8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/remote_audio_mixer.c
re941bf8 r4bbfb93 144 144 return ret; 145 145 } 146 /*----------------------------------------------------------------------------*/ 146 147 147 int audio_mixer_get_item_info(async_exch_t *exch, unsigned item, 148 148 const char ** name, unsigned *channels) … … 173 173 return ret; 174 174 } 175 /*----------------------------------------------------------------------------*/ 175 176 176 int audio_mixer_get_channel_info(async_exch_t *exch, unsigned item, 177 177 unsigned channel, const char **name, unsigned *volume_levels) … … 203 203 return ret; 204 204 } 205 /*----------------------------------------------------------------------------*/ 205 206 206 int audio_mixer_channel_mute_set(async_exch_t *exch, unsigned item, 207 207 unsigned channel, bool mute_status) … … 212 212 IPC_M_AUDIO_MIXER_CHANNEL_MUTE_SET, item, channel, mute_status); 213 213 } 214 /*----------------------------------------------------------------------------*/ 214 215 215 int audio_mixer_channel_mute_get(async_exch_t *exch, unsigned item, 216 216 unsigned channel, bool *mute_status) … … 225 225 return ret; 226 226 } 227 /*----------------------------------------------------------------------------*/ 227 228 228 int audio_mixer_channel_volume_set(async_exch_t *exch, unsigned item, 229 229 unsigned channel, unsigned volume) … … 234 234 IPC_M_AUDIO_MIXER_CHANNEL_VOLUME_SET, item, channel, volume); 235 235 } 236 /*----------------------------------------------------------------------------*/ 236 237 237 int audio_mixer_channel_volume_get(async_exch_t *exch, unsigned item, 238 238 unsigned channel, unsigned *volume_current, unsigned *volume_max) … … 279 279 .methods = remote_audio_mixer_iface_ops 280 280 }; 281 /*----------------------------------------------------------------------------*/ 281 282 282 void remote_audio_mixer_get_info( 283 283 ddf_fun_t *fun, void *iface, ipc_callid_t callid, ipc_call_t *call) … … 309 309 } 310 310 } 311 /*----------------------------------------------------------------------------*/ 311 312 312 void remote_audio_mixer_get_item_info( 313 313 ddf_fun_t *fun, void *iface, ipc_callid_t callid, ipc_call_t *call) … … 341 341 } 342 342 } 343 /*----------------------------------------------------------------------------*/ 343 344 344 void remote_audio_mixer_get_channel_info( 345 345 ddf_fun_t *fun, void *iface, ipc_callid_t callid, ipc_call_t *call) … … 375 375 } 376 376 } 377 /*----------------------------------------------------------------------------*/ 377 378 378 void remote_audio_mixer_channel_mute_set( 379 379 ddf_fun_t *fun, void *iface, ipc_callid_t callid, ipc_call_t *call) … … 391 391 async_answer_0(callid, ret); 392 392 } 393 /*----------------------------------------------------------------------------*/ 393 394 394 void remote_audio_mixer_channel_mute_get( 395 395 ddf_fun_t *fun, void *iface, ipc_callid_t callid, ipc_call_t *call) … … 408 408 async_answer_1(callid, ret, mute); 409 409 } 410 /*----------------------------------------------------------------------------*/ 410 411 411 void remote_audio_mixer_channel_volume_set( 412 412 ddf_fun_t *fun, void *iface, ipc_callid_t callid, ipc_call_t *call) … … 425 425 async_answer_0(callid, ret); 426 426 } 427 /*----------------------------------------------------------------------------*/ 427 428 428 void remote_audio_mixer_channel_volume_get( 429 429 ddf_fun_t *fun, void *iface, ipc_callid_t callid, ipc_call_t *call)
Note:
See TracChangeset
for help on using the changeset viewer.