Logo Search packages:      
Sourcecode: camstream version File versions  Download package

int CVideoDevice::GetMBuffers (  )  const

Return number of mmaped() buffers.

Returns:
0 if no mmap() support exists. The device must be opened.
In case the device supports mmap(), this returns the number of buffers that are available and mapped.

Definition at line 932 of file VideoDevice.cc.

{
   if (VMBuf.size == 0)
     return 0;
   return VMBuf.frames;
}  


Generated by  Doxygen 1.6.0   Back to index