Commit a03d2a3f authored by David Reid's avatar David Reid

Pulse: Rename a variable for consistency.

parent 968905c9
...@@ -570,7 +570,7 @@ typedef union ...@@ -570,7 +570,7 @@ typedef union
char alsa[256]; // ALSA uses a name string for identification. char alsa[256]; // ALSA uses a name string for identification.
#endif #endif
#ifdef MAL_SUPPORT_PULSEAUDIO #ifdef MAL_SUPPORT_PULSEAUDIO
char pulseaudio[256]; // PulseAudio uses a name string for identification. char pulse[256]; // PulseAudio uses a name string for identification.
#endif #endif
#ifdef MAL_SUPPORT_COREAUDIO #ifdef MAL_SUPPORT_COREAUDIO
// TODO: Implement me. // TODO: Implement me.
...@@ -7571,7 +7571,7 @@ static void mal_pulse_device_info_list_callback(mal_pa_context* pPulseContext, c ...@@ -7571,7 +7571,7 @@ static void mal_pulse_device_info_list_callback(mal_pa_context* pPulseContext, c
// The name from PulseAudio is the ID for mini_al. // The name from PulseAudio is the ID for mini_al.
if (pName != NULL) { if (pName != NULL) {
mal_strncpy_s(pData->pInfo->id.pulseaudio, sizeof(pData->pInfo->id.pulseaudio), pDescription, (size_t)-1); mal_strncpy_s(pData->pInfo->id.pulse, sizeof(pData->pInfo->id.pulse), pDescription, (size_t)-1);
} }
// The description from PulseAudio is the name for mini_al. // The description from PulseAudio is the name for mini_al.
...@@ -7909,7 +7909,7 @@ static mal_result mal_device_init__pulse(mal_context* pContext, mal_device_type ...@@ -7909,7 +7909,7 @@ static mal_result mal_device_init__pulse(mal_context* pContext, mal_device_type
const char* dev = NULL; const char* dev = NULL;
if (pDeviceID != NULL) { if (pDeviceID != NULL) {
dev = pDeviceID->pulseaudio; dev = pDeviceID->pulse;
} }
if (type == mal_device_type_playback) { if (type == mal_device_type_playback) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment