coastline 0.0.4
Loading...
Searching...
No Matches
playbackimplementations.h File Reference
#include <windows.h>
#include <mmreg.h>
#include <mmsystem.h>
#include "ear/earplayback.h"
#include "ear/wavechunks.h"
Include dependency graph for playbackimplementations.h:

Go to the source code of this file.

Classes

class  PcmWaveStream
 PCM wave playback with optional half-buffer streaming and explicit resource release. More...
class  MemoryWaveStream
 PCM wave playback borrowing sample bytes from a caller-supplied RIFF image until release. More...
class  SampleWavePlayback
 PCM playback borrowing a preset's sample storage; the preset must outlast playback release. More...
class  MidiPlayback
 MIDI playback through the shared MCI sequencer and Windows MIDI mixer. More...
class  CdAudioPlayback
 CD track playback through the shared MCI CD device and Windows CD mixer. More...
struct  ImaAdpcmChannelState
 The state of the decoder of one channel of IMA ADPCM, from the header of each block. More...
class  ImaAdpcmWaveStream
 A wave file of IMA ADPCM, decoded into 16-bit samples a half of the buffer at a time. More...

Functions

std::uint32_t TruncatePlaybackInteger (long double value)
 Convert a value to an integer as the x87 instruction of the original does, retaining the low 32 bits.

Function Documentation

◆ TruncatePlaybackInteger()

std::uint32_t TruncatePlaybackInteger ( long double value)
inline

Convert a value to an integer as the x87 instruction of the original does, retaining the low 32 bits.

Parameters
valueThe value to convert.
Returns
The low 32 bits of the integer, or 0 where the conversion is invalid.