⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 aflibbufferdev.3

📁 一个共享源码的音频库5(doc 文档)
💻 3
字号:
.TH "aflibBufferDev" 3 "8 May 2002" "Open Source Audio Library Project" \" -*- nroff -*-.ad l.nh.SH NAMEaflibBufferDev \- Class that implements a buffer for devices that need one. .SH SYNOPSIS.br.PP\fC#include <aflibBufferDev.h>\fP.PP.SS "Public Methods".in +1c.ti -1c.RI "\fBaflibBufferDev\fP ()".br.ti -1c.RI "\fB~aflibBufferDev\fP ()".br.ti -1c.RI "bool \fBinit\fP (int buf_size)".br.RI "\fIInitializes the buffer class.\fP".ti -1c.RI "int \fBgetBufferSize\fP () const".br.RI "\fIGets the total size of the buffer.\fP".ti -1c.RI "int \fBbytes_available\fP ()".br.RI "\fIGets the number bytes available to read from the buffer.\fP".ti -1c.RI "void \fBwrite\fP (unsigned char *buf, int num_bytes)".br.ti -1c.RI "void \fBread\fP (unsigned char *buf, int num_bytes)".br.in -1c.SH "DETAILED DESCRIPTION".PP Class that implements a buffer for devices that need one..PPSome audio devices do not provide buffering for audio data. The Solaris audio device in record mode is one. For record mode one must read data in blocks exactly. If the user requests a size different than the audio device block size then we must read the audio device block size and buffer the data and return the requested size from the buffer. This class provides this buffer. .PP.SH "CONSTRUCTOR & DESTRUCTOR DOCUMENTATION".PP .SS "aflibBufferDev::aflibBufferDev ()".PP.SS "aflibBufferDev::~aflibBufferDev ()".PP.SH "MEMBER FUNCTION DOCUMENTATION".PP .SS "int aflibBufferDev::bytes_available ()\fC [inline]\fP".PPGets the number bytes available to read from the buffer..PP.SS "int aflibBufferDev::getBufferSize () const\fC [inline]\fP".PPGets the total size of the buffer..PP.SS "bool aflibBufferDev::init (int buf_size)".PPInitializes the buffer class..PPThis will initialize the buffer class with a size of buf_size. Subsequent calls to this function will free any previous memory allocated with a call to init. .SS "void aflibBufferDev::read (unsigned char * buf, int num_bytes)".PP.SS "void aflibBufferDev::write (unsigned char * buf, int num_bytes)".PP.SH "AUTHOR".PP Generated automatically by Doxygen for Open Source Audio Library Project from the source code.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -