![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cSoundMixer.h>
Public Member Functions | |
| cSoundMixer () noexcept | |
| ~cSoundMixer (void) | |
| operator HMIXER () const noexcept | |
| HMIXER | get_Handle () const noexcept |
| bool | isOpen () const noexcept |
| HRESULT | OpenMixer (UINT uMixerDeviceID=0, DWORD_PTR dwCallback=0, DWORD_PTR dwInstanceData=0, DWORD dwOpenFlags=MIXER_OBJECTF_MIXER) |
| void | CloseMixer () |
| UNITTEST_FRIEND (cSoundMixer) | |
Additional Inherited Members | |
Static Public Member Functions inherited from GrayLib::cSoundBase | |
| static LONG GRAYCALL | FToDecibelI (float v) |
| static float GRAYCALL | DecibelItoF (LONG d) |
| static float GRAYCALL | VolToF (SOUND_VOL_t v) noexcept |
| static SOUND_VOL_t GRAYCALL | FToVol (float v) noexcept |
| static LONG GRAYCALL | VolToDecibelI (SOUND_VOL_t v) |
| static SOUND_VOL_t GRAYCALL | DecibelItoVol (LONG d) |
Static Public Attributes inherited from GrayLib::cSoundBase | |
| static const SOUND_VOL_t | k_VOL_MIN = 0 |
| silent More... | |
| static const SOUND_VOL_t | k_VOL_MAX = 0xFFFF |
| mono linear max perceived volume from waveOutGetVolume() M$ docs. NOT decibels which is logarithmic with perception. More... | |
Manage an open mixer device. HMIXER (same as HMIXEROBJ) This is App specific in >= Vista. Use mixerGetNumDevs() to count devices available.
|
noexcept |
| GrayLib::cSoundMixer::~cSoundMixer | ( | void | ) |
| void GrayLib::cSoundMixer::CloseMixer | ( | ) |
|
inlinenoexcept |
|
inlinenoexcept |
| HRESULT GrayLib::cSoundMixer::OpenMixer | ( | UINT | uMixerDeviceID = 0, |
| DWORD_PTR | dwCallback = 0, |
||
| DWORD_PTR | dwInstanceData = 0, |
||
| DWORD | dwOpenFlags = MIXER_OBJECTF_MIXER |
||
| ) |
dwOpenFlags = MIXER_OBJECTF_MIXER, MIXER_OBJECTF_WAVEIN, MIXER_OBJECTF_WAVEOUT
|
inlinenoexcept |
| GrayLib::cSoundMixer::UNITTEST_FRIEND | ( | cSoundMixer | ) |