[Xboxkrnl/XConfig] add user audio config
- Allows for user to set their audio type in the config - Record audio flags and how they function
This commit is contained in:
committed by
Radosław Gliński
parent
0474053931
commit
de79cb3db4
@@ -15,12 +15,14 @@
|
||||
#include "xenia/kernel/xboxkrnl/xboxkrnl_private.h"
|
||||
#include "xenia/xbox.h"
|
||||
|
||||
DECLARE_uint32(audio_flag);
|
||||
|
||||
namespace xe {
|
||||
namespace kernel {
|
||||
namespace xboxkrnl {
|
||||
|
||||
dword_result_t XAudioGetSpeakerConfig_entry(lpdword_t config_ptr) {
|
||||
*config_ptr = 0x00010001;
|
||||
*config_ptr = cvars::audio_flag;
|
||||
return X_ERROR_SUCCESS;
|
||||
}
|
||||
DECLARE_XBOXKRNL_EXPORT1(XAudioGetSpeakerConfig, kAudio, kImplemented);
|
||||
|
||||
Reference in New Issue
Block a user