![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
wrap WAVEFORMATEX More...
#include <cSoundBase.h>
Static Public Member Functions | |
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 | |
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... | |
wrap WAVEFORMATEX
Generic sound functions. decibel to linear convert for DirectSound and DirectShow.
|
static |
Convert hundredths of a decibel to linear SOUND volume level. decibel to linear convert for DirectSound and DirectShow.
|
inlinestatic |
|
static |
decibel to linear convert for DirectSound and DirectShow. Create the value consumed by D3D SetVolume
|
inlinestaticnoexcept |
Convert float (0-1) to SOUND_VOL_t. mono linear perceived volume
|
inlinestatic |
|
inlinestaticnoexcept |
Convert SOUND_VOL_t to a float (0-1). mono linear perceived volume
|
static |
mono linear max perceived volume from waveOutGetVolume() M$ docs. NOT decibels which is logarithmic with perception.
|
static |
silent