vkQuake2 doxygen  1.0 dev
ma_device_config Struct Reference

#include <miniaudio.h>

Public Attributes

ma_device_type deviceType
 
ma_uint32 sampleRate
 
ma_uint32 bufferSizeInFrames
 
ma_uint32 bufferSizeInMilliseconds
 
ma_uint32 periods
 
ma_performance_profile performanceProfile
 
ma_device_callback_proc dataCallback
 
ma_stop_proc stopCallback
 
voidpUserData
 
struct {
   ma_device_id *   pDeviceID
 
   ma_format   format
 
   ma_uint32   channels
 
   ma_channel   channelMap [MA_MAX_CHANNELS]
 
   ma_share_mode   shareMode
 
playback
 
struct {
   ma_device_id *   pDeviceID
 
   ma_format   format
 
   ma_uint32   channels
 
   ma_channel   channelMap [MA_MAX_CHANNELS]
 
   ma_share_mode   shareMode
 
capture
 
struct {
   ma_bool32   noMMap
 
alsa
 
struct {
   const char *   pStreamNamePlayback
 
   const char *   pStreamNameCapture
 
pulse
 

Detailed Description

Definition at line 1891 of file miniaudio.h.

Member Data Documentation

◆ alsa

struct { ... } ma_device_config::alsa

◆ bufferSizeInFrames

ma_uint32 ma_device_config::bufferSizeInFrames

Definition at line 1895 of file miniaudio.h.

Referenced by Miniaudio_Play().

◆ bufferSizeInMilliseconds

ma_uint32 ma_device_config::bufferSizeInMilliseconds

Definition at line 1896 of file miniaudio.h.

◆ capture

struct { ... } ma_device_config::capture

◆ channelMap

ma_channel ma_device_config::channelMap[MA_MAX_CHANNELS]

Definition at line 1907 of file miniaudio.h.

◆ channels

ma_uint32 ma_device_config::channels

Definition at line 1906 of file miniaudio.h.

Referenced by Miniaudio_Play().

◆ dataCallback

ma_device_callback_proc ma_device_config::dataCallback

Definition at line 1899 of file miniaudio.h.

Referenced by Miniaudio_Play().

◆ deviceType

ma_device_type ma_device_config::deviceType

Definition at line 1893 of file miniaudio.h.

◆ format

ma_format ma_device_config::format

Definition at line 1905 of file miniaudio.h.

Referenced by Miniaudio_Play().

◆ noMMap

ma_bool32 ma_device_config::noMMap

Definition at line 1921 of file miniaudio.h.

◆ pDeviceID

ma_device_id* ma_device_config::pDeviceID

Definition at line 1904 of file miniaudio.h.

◆ performanceProfile

ma_performance_profile ma_device_config::performanceProfile

Definition at line 1898 of file miniaudio.h.

◆ periods

ma_uint32 ma_device_config::periods

Definition at line 1897 of file miniaudio.h.

Referenced by Miniaudio_Play().

◆ playback

struct { ... } ma_device_config::playback

Referenced by Miniaudio_Play().

◆ pStreamNameCapture

const char* ma_device_config::pStreamNameCapture

Definition at line 1926 of file miniaudio.h.

◆ pStreamNamePlayback

const char* ma_device_config::pStreamNamePlayback

Definition at line 1925 of file miniaudio.h.

◆ pulse

struct { ... } ma_device_config::pulse

◆ pUserData

void* ma_device_config::pUserData

Definition at line 1901 of file miniaudio.h.

Referenced by Miniaudio_Play().

◆ sampleRate

ma_uint32 ma_device_config::sampleRate

Definition at line 1894 of file miniaudio.h.

Referenced by Miniaudio_Play().

◆ shareMode

ma_share_mode ma_device_config::shareMode

Definition at line 1908 of file miniaudio.h.

◆ stopCallback

ma_stop_proc ma_device_config::stopCallback

Definition at line 1900 of file miniaudio.h.