cAudio  2.3.0
3d Audio Engine
cOpenALAudioDeviceList.h
1 // Copyright (c) 2008-2011 Raynaldo (Wildicv) Rivera, Joshua (Dark_Kilauea) Jones, Murat (wolfmanfx) Sari
2 // This file is part of the "cAudio Engine"
3 // For conditions of distribution and use, see copyright notice in cAudio.h
4 
5 #pragma once
6 
7 #include "IAudioDeviceList.h"
8 #include "cMemoryOverride.h"
9 
10 namespace cAudio
11 {
13  {
14  public:
15  cOpenALAudioDeviceList(IDeviceType deviceType = DT_PLAYBACK);
16  virtual ~cOpenALAudioDeviceList();
17 
18  virtual unsigned int getDeviceCount();
19  virtual cAudioString getDeviceName(unsigned int idx);
20  virtual cAudioString getDeviceDescription(unsigned int idx);
21  virtual cAudioString getDefaultDeviceName();
22  virtual bool isSupported();
23 
24  private:
25  cAudioVector<cAudioString>::Type AvailableDevices;
26  cAudioString DefaultDevice;
27  IDeviceType DeviceType;
28  };
29 }
cAudio::cMemoryOverride
Overrides the memory allocations for classes derived from it and makes them use the cAudio memory sys...
Definition: cMemoryOverride.h:14
cAudio::cOpenALAudioDeviceList
Definition: cOpenALAudioDeviceList.h:13
cAudio
Main namespace for the entire cAudio library.
Definition: cAudioCapture.h:16
cAudio::cAudioVector
Definition: cSTLAllocator.h:133
cAudio::IAudioDeviceList
Definition: IAudioDeviceList.h:18