(audio/common) Fix header includes

This commit is contained in:
libretroadmin 2024-06-15 16:55:01 +02:00
parent c741c9d9a9
commit 1d47d24b5f
6 changed files with 19 additions and 17 deletions

View File

@ -19,8 +19,9 @@
#include <alsa/asoundlib.h>
#include <asm-generic/errno.h>
#include "alsa.h"
#include "../audio_driver.h"
#include "../common/alsa.h"
#include "../../verbosity.h"
int alsa_init_pcm(snd_pcm_t **pcm,

View File

@ -18,8 +18,9 @@
#define _RETROARCH_ALSA
#include <boolean.h>
#include "queues/fifo_queue.h"
#include "rthreads/rthreads.h"
#include <queues/fifo_queue.h>
#include <rthreads/rthreads.h>
/* Header file for common functions that are used by alsa and alsathread. */
/**

View File

@ -19,9 +19,9 @@
#include <alsa/asoundlib.h>
#include <boolean.h>
#include "queues/fifo_queue.h"
#include "rthreads/rthreads.h"
#include "./alsa.h"
#include <queues/fifo_queue.h>
#include <rthreads/rthreads.h>
#include "alsa.h"
typedef struct alsa_thread_info
{

View File

@ -21,7 +21,6 @@
#include "mmdevice_common.h"
#include "mmdevice_common_inline.h"
char* mmdevice_name(IMMDevice *device)
{
HRESULT hr;

View File

@ -15,17 +15,18 @@
*/
#include "wasapi.h"
#include <stdio.h>
#ifdef HAVE_MICROPHONE
#include "audio/microphone_driver.h"
#include "../microphone_driver.h"
#endif
#include "queues/fifo_queue.h"
#include "lists/string_list.h"
#include "configuration.h"
#include "verbosity.h"
#include "string/stdstring.h"
#include <string/stdstring.h>
#include <queues/fifo_queue.h>
#include <lists/string_list.h>
#include "mmdevice_common.h"
#include "../../configuration.h"
#include "../../verbosity.h"
const char *hresult_name(HRESULT hr)
{
switch (hr)

View File

@ -23,8 +23,8 @@
#ifndef RETROARCH_COMMON_WASAPI_H
#define RETROARCH_COMMON_WASAPI_H
#include "../common/mmdevice_common_inline.h"
#include "boolean.h"
#include "mmdevice_common_inline.h"
#include <boolean.h>
/* Shared buffer size replacement placeholders */
#define WASAPI_SH_BUFFER_AUDIO_LATENCY 0
@ -37,4 +37,4 @@ IMMDevice *wasapi_init_device(const char *id, EDataFlow data_flow);
IAudioClient *wasapi_init_client(IMMDevice *device, bool *exclusive,
bool *float_fmt, unsigned *rate, unsigned latency, unsigned channels);
#endif /* RETROARCH_COMMON_WASAPI_H */
#endif /* RETROARCH_COMMON_WASAPI_H */