Public Attributes | List of all members
dra_voice Struct Reference

#include <dr_audio.h>

Public Attributes

unsigned int channels
 
float convertedFrame [DR_AUDIO_MAX_CHANNEL_COUNT]
 
dr_uint64 currentReadPos
 
dra_format format
 
dr_uint64 frameCount
 
dr_bool32 isLooping
 
dr_bool32 isPlaying
 
float linearVolume
 
dr_uint8 pData [1]
 
dra_devicepDevice
 
size_t playbackEventCount
 
dra__event playbackEvents [DR_AUDIO_MAX_EVENT_COUNT]
 
dra__event playEvent
 
dra_mixerpMixer
 
dra_voicepNextVoice
 
dra_voicepPrevVoice
 
void * pUserData
 
unsigned int sampleRate
 
size_t sizeInBytes
 
struct {
   dra_src_algorithm   algorithm
 
   union {
      struct {
         float   nextFrame [DR_AUDIO_MAX_CHANNEL_COUNT]
 
         float   prevFrame [DR_AUDIO_MAX_CHANNEL_COUNT]
 
         dr_uint64   prevFrameIndex
 
      }   linear
 
   }   data
 
src
 
struct {
   dra_src_algorithm   algorithm
 
   union {
      struct {
         float   nextFrame [DR_AUDIO_MAX_CHANNEL_COUNT]
 
         float   prevFrame [DR_AUDIO_MAX_CHANNEL_COUNT]
 
         dr_uint64   prevFrameIndex
 
      }   linear
 
   }   data
 
src
 
dra__event stopEvent
 

Detailed Description

Definition at line 415 of file porcupine/demo/c/dr_libs/old/dr_audio.h.

Member Data Documentation

◆ algorithm

dra_src_algorithm dra_voice::algorithm

Definition at line 474 of file porcupine/demo/c/dr_libs/old/dr_audio.h.

◆ channels

unsigned int dra_voice::channels

Definition at line 436 of file porcupine/demo/c/dr_libs/old/dr_audio.h.

◆ convertedFrame

float dra_voice::convertedFrame

Definition at line 466 of file porcupine/demo/c/dr_libs/old/dr_audio.h.

◆ currentReadPos

dr_uint64 dra_voice::currentReadPos

Definition at line 461 of file porcupine/demo/c/dr_libs/old/dr_audio.h.

◆ data [1/2]

union { ... } dra_voice::data

◆ data [2/2]

union { ... } dra_voice::data

◆ format

dra_format dra_voice::format

Definition at line 433 of file porcupine/demo/c/dr_libs/old/dr_audio.h.

◆ frameCount

dr_uint64 dra_voice::frameCount

Definition at line 457 of file porcupine/demo/c/dr_libs/old/dr_audio.h.

◆ isLooping

dr_bool32 dra_voice::isLooping

Definition at line 453 of file porcupine/demo/c/dr_libs/old/dr_audio.h.

◆ isPlaying

dr_bool32 dra_voice::isPlaying

Definition at line 449 of file porcupine/demo/c/dr_libs/old/dr_audio.h.

◆ linear [1/2]

struct { ... } dra_voice::linear

◆ linear [2/2]

struct { ... } dra_voice::linear

◆ linearVolume

float dra_voice::linearVolume

Definition at line 444 of file porcupine/demo/c/dr_libs/old/dr_audio.h.

◆ nextFrame

float dra_voice::nextFrame[DR_AUDIO_MAX_CHANNEL_COUNT]

Definition at line 482 of file porcupine/demo/c/dr_libs/old/dr_audio.h.

◆ pData

dr_uint8 dra_voice::pData

Definition at line 510 of file porcupine/demo/c/dr_libs/old/dr_audio.h.

◆ pDevice

dra_device * dra_voice::pDevice

Definition at line 418 of file porcupine/demo/c/dr_libs/old/dr_audio.h.

◆ playbackEventCount

size_t dra_voice::playbackEventCount

Definition at line 489 of file porcupine/demo/c/dr_libs/old/dr_audio.h.

◆ playbackEvents

dra__event dra_voice::playbackEvents

Definition at line 492 of file porcupine/demo/c/dr_libs/old/dr_audio.h.

◆ playEvent

dra__event dra_voice::playEvent

Definition at line 498 of file porcupine/demo/c/dr_libs/old/dr_audio.h.

◆ pMixer

dra_mixer * dra_voice::pMixer

Definition at line 422 of file porcupine/demo/c/dr_libs/old/dr_audio.h.

◆ pNextVoice

dra_voice * dra_voice::pNextVoice

Definition at line 426 of file porcupine/demo/c/dr_libs/old/dr_audio.h.

◆ pPrevVoice

dra_voice * dra_voice::pPrevVoice

Definition at line 429 of file porcupine/demo/c/dr_libs/old/dr_audio.h.

◆ prevFrame

float dra_voice::prevFrame[DR_AUDIO_MAX_CHANNEL_COUNT]

Definition at line 481 of file porcupine/demo/c/dr_libs/old/dr_audio.h.

◆ prevFrameIndex

dr_uint64 dra_voice::prevFrameIndex

Definition at line 480 of file porcupine/demo/c/dr_libs/old/dr_audio.h.

◆ pUserData

void * dra_voice::pUserData

Definition at line 502 of file porcupine/demo/c/dr_libs/old/dr_audio.h.

◆ sampleRate

unsigned int dra_voice::sampleRate

Definition at line 439 of file porcupine/demo/c/dr_libs/old/dr_audio.h.

◆ sizeInBytes

size_t dra_voice::sizeInBytes

Definition at line 506 of file porcupine/demo/c/dr_libs/old/dr_audio.h.

◆ src [1/2]

struct { ... } dra_voice::src

◆ src [2/2]

struct { ... } dra_voice::src

◆ stopEvent

dra__event dra_voice::stopEvent

Definition at line 495 of file porcupine/demo/c/dr_libs/old/dr_audio.h.


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


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:19