mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-22 00:06:59 +02:00
Merge PipeWire backend into the main library.
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1,34 +0,0 @@
|
||||
#ifndef miniaudio_backend_pipewire_h
|
||||
#define miniaudio_backend_pipewire_h
|
||||
|
||||
#include "../../../miniaudio.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct
|
||||
{
|
||||
int _unused;
|
||||
} ma_context_config_pipewire;
|
||||
|
||||
MA_API ma_context_config_pipewire ma_context_config_pipewire_init(void);
|
||||
|
||||
|
||||
typedef struct
|
||||
{
|
||||
const char* pThreadName; /* If NULL, defaults to "miniaudio-pipewire". */
|
||||
const char* pStreamName; /* If NULL, defaults to "miniaudio" */
|
||||
const char* pMediaRole; /* If NULL, defaults to "Game". */
|
||||
} ma_device_config_pipewire;
|
||||
|
||||
MA_API ma_device_config_pipewire ma_device_config_pipewire_init(void);
|
||||
|
||||
|
||||
extern ma_device_backend_vtable* ma_device_backend_pipewire;
|
||||
MA_API ma_device_backend_vtable* ma_pipewire_get_vtable(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif /* miniaudio_backend_pipewire_h */
|
||||
Reference in New Issue
Block a user