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


Ignore:
Timestamp:
2019-02-23T17:16:01Z (5 years ago)
Author:
GitHub <noreply@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8c193d83, ca0e838
Parents:
bc417660 (diff), 95a47b0 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-23 17:16:01)
git-committer:
GitHub <noreply@…> (2019-02-23 17:16:01)
Message:

Merge pull request #157

Turn some function-like macros into functions

File:
1 edited

Legend:

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

    rbc417660 rab87db5  
    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.