LMMS
Loading...
Searching...
No Matches
juce::DSoundInternalOutChannel Class Reference

Public Member Functions

 DSoundInternalOutChannel (const String &name_, const GUID &guid_, int rate, int bufferSize, float *left, float *right)
 ~DSoundInternalOutChannel ()
void close ()
String open ()
void synchronisePosition ()
bool service ()

Public Attributes

int bitDepth
int xruns
bool doneFlag

Static Private Member Functions

static int convertInputValues (const float l, const float r) noexcept

Private Attributes

String name
GUID guid
int sampleRate
int bufferSizeSamples
float * leftBuffer
float * rightBuffer
IDirectSound * pDirectSound
IDirectSoundBuffer * pOutputBuffer
DWORD writeOffset
int totalBytesPerBuffer
int bytesPerBuffer
bool firstPlayTime
int64 lastPlayTime
int64 ticksPerBuffer

Constructor & Destructor Documentation

◆ DSoundInternalOutChannel()

juce::DSoundInternalOutChannel::DSoundInternalOutChannel ( const String & name_,
const GUID & guid_,
int rate,
int bufferSize,
float * left,
float * right )
inline

◆ ~DSoundInternalOutChannel()

juce::DSoundInternalOutChannel::~DSoundInternalOutChannel ( )
inline

Member Function Documentation

◆ close()

void juce::DSoundInternalOutChannel::close ( )
inline

◆ convertInputValues()

int juce::DSoundInternalOutChannel::convertInputValues ( const float l,
const float r )
inlinestaticprivatenoexcept

◆ open()

String juce::DSoundInternalOutChannel::open ( )
inline

◆ service()

bool juce::DSoundInternalOutChannel::service ( )
inline

◆ synchronisePosition()

void juce::DSoundInternalOutChannel::synchronisePosition ( )
inline

Member Data Documentation

◆ bitDepth

int juce::DSoundInternalOutChannel::bitDepth

◆ bufferSizeSamples

int juce::DSoundInternalOutChannel::bufferSizeSamples
private

◆ bytesPerBuffer

int juce::DSoundInternalOutChannel::bytesPerBuffer
private

◆ doneFlag

bool juce::DSoundInternalOutChannel::doneFlag

◆ firstPlayTime

bool juce::DSoundInternalOutChannel::firstPlayTime
private

◆ guid

GUID juce::DSoundInternalOutChannel::guid
private

◆ lastPlayTime

int64 juce::DSoundInternalOutChannel::lastPlayTime
private

◆ leftBuffer

float* juce::DSoundInternalOutChannel::leftBuffer
private

◆ name

String juce::DSoundInternalOutChannel::name
private

◆ pDirectSound

IDirectSound* juce::DSoundInternalOutChannel::pDirectSound
private

◆ pOutputBuffer

IDirectSoundBuffer* juce::DSoundInternalOutChannel::pOutputBuffer
private

◆ rightBuffer

float* juce::DSoundInternalOutChannel::rightBuffer
private

◆ sampleRate

int juce::DSoundInternalOutChannel::sampleRate
private

◆ ticksPerBuffer

int64 juce::DSoundInternalOutChannel::ticksPerBuffer
private

◆ totalBytesPerBuffer

int juce::DSoundInternalOutChannel::totalBytesPerBuffer
private

◆ writeOffset

DWORD juce::DSoundInternalOutChannel::writeOffset
private

◆ xruns

int juce::DSoundInternalOutChannel::xruns

The documentation for this class was generated from the following file: