Changes in uspace/app/wavplay/drec.c [4a8d0dd1:fafb8e5] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/wavplay/drec.c
r4a8d0dd1 rfafb8e5 36 36 #include <assert.h> 37 37 #include <errno.h> 38 #include <fibril.h> 38 39 #include <str_error.h> 39 40 #include <audio_pcm_iface.h> … … 88 89 * Writes recorded data. 89 90 * 90 * @param icall Poi tner to IPC call structure.91 * @param arg Argument. Poi tner to recording helper structure.91 * @param icall Pointer to IPC call structure. 92 * @param arg Argument. Pointer to recording helper structure. 92 93 * 93 94 */ … … 102 103 async_get_call(&call); 103 104 104 switch ( IPC_GET_IMETHOD(call)) {105 switch (ipc_get_imethod(&call)) { 105 106 case PCM_EVENT_CAPTURE_TERMINATED: 106 107 printf("Recording terminated\n"); … … 108 109 break; 109 110 case PCM_EVENT_FRAMES_CAPTURED: 110 printf("%" PRIun " frames\n", IPC_GET_ARG1(call));111 printf("%" PRIun " frames\n", ipc_get_arg1(&call)); 111 112 break; 112 113 default: 113 printf("Unknown event %" PRIun ".\n", IPC_GET_IMETHOD(call));114 printf("Unknown event %" PRIun ".\n", ipc_get_imethod(&call)); 114 115 async_answer_0(&call, ENOTSUP); 115 116 continue;
Note:
See TracChangeset
for help on using the changeset viewer.