coastline 0.0.4
Loading...
Searching...
No Matches
SoundBufferNode Struct Reference

A sound buffer of a sample, in a list. More...

#include <soundbuffer.h>

Collaboration diagram for SoundBufferNode:

Public Attributes

void * pSampleData
DWORD dwSampleSize
WAVEFORMATEX * pWaveFormat
DWORD dwFrequency
int nPan
int nVolume
int bLooping
int bPlaying
char abUnknown20 [4]
int bHardware
int bStickyFocus
char abUnknown2c [0x70]
IDirectSoundBuffer * pBuffer
int nNameOffset
char szPath [MAX_PATH]
SoundBufferNode * pNext

Detailed Description

A sound buffer of a sample, in a list.

The layout is not recovered past the members below.

Member Data Documentation

◆ pSampleData

void* SoundBufferNode::pSampleData

The data of the sample, in locked global memory.

◆ dwSampleSize

DWORD SoundBufferNode::dwSampleSize

The size of the sample in bytes.

◆ pWaveFormat

WAVEFORMATEX* SoundBufferNode::pWaveFormat

The format of the sample, in locked global memory.

◆ dwFrequency

DWORD SoundBufferNode::dwFrequency

The frequency of the buffer, in samples a second.

◆ nPan

int SoundBufferNode::nPan

The pan, from 0 to 800 with the centre at 400.

◆ nVolume

int SoundBufferNode::nVolume

The volume before the volume of the sound effects.

◆ bLooping

int SoundBufferNode::bLooping

Whether the buffer plays in a loop.

◆ bPlaying

int SoundBufferNode::bPlaying

Whether the buffer plays.

◆ abUnknown20

char SoundBufferNode::abUnknown20[4]

Unreconstructed bytes at offset 0x20.

◆ bHardware

int SoundBufferNode::bHardware

Whether the buffer is in the memory of the sound card.

◆ bStickyFocus

int SoundBufferNode::bStickyFocus

Whether the buffer plays while the window is not active.

◆ abUnknown2c

char SoundBufferNode::abUnknown2c[0x70]

Unreconstructed bytes at offset 0x2C.

◆ pBuffer

IDirectSoundBuffer* SoundBufferNode::pBuffer

The buffer of DirectSound.

◆ nNameOffset

int SoundBufferNode::nNameOffset

The offset in szPath of the name of the file, or 0.

◆ szPath

char SoundBufferNode::szPath[MAX_PATH]

The path of the file of the sample.

◆ pNext

SoundBufferNode* SoundBufferNode::pNext

The next node of the list.


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