mirror of
https://github.com/libretro/RetroArch
synced 2025-04-16 08:43:10 +00:00
Buildfixes
This commit is contained in:
parent
cde82f532c
commit
13bc41facc
@ -268,7 +268,7 @@ static bool alsa_microphone_stop_mic(void *driver_context, void *mic_context)
|
|||||||
static bool alsa_microphone_mic_use_float(const void *driver_context, const void *mic_context)
|
static bool alsa_microphone_mic_use_float(const void *driver_context, const void *mic_context)
|
||||||
{
|
{
|
||||||
alsa_microphone_handle_t *mic = (alsa_microphone_handle_t*)mic_context;
|
alsa_microphone_handle_t *mic = (alsa_microphone_handle_t*)mic_context;
|
||||||
return microphone->stream_info.has_float;
|
return mic->stream_info.has_float;
|
||||||
}
|
}
|
||||||
|
|
||||||
microphone_driver_t microphone_alsa = {
|
microphone_driver_t microphone_alsa = {
|
||||||
|
@ -311,7 +311,7 @@ error:
|
|||||||
if (mic)
|
if (mic)
|
||||||
{
|
{
|
||||||
if (mic->info.pcm)
|
if (mic->info.pcm)
|
||||||
snd_pcm_close(microphone->info.pcm);
|
snd_pcm_close(mic->info.pcm);
|
||||||
|
|
||||||
alsa_thread_microphone_close_mic(alsa, mic);
|
alsa_thread_microphone_close_mic(alsa, mic);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user