Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

libmadplugin.cpp File Reference

#include "libmadplugin.h"
#include <qpe/config.h>
#include <opie2/odebug.h>
#include <qapplication.h>
#include <qmessagebox.h>
#include <qregexp.h>
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <string.h>
#include <ctype.h>
#include <errno.h>
#include <time.h>
#include <locale.h>
#include <math.h>
#include <assert.h>
#include <netinet/in.h>
#include <netdb.h>
#include <linux/limits.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include "mad.h"

Include dependency graph for libmadplugin.cpp:

Go to the source code of this file.

Defines

#define MPEG_BUFFER_SIZE   65536
#define debugMsg(a)

Functions

static QString tr (const char *str)
long audio_linear_dither (mad_fixed_t sample, mad_fixed_t &error)
void audio_pcm (short *data, unsigned int nsamples, mad_fixed_t *left, mad_fixed_t *right)

Variables

static mad_fixed_t left_err
static mad_fixed_t right_err
static const int bits = 16
static const int shift = MAD_F_FRACBITS + 1 - bits


Define Documentation

#define debugMsg  ) 
 

Definition at line 73 of file libmadplugin.cpp.

Referenced by LibMadPlugin::audioChannels(), LibMadPlugin::audioFrequency(), LibTremorPlugin::audioGetSample(), LibMadPlugin::audioGetSample(), LibMadPlugin::audioReadSamples(), LibTremorPlugin::audioSamples(), LibMadPlugin::audioSamples(), LibTremorPlugin::audioSetSample(), LibMadPlugin::audioSetSample(), LibTremorPlugin::audioStreams(), LibMadPlugin::audioStreams(), LibTremorPlugin::close(), LibMadPlugin::close(), LibMadPlugin::decode(), LibTremorPlugin::getTime(), LibMadPlugin::getTime(), LibTremorPlugin::isFileSupported(), LibMadPlugin::isFileSupported(), LibTremorPlugin::isOpen(), LibMadPlugin::isOpen(), LibTremorPlugin::open(), LibMadPlugin::open(), LibMadPlugin::printID3Tags(), and LibMadPlugin::read().

#define MPEG_BUFFER_SIZE   65536
 

Definition at line 70 of file libmadplugin.cpp.

Referenced by LibMadPlugin::open().


Function Documentation

long audio_linear_dither mad_fixed_t  sample,
mad_fixed_t error
[inline]
 

Definition at line 711 of file libmadplugin.cpp.

References MAD_F_ONE.

Referenced by audio_pcm().

void audio_pcm short *  data,
unsigned int  nsamples,
mad_fixed_t left,
mad_fixed_t right
[inline]
 

Definition at line 720 of file libmadplugin.cpp.

References audio_linear_dither().

Referenced by LibMadPlugin::decode().

static QString tr const char *  str  )  [inline, static]
 

Definition at line 131 of file libmadplugin.cpp.

References qApp.


Variable Documentation

const int bits = 16 [static]
 

Definition at line 707 of file libmadplugin.cpp.

Referenced by QtRec::changebitrateCombo(), Gfx::doImage(), ImageStream::getPixel(), BFont::GetPixel(), CCITTFaxStream::lookChar(), Stream::makeFilter(), MD5Final(), KeytabReader::parseTo(), QtRec::quickRec(), rdp_in_present(), DCTStream::readAmp(), and SampledFunction::SampledFunction().

mad_fixed_t left_err [static]
 

Definition at line 706 of file libmadplugin.cpp.

mad_fixed_t right_err [static]
 

Definition at line 706 of file libmadplugin.cpp.

const int shift = MAD_F_FRACBITS + 1 - bits [static]
 

Definition at line 708 of file libmadplugin.cpp.

Referenced by Qt3::QTextParagraph::format(), Qt3::QTextFormatter::formatVertically(), is_pixel_on(), ITUnpack16Bit(), ITUnpack8Bit(), Qt3::QTextParagraph::move(), Qt3::QTextTable::pageBreak(), PredictTabWidget::PredictTabWidget(), and VFLOAT_ADD().


Generated on Sat Nov 5 16:24:25 2005 for OPIE by  doxygen 1.4.2