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

SoundAPIInfo.h

Go to the documentation of this file.
00001 
00002 /****************** <SNX heading BEGIN do not edit this line> *****************
00003  *
00004  * sonix
00005  *
00006  * Original Authors:
00007  *   Kevin Meinert, Carolina Cruz-Neira
00008  *
00009  * -----------------------------------------------------------------
00010  * File:          $RCSfile: SoundAPIInfo.h,v $
00011  * Date modified: $Date: 2003/03/05 16:32:40 $
00012  * Version:       $Revision: 1.4 $
00013  * -----------------------------------------------------------------
00014  *
00015  ****************** <SNX heading END do not edit this line> ******************/
00016 /*************** <auto-copyright.pl BEGIN do not edit this line> **************
00017  *
00018  * VR Juggler is (C) Copyright 1998-2003 by Iowa State University
00019  *
00020  * Original Authors:
00021  *   Allen Bierbaum, Christopher Just,
00022  *   Patrick Hartling, Kevin Meinert,
00023  *   Carolina Cruz-Neira, Albert Baker
00024  *
00025  * This library is free software; you can redistribute it and/or
00026  * modify it under the terms of the GNU Library General Public
00027  * License as published by the Free Software Foundation; either
00028  * version 2 of the License, or (at your option) any later version.
00029  *
00030  * This library is distributed in the hope that it will be useful,
00031  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00032  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00033  * Library General Public License for more details.
00034  *
00035  * You should have received a copy of the GNU Library General Public
00036  * License along with this library; if not, write to the
00037  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00038  * Boston, MA 02111-1307, USA.
00039  *
00040  *************** <auto-copyright.pl END do not edit this line> ***************/
00041 
00042 
00043 
00044 
00045 
00046 #ifndef SNX_SOUND_API_INFO
00047 #define SNX_SOUND_API_INFO
00048 
00049 namespace snx
00050 {
00051 
00052 class SoundAPIInfo
00053 {
00054 public:
00055    SoundAPIInfo() : voices( 65535 ), speakerConfig( STEREO ), sampleRate( STEREO_22050_KHZ ) {}
00056 
00057    int voices; // 0 - n (hardware limited)
00058    
00059    enum SpeakerConfig
00060    {
00061       MONO, STEREO, QUAD, DOLBY5_1, OCT
00062    };   
00063 
00064    SpeakerConfig speakerConfig;
00065 
00066    enum SampleRate
00067    {
00068       STEREO_22050_KHZ, MONO_22050_KHZ, STEREO_44100_KHZ, MONO_44100_KHZ
00069    };
00070 
00071    SampleRate sampleRate;
00072 };
00073 
00074 }; // end namespace
00075 
00076 #endif //SNX_SOUND_API_INFO

Generated on Sun May 2 14:39:26 2004 for Juggler Sonix by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002