Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/wavplay/drec.c

    r4a8d0dd1 rfafb8e5  
    3636#include <assert.h>
    3737#include <errno.h>
     38#include <fibril.h>
    3839#include <str_error.h>
    3940#include <audio_pcm_iface.h>
     
    8889 * Writes recorded data.
    8990 *
    90  * @param icall Poitner to IPC call structure.
    91  * @param arg   Argument. Poitner to recording helper structure.
     91 * @param icall Pointer to IPC call structure.
     92 * @param arg   Argument. Pointer to recording helper structure.
    9293 *
    9394 */
     
    102103                async_get_call(&call);
    103104
    104                 switch (IPC_GET_IMETHOD(call)) {
     105                switch (ipc_get_imethod(&call)) {
    105106                case PCM_EVENT_CAPTURE_TERMINATED:
    106107                        printf("Recording terminated\n");
     
    108109                        break;
    109110                case PCM_EVENT_FRAMES_CAPTURED:
    110                         printf("%" PRIun " frames\n", IPC_GET_ARG1(call));
     111                        printf("%" PRIun " frames\n", ipc_get_arg1(&call));
    111112                        break;
    112113                default:
    113                         printf("Unknown event %" PRIun ".\n", IPC_GET_IMETHOD(call));
     114                        printf("Unknown event %" PRIun ".\n", ipc_get_imethod(&call));
    114115                        async_answer_0(&call, ENOTSUP);
    115116                        continue;
Note: See TracChangeset for help on using the changeset viewer.