![]() |
![]() |
![]() |
GStreamer Core Plugins 0.10 Plugins Reference Manual | ![]() |
---|---|---|---|---|
"fd" gint : Read "location" gchararray : Read / Write "mmapsize" gulong : Read / Write "touch" gboolean : Read / Write "use-mmap" gboolean : Read / Write "sequential" gboolean : Read / Write
Read data from a file in the local file system. The implementation is using mmap(2) to read chunks from the file in an efficient way.
plugin | coreelements |
author | Erik Walthinsen <omega@cse.ogi.edu> |
class | Source/File |
fd
" property"fd" gint : Read
File-descriptor for the file being mmap()d.
Allowed values: >= 0
Default value: 0
location
" property"location" gchararray : Read / Write
Location of the file to read.
Default value: NULL
touch
" property"touch" gboolean : Read / Write
Touch mmapped data regions to force them to be read from disk.
Default value: TRUE
use-mmap
" property"use-mmap" gboolean : Read / Write
Whether to use mmap. FALSE to force normal read() calls.
Default value: TRUE
sequential
" property"sequential" gboolean : Read / Write
Whether to use madvise to hint to the kernel that access to mmap pages will be sequential.
Default value: FALSE