AudioIO Class Reference

<class description="" goes="" here=""> <short description=""> More...

#include <AudioIO.hpp>

Inheritance diagram for AudioIO:

IO VThread DSPaudioIO SDLaudioIO List of all members.

Public Member Functions

 AudioIO (AudioESInfo *es, ESSynchronizer *ess=NULL)
void setESInfo (ESInfo *es)
ESInfo * getESInfo ()
void setTicksPerSecond (u32 uiTicksPerSeconds)
bool destroy ()
 deletes the data source for this IO class.
int getBufferFillLevel () const
 returns a value from 0..100 indicating buffer usage
const char * getURL () const
 returns a pointer to the local file name or an URL
bool setToFrameNumber (u32 frameNumber)
 repositions the IO class to the given frame.
void setDimension ()
ESSynchronizer * getESSync ()
long getLastPTS ()
void setLastPTS (long pts)

Protected Attributes

ESSynchronizer * essync
const AudioESInfo * es
u32 muiTicksPerSecond
long lastPTSseen
 stores the CTS of the last rendered frame
bool firstFrame
long num_frames

Detailed Description

<class description="" goes="" here=""> <short description="">

Author:
Mithlesh Kumar
Version:
Id
AudioIO.hpp,v 1.13 2006/01/26 11:42:00 mkropfbe Exp

Definition at line 81 of file AudioIO.hpp.


Member Function Documentation

bool AudioIO::destroy (   )  [virtual]
 

deletes the data source for this IO class.

* not implemented, senseless for audio device!

Implements IO.

Definition at line 84 of file AudioIO.cpp.

Referenced by DSPaudioIO::close().

00084 { 00085 return false; 00086 }

bool AudioIO::setToFrameNumber (  u32  frameNumber  )  [inline, virtual]
 

repositions the IO class to the given frame.

Will return false in the following cases:

  • an illegal frame number (too large) was specified
  • the stream is not seekable, because the underlying device is a network device and the requested frame is already out of range: FIXME: implement

Reimplemented from IO.

Definition at line 111 of file AudioIO.hpp.

00111 { 00112 return false; 00113 };


The documentation for this class was generated from the following files: