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


Ignore:
Timestamp:
2014-02-10T20:24:30Z (10 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2463df9
Parents:
054f3079
Message:

Remove calls to munmap() from native code.

File:
1 edited

Legend:

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

    r054f3079 rb6e481b  
    4141#include <fibril_synch.h>
    4242#include <pcm/format.h>
    43 #include <sys/mman.h>
     43#include <as.h>
    4444#include <sys/time.h>
    4545#include <inttypes.h>
     
    397397cleanup:
    398398        fclose(pb.source);
    399         munmap(pb.buffer.base, pb.buffer.size);
     399        as_area_destroy(pb.buffer.base);
    400400        audio_pcm_release_buffer(pb.device);
    401401close_session:
Note: See TracChangeset for help on using the changeset viewer.