Changeset eb13ef8 in mainline for uspace/app/wavplay/dplay.c


Ignore:
Timestamp:
2019-02-06T13:25:12Z (5 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
fafb8e5
Parents:
bb97118
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-02 14:04:02)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-06 13:25:12)
Message:

Change IPC_GET_* and IPC_SET_* to accept pointer instead of lvalue

File:
1 edited

Legend:

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

    rbb97118 reb13ef8  
    103103                async_get_call(&call);
    104104
    105                 switch (IPC_GET_IMETHOD(call)) {
     105                switch (IPC_GET_IMETHOD(&call)) {
    106106                case PCM_EVENT_PLAYBACK_STARTED:
    107107                case PCM_EVENT_FRAMES_PLAYED:
    108                         printf("%" PRIun " frames: ", IPC_GET_ARG1(call));
     108                        printf("%" PRIun " frames: ", IPC_GET_ARG1(&call));
    109109                        async_answer_0(&call, EOK);
    110110                        break;
     
    118118                        return;
    119119                default:
    120                         printf("Unknown event %" PRIun ".\n", IPC_GET_IMETHOD(call));
     120                        printf("Unknown event %" PRIun ".\n", IPC_GET_IMETHOD(&call));
    121121                        async_answer_0(&call, ENOTSUP);
    122122                        continue;
Note: See TracChangeset for help on using the changeset viewer.