Ignore:
Timestamp:
2014-02-10T20:24:30Z (11 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/srv/audio/hound/audio_device.c

    r054f3079 rb6e481b  
    4242#include <str.h>
    4343#include <str_error.h>
    44 #include <sys/mman.h>
     44#include <as.h>
    4545
    4646
     
    381381        const int ret = audio_pcm_release_buffer(dev->sess);
    382382        if (ret == EOK) {
    383                 munmap(dev->buffer.base, dev->buffer.size);
     383                as_area_destroy(dev->buffer.base);
    384384                dev->buffer.base = NULL;
    385385                dev->buffer.size = 0;
Note: See TracChangeset for help on using the changeset viewer.