dmBuffer(3dm) dmBuffer(3dm)
dmBufferGetPoolFD, dmBufferSetPoolSelectSize - configure DMbufferpool
file descriptor
#include <dmedia/dm_buffer.h>
int dmBufferGetPoolFD(DMbufferpool pool);
DMstatus dmBufferSetPoolSelectSize(DMbufferpool pool, int minBytesFree);
dmBufferGetPoolFD returns a file descriptor for use in select(2) or
poll(2).
dmBufferSetPoolSelectSize sets the available byte count at which
select(2) or poll(2) reports the pool has space available for allocation.
The file descriptor is for use in the writefds argument to select(2).
select(2), poll(2), dmBufferSetPoolDefaults(3dm),
dmBufferCreatePool(3dm).
PPPPaaaaggggeeee 1111 [ Back ]
|