vkQuake2 doxygen  1.0 dev
drwav Struct Reference

#include <dr_wav.h>

Public Attributes

drwav_read_proc onRead
 
drwav_write_proc onWrite
 
drwav_seek_proc onSeek
 
voidpUserData
 
drwav_container container
 
drwav_fmt fmt
 
drwav_uint32 sampleRate
 
drwav_uint16 channels
 
drwav_uint16 bitsPerSample
 
drwav_uint16 translatedFormatTag
 
drwav_uint64 totalPCMFrameCount
 
drwav_uint64 dataChunkDataSize
 
drwav_uint64 dataChunkDataPos
 
drwav_uint64 bytesRemaining
 
drwav_uint64 dataChunkDataSizeTargetWrite
 
drwav_bool32 isSequentialWrite
 
drwav_smpl smpl
 
drwav__memory_stream memoryStream
 
drwav__memory_stream_write memoryStreamWrite
 
struct {
   drwav_uint64   iCurrentSample
 
compressed
 
struct {
   drwav_uint32   bytesRemainingInBlock
 
   drwav_uint16   predictor [2]
 
   drwav_int32   delta [2]
 
   drwav_int32   cachedSamples [4]
 
   drwav_uint32   cachedSampleCount
 
   drwav_int32   prevSamples [2][2]
 
msadpcm
 
struct {
   drwav_uint32   bytesRemainingInBlock
 
   drwav_int32   predictor [2]
 
   drwav_int32   stepIndex [2]
 
   drwav_int32   cachedSamples [16]
 
   drwav_uint32   cachedSampleCount
 
ima
 
drwav_uint64 totalSampleCount
 

Detailed Description

Definition at line 384 of file dr_wav.h.

Member Data Documentation

◆ bitsPerSample

drwav_uint16 drwav::bitsPerSample

Definition at line 413 of file dr_wav.h.

◆ bytesRemaining

drwav_uint64 drwav::bytesRemaining

Definition at line 429 of file dr_wav.h.

◆ bytesRemainingInBlock

drwav_uint32 drwav::bytesRemainingInBlock

Definition at line 459 of file dr_wav.h.

◆ cachedSampleCount

drwav_uint32 drwav::cachedSampleCount

Definition at line 463 of file dr_wav.h.

◆ cachedSamples

drwav_int32 drwav::cachedSamples[16]

Definition at line 462 of file dr_wav.h.

◆ channels

drwav_uint16 drwav::channels

Definition at line 410 of file dr_wav.h.

◆ compressed

struct { ... } drwav::compressed

◆ container

drwav_container drwav::container

Definition at line 400 of file dr_wav.h.

◆ dataChunkDataPos

drwav_uint64 drwav::dataChunkDataPos

Definition at line 426 of file dr_wav.h.

◆ dataChunkDataSize

drwav_uint64 drwav::dataChunkDataSize

Definition at line 423 of file dr_wav.h.

◆ dataChunkDataSizeTargetWrite

drwav_uint64 drwav::dataChunkDataSizeTargetWrite

Definition at line 436 of file dr_wav.h.

◆ delta

drwav_int32 drwav::delta[2]

Definition at line 461 of file dr_wav.h.

◆ fmt

drwav_fmt drwav::fmt

Definition at line 404 of file dr_wav.h.

◆ iCurrentSample

drwav_uint64 drwav::iCurrentSample

Definition at line 453 of file dr_wav.h.

◆ ima

struct { ... } drwav::ima

◆ isSequentialWrite

drwav_bool32 drwav::isSequentialWrite

Definition at line 439 of file dr_wav.h.

◆ memoryStream

drwav__memory_stream drwav::memoryStream

Definition at line 447 of file dr_wav.h.

◆ memoryStreamWrite

drwav__memory_stream_write drwav::memoryStreamWrite

Definition at line 448 of file dr_wav.h.

◆ msadpcm

struct { ... } drwav::msadpcm

◆ onRead

drwav_read_proc drwav::onRead

Definition at line 387 of file dr_wav.h.

◆ onSeek

drwav_seek_proc drwav::onSeek

Definition at line 393 of file dr_wav.h.

◆ onWrite

drwav_write_proc drwav::onWrite

Definition at line 390 of file dr_wav.h.

◆ predictor [1/2]

drwav_uint16 drwav::predictor[2]

Definition at line 460 of file dr_wav.h.

◆ predictor [2/2]

drwav_int32 drwav::predictor[2]

Definition at line 471 of file dr_wav.h.

◆ prevSamples

drwav_int32 drwav::prevSamples[2][2]

Definition at line 464 of file dr_wav.h.

◆ pUserData

void* drwav::pUserData

Definition at line 396 of file dr_wav.h.

◆ sampleRate

drwav_uint32 drwav::sampleRate

Definition at line 407 of file dr_wav.h.

◆ smpl

drwav_smpl drwav::smpl

Definition at line 443 of file dr_wav.h.

◆ stepIndex

drwav_int32 drwav::stepIndex[2]

Definition at line 472 of file dr_wav.h.

◆ totalPCMFrameCount

drwav_uint64 drwav::totalPCMFrameCount

Definition at line 419 of file dr_wav.h.

◆ totalSampleCount

drwav_uint64 drwav::totalSampleCount

Definition at line 478 of file dr_wav.h.

◆ translatedFormatTag

drwav_uint16 drwav::translatedFormatTag

Definition at line 416 of file dr_wav.h.