Mixxx

SoundSourceFLAC Class Reference

Decodes FLAC files using libFLAC for Mixxx. More...

#include <soundsourceflac.h>

Inheritance diagram for SoundSourceFLAC:
Collaboration diagram for SoundSourceFLAC:

List of all members.

Public Member Functions

 SoundSourceFLAC (QString filename)
 ~SoundSourceFLAC ()
int open ()
long seek (long filepos)
unsigned read (unsigned long size, const SAMPLE *buffer)
long unsigned length ()
int parseHeader ()
FLAC__StreamDecoderReadStatus flacRead (FLAC__byte buffer[], size_t *bytes)
FLAC__StreamDecoderSeekStatus flacSeek (FLAC__uint64 offset)
FLAC__StreamDecoderTellStatus flacTell (FLAC__uint64 *offset)
FLAC__StreamDecoderLengthStatus flacLength (FLAC__uint64 *length)
FLAC__bool flacEOF ()
FLAC__StreamDecoderWriteStatus flacWrite (const FLAC__Frame *frame, const FLAC__int32 *const buffer[])
void flacMetadata (const FLAC__StreamMetadata *metadata)
void flacError (FLAC__StreamDecoderErrorStatus status)

Static Public Member Functions

static QList< QString > supportedFileExtensions ()

Detailed Description

Decodes FLAC files using libFLAC for Mixxx.

Author:
Bill Good <bkgood at="" gmail="" dot="" com>="">
Date:
May 22, 2010

Definition at line 28 of file soundsourceflac.h.


Constructor & Destructor Documentation

SoundSourceFLAC::SoundSourceFLAC ( QString  filename)

Definition at line 22 of file soundsourceflac.cpp.

SoundSourceFLAC::~SoundSourceFLAC ( )

Definition at line 38 of file soundsourceflac.cpp.


Member Function Documentation

FLAC__bool SoundSourceFLAC::flacEOF ( )

Definition at line 242 of file soundsourceflac.cpp.

void SoundSourceFLAC::flacError ( FLAC__StreamDecoderErrorStatus  status)

Definition at line 291 of file soundsourceflac.cpp.

FLAC__StreamDecoderLengthStatus SoundSourceFLAC::flacLength ( FLAC__uint64 *  length)

Definition at line 234 of file soundsourceflac.cpp.

void SoundSourceFLAC::flacMetadata ( const FLAC__StreamMetadata *  metadata)

Definition at line 269 of file soundsourceflac.cpp.

FLAC__StreamDecoderReadStatus SoundSourceFLAC::flacRead ( FLAC__byte  buffer[],
size_t *  bytes 
)

Definition at line 207 of file soundsourceflac.cpp.

FLAC__StreamDecoderSeekStatus SoundSourceFLAC::flacSeek ( FLAC__uint64  offset)

Definition at line 218 of file soundsourceflac.cpp.

FLAC__StreamDecoderTellStatus SoundSourceFLAC::flacTell ( FLAC__uint64 *  offset)

Definition at line 226 of file soundsourceflac.cpp.

FLAC__StreamDecoderWriteStatus SoundSourceFLAC::flacWrite ( const FLAC__Frame *  frame,
const FLAC__int32 *const  buffer[] 
)

Definition at line 249 of file soundsourceflac.cpp.

unsigned long SoundSourceFLAC::length ( ) [inline, virtual]

Implements Mixxx::SoundSource.

Definition at line 141 of file soundsourceflac.cpp.

int SoundSourceFLAC::open ( ) [virtual]

Implements Mixxx::SoundSource.

Definition at line 55 of file soundsourceflac.cpp.

Here is the call graph for this function:

int SoundSourceFLAC::parseHeader ( ) [virtual]

Implements Mixxx::SoundSource.

Definition at line 145 of file soundsourceflac.cpp.

Here is the call graph for this function:

unsigned int SoundSourceFLAC::read ( unsigned long  size,
const SAMPLE buffer 
) [virtual]

Implements Mixxx::SoundSource.

Definition at line 107 of file soundsourceflac.cpp.

long SoundSourceFLAC::seek ( long  filepos) [virtual]

Implements Mixxx::SoundSource.

Definition at line 96 of file soundsourceflac.cpp.

QList< QString > SoundSourceFLAC::supportedFileExtensions ( ) [static]

Definition at line 199 of file soundsourceflac.cpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines