mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-03 19:23:47 +01:00
Remove DirectSound support
Since we no longer support pre-Vista Windows, DirectSound support is no longer needed. WASAPI is always going to be best. Soon I'll upgrade our WASAPI backend with a new low-latency mode.
This commit is contained in:
1 parent
5f92f80a15
commit
db1b87aad1
54 files changed
+22
-369
No files matched your search
@@ -1,19 +1,7 @@
|
||||
#include "Common/OSVersion.h"
|
||||
#include "WindowsAudio.h"
|
||||
#include "DSoundStream.h"
|
||||
#include "WASAPIStream.h"
|
||||
|
||||
WindowsAudioBackend *CreateAudioBackend(AudioBackendType type) {
|
||||
if (IsVistaOrHigher()) {
|
||||
switch (type) {
|
||||
case AUDIO_BACKEND_WASAPI:
|
||||
case AUDIO_BACKEND_AUTO:
|
||||
return new WASAPIAudioBackend();
|
||||
case AUDIO_BACKEND_DSOUND:
|
||||
default:
|
||||
return new DSoundAudioBackend();
|
||||
}
|
||||
} else {
|
||||
return new DSoundAudioBackend();
|
||||
}
|
||||
return new WASAPIAudioBackend();
|
||||
}
|
||||
Reference in new issue
Block a user