Changeset b6e481b in mainline
- Timestamp:
- 2014-02-10T20:24:30Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2463df9
- Parents:
- 054f3079
- Location:
- uspace
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/wavplay/dplay.c
r054f3079 rb6e481b 41 41 #include <fibril_synch.h> 42 42 #include <pcm/format.h> 43 #include < sys/mman.h>43 #include <as.h> 44 44 #include <sys/time.h> 45 45 #include <inttypes.h> … … 397 397 cleanup: 398 398 fclose(pb.source); 399 munmap(pb.buffer.base, pb.buffer.size);399 as_area_destroy(pb.buffer.base); 400 400 audio_pcm_release_buffer(pb.device); 401 401 close_session: -
uspace/app/wavplay/drec.c
r054f3079 rb6e481b 40 40 #include <pcm/format.h> 41 41 #include <stdio.h> 42 #include < sys/mman.h>42 #include <as.h> 43 43 #include <inttypes.h> 44 44 … … 229 229 cleanup: 230 230 fclose(rec.file); 231 munmap(rec.buffer.base, rec.buffer.size);231 as_area_destroy(rec.buffer.base); 232 232 audio_pcm_release_buffer(rec.device); 233 233 close_session: -
uspace/srv/audio/hound/audio_device.c
r054f3079 rb6e481b 42 42 #include <str.h> 43 43 #include <str_error.h> 44 #include < sys/mman.h>44 #include <as.h> 45 45 46 46 … … 381 381 const int ret = audio_pcm_release_buffer(dev->sess); 382 382 if (ret == EOK) { 383 munmap(dev->buffer.base, dev->buffer.size);383 as_area_destroy(dev->buffer.base); 384 384 dev->buffer.base = NULL; 385 385 dev->buffer.size = 0;
Note:
See TracChangeset
for help on using the changeset viewer.