mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-22 00:06:59 +02:00
Rename a variable for consistency.
This commit is contained in:
+4
-4
@@ -7107,7 +7107,7 @@ struct ma_device_config
|
|||||||
{
|
{
|
||||||
const char* pStreamNamePlayback;
|
const char* pStreamNamePlayback;
|
||||||
const char* pStreamNameCapture;
|
const char* pStreamNameCapture;
|
||||||
int pChannelMap;
|
int channelMap;
|
||||||
} pulse;
|
} pulse;
|
||||||
struct
|
struct
|
||||||
{
|
{
|
||||||
@@ -8756,7 +8756,7 @@ then be set directly on the structure. Below are the members of the `ma_device_c
|
|||||||
pulse.pStreamNameCapture
|
pulse.pStreamNameCapture
|
||||||
PulseAudio only. Sets the stream name for capture.
|
PulseAudio only. Sets the stream name for capture.
|
||||||
|
|
||||||
pulse.pChannelMap
|
pulse.channelMap
|
||||||
PulseAudio only. Sets the channel map that is requested from PulseAudio. See MA_PA_CHANNEL_MAP_* constants. Defaults to MA_PA_CHANNEL_MAP_AIFF.
|
PulseAudio only. Sets the channel map that is requested from PulseAudio. See MA_PA_CHANNEL_MAP_* constants. Defaults to MA_PA_CHANNEL_MAP_AIFF.
|
||||||
|
|
||||||
coreaudio.allowNominalSampleRateChange
|
coreaudio.allowNominalSampleRateChange
|
||||||
@@ -30491,7 +30491,7 @@ static ma_result ma_device_init__pulse(ma_device* pDevice, const ma_device_confi
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Use a default channel map. */
|
/* Use a default channel map. */
|
||||||
((ma_pa_channel_map_init_extend_proc)pDevice->pContext->pulse.pa_channel_map_init_extend)(&cmap, ss.channels, pConfig->pulse.pChannelMap);
|
((ma_pa_channel_map_init_extend_proc)pDevice->pContext->pulse.pa_channel_map_init_extend)(&cmap, ss.channels, pConfig->pulse.channelMap);
|
||||||
|
|
||||||
/* Use the requested sample rate if one was specified. */
|
/* Use the requested sample rate if one was specified. */
|
||||||
if (pDescriptorCapture->sampleRate != 0) {
|
if (pDescriptorCapture->sampleRate != 0) {
|
||||||
@@ -30643,7 +30643,7 @@ static ma_result ma_device_init__pulse(ma_device* pDevice, const ma_device_confi
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Use a default channel map. */
|
/* Use a default channel map. */
|
||||||
((ma_pa_channel_map_init_extend_proc)pDevice->pContext->pulse.pa_channel_map_init_extend)(&cmap, ss.channels, pConfig->pulse.pChannelMap);
|
((ma_pa_channel_map_init_extend_proc)pDevice->pContext->pulse.pa_channel_map_init_extend)(&cmap, ss.channels, pConfig->pulse.channelMap);
|
||||||
|
|
||||||
|
|
||||||
/* Use the requested sample rate if one was specified. */
|
/* Use the requested sample rate if one was specified. */
|
||||||
|
|||||||
Reference in New Issue
Block a user