Changeset e5bc912 in mainline for uspace/app
- Timestamp:
- 2013-08-16T15:16:21Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ac8b096
- Parents:
- 537620a8
- Location:
- uspace/app/wavplay
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/wavplay/dplay.c
r537620a8 re5bc912 43 43 #include <sys/mman.h> 44 44 #include <sys/time.h> 45 #include <inttypes.h> 45 46 46 47 #include <stdio.h> … … 104 105 case PCM_EVENT_PLAYBACK_STARTED: 105 106 case PCM_EVENT_FRAMES_PLAYED: 106 printf("% uframes: ", IPC_GET_ARG1(call));107 printf("%" PRIun " frames: ", IPC_GET_ARG1(call)); 107 108 async_answer_0(callid, EOK); 108 109 break; … … 116 117 return; 117 118 default: 118 printf("Unknown event % d.\n", IPC_GET_IMETHOD(call));119 printf("Unknown event %" PRIun ".\n", IPC_GET_IMETHOD(call)); 119 120 async_answer_0(callid, ENOTSUP); 120 121 continue; -
uspace/app/wavplay/drec.c
r537620a8 re5bc912 41 41 #include <stdio.h> 42 42 #include <sys/mman.h> 43 #include <inttypes.h> 43 44 44 45 #include "wave.h" … … 103 104 record = false; 104 105 case PCM_EVENT_FRAMES_CAPTURED: 105 printf("% uframes\n", IPC_GET_ARG1(call));106 printf("%" PRIun " frames\n", IPC_GET_ARG1(call)); 106 107 async_answer_0(callid, EOK); 107 108 break; 108 109 default: 109 printf("Unknown event % d.\n", IPC_GET_IMETHOD(call));110 printf("Unknown event %" PRIun ".\n", IPC_GET_IMETHOD(call)); 110 111 async_answer_0(callid, ENOTSUP); 111 112 continue;
Note:
See TracChangeset
for help on using the changeset viewer.
