Changeset a46e56b in mainline for uspace/srv/audio/hound/audio_device.c
- Timestamp:
- 2018-03-22T06:49:35Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 77f0a1d
- Parents:
- 3e242d2
- git-author:
- Jakub Jermar <jakub@…> (2018-03-21 23:29:06)
- git-committer:
- Jakub Jermar <jakub@…> (2018-03-22 06:49:35)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/audio/hound/audio_device.c
r3e242d2 ra46e56b 53 53 static errno_t device_sink_connection_callback(audio_sink_t *sink, bool new); 54 54 static errno_t device_source_connection_callback(audio_source_t *source, bool new); 55 static void device_event_callback(cap_call_handle_t i id, ipc_call_t *icall, void *arg);55 static void device_event_callback(cap_call_handle_t icall_handle, ipc_call_t *icall, void *arg); 56 56 static errno_t device_check_format(audio_sink_t* sink); 57 57 static errno_t get_buffer(audio_device_t *dev); … … 261 261 * @param arg (unused) 262 262 */ 263 static void device_event_callback(cap_call_handle_t i id, ipc_call_t *icall, void *arg)263 static void device_event_callback(cap_call_handle_t icall_handle, ipc_call_t *icall, void *arg) 264 264 { 265 265 struct timeval time1; … … 267 267 268 268 /* Answer initial request */ 269 async_answer_0(i id, EOK);269 async_answer_0(icall_handle, EOK); 270 270 audio_device_t *dev = arg; 271 271 assert(dev); 272 272 while (1) { 273 273 ipc_call_t call; 274 cap_call_handle_t c allid= async_get_call(&call);275 async_answer_0(c allid, EOK);274 cap_call_handle_t chandle = async_get_call(&call); 275 async_answer_0(chandle, EOK); 276 276 switch(IPC_GET_IMETHOD(call)) { 277 277 case PCM_EVENT_FRAMES_PLAYED:
Note:
See TracChangeset
for help on using the changeset viewer.