mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-14 10:48:36 +12:00
Audio: don’t build ALSA, PulseAudio or FAudio backends when disabled
This commit is contained in:
parent
63bbf11a76
commit
03a2d36c7e
7 changed files with 38 additions and 25 deletions
|
@ -1,6 +1,8 @@
|
|||
#include "FAudioBackend.h"
|
||||
#ifndef HAVE_FAUDIO
|
||||
#error "FAudio support disabled but still being built."
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_FAUDIO
|
||||
#include "FAudioBackend.h"
|
||||
|
||||
FAudioBackend::FAudioBackend()
|
||||
{
|
||||
|
@ -175,5 +177,3 @@ f32 FAudioBackend::SetFrequencyRatio(f32 new_ratio)
|
|||
|
||||
return new_ratio;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue