Developer Documentation
Centre for Vision, Speech & Signal Processing
USER IN NAMESPACE AMMA TREE ROOT AMMA SEARCH AMMA HOME
 

  PUBLIC
SoundDrvC::SoundDrvC(void)
SoundDrvC::SetSampleRate(IntT)
SoundDrvC::SetBits(IntT)
SoundDrvC::WriteBlock16(const SArray1dC &)
SoundDrvC::ReadBlock16(SArray1dC &,BooleanT)
SoundDrvC::Dump(void)
RCHandleC::IsValid(void) const
RCHandleC::IsValidObject(void) const
RCHandleC::operator=(const RCHandleC &)
RCHandleC::operator==(const RCHandleC &) const
RCHandleC::operator!=(const RCHandleC &) const
RCHandleC::Hash(void) const
RCHandleC::IsConst(void) const
RCHandleC::IsNotConst(void) const
RCHandleC::SetConst(void) const
RCHandleC::Invalidate(void)
RCHandleC::Body(void)
RCHandleC::Body(void) const
SoundDrvC
 
Sound driver handle.
 
include "amma/Sound/Sound.hh"
User Level:Default
Library:Sound
Example:SockServer.cc
Section:Utilities.Drivers.Sound
In Scope:std

Parent Classes:

Methods:
SoundDrvC()
Default constructor.

BooleanT SetSampleRate(IntT hertz)
Set sample rate in hertz.

IntT SetBits(IntT bits)
Set sample rate in hertz.
8 or 16.

BooleanT WriteBlock16(const SArray1dC<short> & data)
Write a block of 16 bit data.

IntT ReadBlock16(SArray1dC<short> & data,BooleanT noblock = FALSE)
Read a block of 16 bit data.
Will fill array if noblock is FALSE. otherwise will just empty buffer. Returns no samples.

void Dump()
Dump

#include "amma/RCHandle.hh"
BooleanT IsValid() const
Check its a valid handle.

BooleanT IsValidObject() const
Check its a valid handle, and that the object is pointed to is also valid.

RCHandleC<SoundDrvBaseBodyC> & operator=(const RCHandleC<SoundDrvBaseBodyC> & oth)
Assignment.

BooleanT operator==(const RCHandleC<SoundDrvBaseBodyC> & oth) const
Comparison operator.

BooleanT operator!=(const RCHandleC<SoundDrvBaseBodyC> & oth) const
Comparison operator.

UIntT Hash() const
Hash function.x

BooleanT IsConst() const
Is object constant ?

BooleanT IsNotConst() const
Is object not constant ?

void SetConst(void) const
Lock the object.
This is const as a convience though it actual modified the object, often object you wish to ensure are constant already have const set. protected:

void Invalidate()
Turn this into an invalid handle.

SoundDrvBaseBodyC & Body()
Direct access to body.

const SoundDrvBaseBodyC & Body() const
Constant access to body.


Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001