Remove PulseAudio audio backend
PipeWire is the modern, preferred backend. Remove the now-redundant PulseAudio backend entirely.
This commit is contained in:
@@ -22,10 +22,6 @@
|
||||
#include "util/u_logging.h"
|
||||
#include "wivrn_config.h"
|
||||
|
||||
#if WIVRN_USE_PULSEAUDIO
|
||||
#include "audio_pulse.h"
|
||||
#endif
|
||||
|
||||
#if WIVRN_USE_PIPEWIRE
|
||||
#include "audio_pipewire.h"
|
||||
#endif
|
||||
@@ -42,11 +38,6 @@ std::unique_ptr<wivrn::audio_device> wivrn::audio_device::create(
|
||||
if (auto res = create_pipewire_handle(source_name, source_description, sink_name, sink_description, info, session))
|
||||
return res;
|
||||
#endif
|
||||
|
||||
#if WIVRN_USE_PULSEAUDIO
|
||||
if (auto res = create_pulse_handle(source_name, source_description, sink_name, sink_description, info, session))
|
||||
return res;
|
||||
#endif
|
||||
U_LOG_W("No audio backend available");
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user