📄 aflibmpg123file.3
字号:
.TH "aflibMpg123File" 3 "8 May 2002" "Open Source Audio Library Project" \" -*- nroff -*-.ad l.nh.SH NAMEaflibMpg123File \- Derived class to read MP3 audio files using the mpg decoder. .SH SYNOPSIS.br.PP\fC#include <aflibMpg123File.h>\fP.PPInherits \fBaflibFile\fP..PP.SS "Public Methods".in +1c.ti -1c.RI "\fBaflibMpg123File\fP ()".br.ti -1c.RI "\fB~aflibMpg123File\fP ()".br.ti -1c.RI "\fBaflibStatus\fP \fBafopen\fP (const char *file, \fBaflibConfig\fP *cfg)".br.RI "\fIMain API for opening a file or device in read mode.\fP".ti -1c.RI "\fBaflibStatus\fP \fBafcreate\fP (const char *file, const \fBaflibConfig\fP &cfg)".br.RI "\fIMain API for opening a file or device in write mode.\fP".ti -1c.RI "\fBaflibStatus\fP \fBafread\fP (\fBaflibData\fP &data, long long position=-1)".br.RI "\fIMain API function to read a segment of data.\fP".ti -1c.RI "\fBaflibStatus\fP \fBafwrite\fP (\fBaflibData\fP &data, long long position=-1)".br.RI "\fIMain API function to write a segment of audio data.\fP".ti -1c.RI "bool \fBisDataSizeSupported\fP (\fBaflib_data_size\fP size)".br.ti -1c.RI "bool \fBisEndianSupported\fP (\fBaflib_data_endian\fP end)".br.ti -1c.RI "bool \fBisSampleRateSupported\fP (int &rate)".br.ti -1c.RI "bool \fBsetItem\fP (const char *item, const void *value)".br.RI "\fIProvides the ability to set format specific information.\fP".in -1c.SH "DETAILED DESCRIPTION".PP Derived class to read MP3 audio files using the mpg decoder..PPThis class will read audio files of the MP3 (MPEG Audio Compression Format) format. This module uses the mpg decoder to decode MP3 files. The mpg decoder can be obtained from http://www.mpg123.de. Also the decoder must be located in the PATH of your environment in order for this module to find it. .PP.SH "CONSTRUCTOR & DESTRUCTOR DOCUMENTATION".PP .SS "aflibMpg123File::aflibMpg123File ()".PP.SS "aflibMpg123File::~aflibMpg123File ()".PP.SH "MEMBER FUNCTION DOCUMENTATION".PP .SS "\fBaflibStatus\fP aflibMpg123File::afcreate (const char * file, const \fBaflibConfig\fP & cfg)\fC [virtual]\fP".PPMain API for opening a file or device in write mode..PPThis function is only used for module support. For no module support the derived classes afcreate function will be called instead. For module support this function will make a call to the derived classes function. .PPReimplemented from \fBaflibFile\fP..SS "\fBaflibStatus\fP aflibMpg123File::afopen (const char * file, \fBaflibConfig\fP * cfg)\fC [virtual]\fP".PPMain API for opening a file or device in read mode..PPThis function is only used for module support. For no modules support the derived classes afopen function will be called instead. For module support this function will make a call to the derived classes function. .PPReimplemented from \fBaflibFile\fP..SS "\fBaflibStatus\fP aflibMpg123File::afread (\fBaflibData\fP & data, long long position = -1)\fC [virtual]\fP".PPMain API function to read a segment of data..PPThis function is only used for module support. For no module support the derived classes afread function will be called instead. For module support this function will make a call to the derived classes function. .PPReimplemented from \fBaflibFile\fP..SS "\fBaflibStatus\fP aflibMpg123File::afwrite (\fBaflibData\fP & data, long long position = -1)\fC [virtual]\fP".PPMain API function to write a segment of audio data..PPThis function is only used for module support. For no module support the derived classes afwrite function will be called instead. For module support this function will make a call to the derived class. .PPReimplemented from \fBaflibFile\fP..SS "bool aflibMpg123File::isDataSizeSupported (\fBaflib_data_size\fP size)\fC [virtual]\fP".PPReimplemented from \fBaflibFile\fP..SS "bool aflibMpg123File::isEndianSupported (\fBaflib_data_endian\fP end)\fC [virtual]\fP".PPReimplemented from \fBaflibFile\fP..SS "bool aflibMpg123File::isSampleRateSupported (int & rate)\fC [virtual]\fP".PPReimplemented from \fBaflibFile\fP..SS "bool aflibMpg123File::setItem (const char * item, const void * value)\fC [virtual]\fP".PPProvides the ability to set format specific information..PPThis provides the ability to set specific information relating to a specific format. One passes an item that is a specific character string that will be recognized by a format. One also passes a void pointer to a data item that is the data to be set. The documentation for the specific item will say what format the data should be. TRUE will be returned if the item was processed successfully otherwise FALSE will be returned. .PPReimplemented from \fBaflibFile\fP..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 + -