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

cybalsoundmanagerc.h

Go to the documentation of this file.
00001 /*
00002 Copyright (C) 2002  Malte Weiß, Carsten Winkelholz
00003 
00004 Malte Weiß, 06.08.2002: Sound manager class developed.
00005             13.08.2002: Added manual gain and position control.
00006 
00007 Address:  FGAN Forschungsgesellschaft fr Angewandte Naturwissenschaften e. V.
00008       Neuenahrer Str. 20
00009       D - 53343 Wachtberg
00010       
00011 Email:    winkelholz@fgan.de
00012 
00013 This program is free software; you can redistribute it and/or
00014 modify it under the terms of the GNU General Public License
00015 as published by the Free Software Foundation; either version 2
00016 of the License, or (at your option) any later version.
00017 
00018 This program is distributed in the hope that it will be useful,
00019 but WITHOUT ANY WARRANTY; without even the implied warranty of
00020 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00021 GNU General Public License for more details.
00022 
00023 You should have received a copy of the GNU General Public License
00024 along with this program; if not, write to the Free Software
00025 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
00026 */
00027 
00028 #ifndef CYBALSOUNDMANAGERC_H
00029 #define CYBALSOUNDMANAGERC_H
00030 
00031 #include "cybsoundmanagerc.h"
00032 
00033 // Class definition
00034 
00035 #include "../oawconfig.h"
00036 
00037 OAW_BEGIN_NAMESPACE
00038 
00039 class OAW_DLLMAPPING CybALSoundManagerC : public CybSoundManagerC
00040 {
00041 public:
00042   CybALSoundManagerC(CybWorldC*);
00043   virtual ~CybALSoundManagerC();
00044 
00045 protected:
00046   // Load buffer from url
00047   virtual short       LoadBufferFromUrl (char *pUrl, BUFFER &pBuffer);
00048 
00049 public:
00050   // Source functions
00051   virtual SOURCE      AddSource            (char *pUrl,CybAudioClipC*);
00052   virtual short       DeleteSource         (SOURCE pSource);
00053   virtual void        EnableSource         (SOURCE pSource, short bEnable=1);
00054 
00055   virtual void        SetListener          (Vector3C &vPosition, Vector3C &vDirection);
00056   virtual void        UpdateSource         (SOURCE pSource);
00057 
00058 protected:
00059   Vector3C  m_vListener;
00060 };
00061 
00062 OAW_END_NAMESPACE
00063 
00064 #endif
00065 
00066 

Generated on Tue Jul 29 14:24:09 2003 for Open ActiveWrl by doxygen1.3-rc2