Changeset 57:b3abe3c77d41 in roaraudio
- Timestamp:
- 07/12/08 11:12:11 (16 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
include/roaraudio.h
r56 r57 11 11 #include <sys/types.h> 12 12 #include <limits.h> 13 #include <sys/mman.h> 13 14 14 15 #include <arpa/inet.h> … … 77 78 78 79 #ifdef ROAR_HAVE_MLOCK 79 #define ROAR_MLOCK(p,s) mlo ok((p) - (p) % sysconf(_SC_PAGESIZE), (s))80 #define ROAR_MLOCK(p,s) mlock((p), (s)) 80 81 #endif 81 82 -
roard/output.c
r0 r57 28 28 29 29 ROAR_DBG("output_buffer_init(*): output buffer is at %p", buf); 30 31 #ifdef ROAR_HAVE_MLOCK 32 ROAR_MLOCK(buf, size); 33 #endif 30 34 31 35 output_buffer_reinit();
Note: See TracChangeset
for help on using the changeset viewer.