API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

AEEFIFO_IOCTL_SETBUFSIZE

Brew Release
Brew MP 1.0.2
See Also
IFIFO IFIFO_GetBufSize() IFIFO_SetBufSize() IFIFO_IOCtl()
Description
When AEEFIFO_IOCTL_SETBUFSIZE is used as the nOption parameter to IFIFO_IOCtl(), dwVal must be set to an uint32, which contains the desired kernel buffer size for this FIFO.
Since there can be many readers and/or writers per FIFO, the actual size of the kernel buffer will be the maximum of all buffer size requests. Specifying a buffer size smaller than the current size is not supported. In the absence of any explicit requests, the buffer size will be set to the system default, which can be determined using IFIFO_GetBufSize().
As a convenience, IFIFO_SetBufSize() is provided as a wrapper around IFIFO_IOCtl().
Definition
  •    #define AEEFIFO_IOCTL_SETBUFSIZE  BREWIOCTL(BREWIOCTL_FIFO_TYPE, 2)
    
Comments
None