Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

Dsp Class Reference

Open /dev/dsp and set it to the correct format. More...

#include <Dsp.h>

Inheritance diagram for Dsp

Inheritance graph
[legend]
Collaboration diagram for Dsp:

Collaboration graph
[legend]
List of all members.

Public Methods

 Dsp (int rate = 44100, int bits = 16, bool stereo = true, bool threaded = true, const std::string& device = "/dev/dsp")
 Constructor.
Parameters:
rate   The sample rate.
bits   The bit width to use.
stereo   Attempt stereo playback?
device   The device to use. Defaults to "/dev/dsp".


virtual ~Dsp ()
 destructor.


Detailed Description

Open /dev/dsp and set it to the correct format.


The documentation for this class was generated from the following files:
Generated at Mon Nov 27 01:46:45 2000 for LibPenguinPlay by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000