Mario Kart 64
Loading...
Searching...
No Matches
ma_device Struct Reference

#include <miniaudio.h>

Collaboration diagram for ma_device:
[legend]

Data Fields

ma_contextpContext
 
ma_device_type type
 
ma_uint32 sampleRate
 
ma_atomic_device_state state
 
ma_device_data_proc onData
 
ma_device_notification_proc onNotification
 
ma_stop_proc onStop
 
void * pUserData
 
ma_mutex startStopLock
 
ma_event wakeupEvent
 
ma_event startEvent
 
ma_event stopEvent
 
ma_thread thread
 
ma_result workResult
 
ma_bool8 isOwnerOfContext
 
ma_bool8 noPreSilencedOutputBuffer
 
ma_bool8 noClip
 
ma_bool8 noDisableDenormals
 
ma_bool8 noFixedSizedCallback
 
ma_atomic_float masterVolumeFactor
 
ma_duplex_rb duplexRB
 
struct { 
 
   ma_resample_algorithm   algorithm 
 
   ma_resampling_backend_vtable *   pBackendVTable 
 
   void *   pBackendUserData 
 
   struct { 
 
      ma_uint32   lpfOrder 
 
   }   linear 
 
resampling 
 
struct { 
 
   ma_device_id *   pID 
 
   ma_device_id   id 
 
   char   name [MA_MAX_DEVICE_NAME_LENGTH+1] 
 
   ma_share_mode   shareMode 
 
   ma_format   format 
 
   ma_uint32   channels 
 
   ma_channel   channelMap [MA_MAX_CHANNELS
 
   ma_format   internalFormat 
 
   ma_uint32   internalChannels 
 
   ma_uint32   internalSampleRate 
 
   ma_channel   internalChannelMap [MA_MAX_CHANNELS
 
   ma_uint32   internalPeriodSizeInFrames 
 
   ma_uint32   internalPeriods 
 
   ma_channel_mix_mode   channelMixMode 
 
   ma_bool32   calculateLFEFromSpatialChannels 
 
   ma_data_converter   converter 
 
   void *   pIntermediaryBuffer 
 
   ma_uint32   intermediaryBufferCap 
 
   ma_uint32   intermediaryBufferLen 
 
   void *   pInputCache 
 
   ma_uint64   inputCacheCap 
 
   ma_uint64   inputCacheConsumed 
 
   ma_uint64   inputCacheRemaining 
 
playback 
 
struct { 
 
   ma_device_id *   pID 
 
   ma_device_id   id 
 
   char   name [MA_MAX_DEVICE_NAME_LENGTH+1] 
 
   ma_share_mode   shareMode 
 
   ma_format   format 
 
   ma_uint32   channels 
 
   ma_channel   channelMap [MA_MAX_CHANNELS
 
   ma_format   internalFormat 
 
   ma_uint32   internalChannels 
 
   ma_uint32   internalSampleRate 
 
   ma_channel   internalChannelMap [MA_MAX_CHANNELS
 
   ma_uint32   internalPeriodSizeInFrames 
 
   ma_uint32   internalPeriods 
 
   ma_channel_mix_mode   channelMixMode 
 
   ma_bool32   calculateLFEFromSpatialChannels 
 
   ma_data_converter   converter 
 
   void *   pIntermediaryBuffer 
 
   ma_uint32   intermediaryBufferCap 
 
   ma_uint32   intermediaryBufferLen 
 
capture 
 
union { 
 
   struct { 
 
      ma_thread   deviceThread 
 
      ma_event   operationEvent 
 
      ma_event   operationCompletionEvent 
 
      ma_semaphore   operationSemaphore 
 
      ma_uint32   operation 
 
      ma_result   operationResult 
 
      ma_timer   timer 
 
      double   priorRunTime 
 
      ma_uint32   currentPeriodFramesRemainingPlayback 
 
      ma_uint32   currentPeriodFramesRemainingCapture 
 
      ma_uint64   lastProcessedFramePlayback 
 
      ma_uint64   lastProcessedFrameCapture 
 
      ma_atomic_bool32   isStarted 
 
   }   null_device 
 
};  
 

Field Documentation

◆ [union]

union { ... } ma_device

◆ algorithm

ma_resample_algorithm ma_device::algorithm

◆ calculateLFEFromSpatialChannels

ma_bool32 ma_device::calculateLFEFromSpatialChannels

◆ [struct]

struct { ... } ma_device::capture

◆ channelMap

ma_channel ma_device::channelMap[MA_MAX_CHANNELS]

◆ channelMixMode

ma_channel_mix_mode ma_device::channelMixMode

◆ channels

ma_uint32 ma_device::channels

◆ converter

ma_data_converter ma_device::converter

◆ currentPeriodFramesRemainingCapture

ma_uint32 ma_device::currentPeriodFramesRemainingCapture

◆ currentPeriodFramesRemainingPlayback

ma_uint32 ma_device::currentPeriodFramesRemainingPlayback

◆ deviceThread

ma_thread ma_device::deviceThread

◆ duplexRB

ma_duplex_rb ma_device::duplexRB

◆ format

ma_format ma_device::format

◆ id

ma_device_id ma_device::id

◆ inputCacheCap

ma_uint64 ma_device::inputCacheCap

◆ inputCacheConsumed

ma_uint64 ma_device::inputCacheConsumed

◆ inputCacheRemaining

ma_uint64 ma_device::inputCacheRemaining

◆ intermediaryBufferCap

ma_uint32 ma_device::intermediaryBufferCap

◆ intermediaryBufferLen

ma_uint32 ma_device::intermediaryBufferLen

◆ internalChannelMap

ma_channel ma_device::internalChannelMap[MA_MAX_CHANNELS]

◆ internalChannels

ma_uint32 ma_device::internalChannels

◆ internalFormat

ma_format ma_device::internalFormat

◆ internalPeriods

ma_uint32 ma_device::internalPeriods

◆ internalPeriodSizeInFrames

ma_uint32 ma_device::internalPeriodSizeInFrames

◆ internalSampleRate

ma_uint32 ma_device::internalSampleRate

◆ isOwnerOfContext

ma_bool8 ma_device::isOwnerOfContext

◆ isStarted

ma_atomic_bool32 ma_device::isStarted

◆ lastProcessedFrameCapture

ma_uint64 ma_device::lastProcessedFrameCapture

◆ lastProcessedFramePlayback

ma_uint64 ma_device::lastProcessedFramePlayback

◆ [struct]

struct { ... } ma_device::linear

◆ lpfOrder

ma_uint32 ma_device::lpfOrder

◆ masterVolumeFactor

ma_atomic_float ma_device::masterVolumeFactor

◆ name

char ma_device::name[MA_MAX_DEVICE_NAME_LENGTH+1]

◆ noClip

ma_bool8 ma_device::noClip

◆ noDisableDenormals

ma_bool8 ma_device::noDisableDenormals

◆ noFixedSizedCallback

ma_bool8 ma_device::noFixedSizedCallback

◆ noPreSilencedOutputBuffer

ma_bool8 ma_device::noPreSilencedOutputBuffer

◆ [struct]

struct { ... } ma_device::null_device

◆ onData

ma_device_data_proc ma_device::onData

◆ onNotification

ma_device_notification_proc ma_device::onNotification

◆ onStop

ma_stop_proc ma_device::onStop

◆ operation

ma_uint32 ma_device::operation

◆ operationCompletionEvent

ma_event ma_device::operationCompletionEvent

◆ operationEvent

ma_event ma_device::operationEvent

◆ operationResult

ma_result ma_device::operationResult

◆ operationSemaphore

ma_semaphore ma_device::operationSemaphore

◆ pBackendUserData

void* ma_device::pBackendUserData

◆ pBackendVTable

ma_resampling_backend_vtable* ma_device::pBackendVTable

◆ pContext

ma_context* ma_device::pContext

◆ pID

ma_device_id* ma_device::pID

◆ pInputCache

void* ma_device::pInputCache

◆ pIntermediaryBuffer

void* ma_device::pIntermediaryBuffer

◆ [struct]

struct { ... } ma_device::playback

◆ priorRunTime

double ma_device::priorRunTime

◆ pUserData

void* ma_device::pUserData

◆ [struct]

struct { ... } ma_device::resampling

◆ sampleRate

ma_uint32 ma_device::sampleRate

◆ shareMode

ma_share_mode ma_device::shareMode

◆ startEvent

ma_event ma_device::startEvent

◆ startStopLock

ma_mutex ma_device::startStopLock

◆ state

ma_atomic_device_state ma_device::state

◆ stopEvent

ma_event ma_device::stopEvent

◆ thread

ma_thread ma_device::thread

◆ timer

ma_timer ma_device::timer

◆ type

ma_device_type ma_device::type

◆ wakeupEvent

ma_event ma_device::wakeupEvent

◆ workResult

ma_result ma_device::workResult

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