extra fixes for options menu and setting up from device name

This commit is contained in:
marauder2k7 2026-05-07 17:58:33 +01:00
parent d56bf257c7
commit 15a7b8cce0
7 changed files with 183 additions and 44 deletions

View file

@ -115,6 +115,8 @@ public:
static const char* getProviderNameFromType(SFXProviderType type);
static SFXProvider* getBestProviderChoice();
static SFXProvider* getProvider(U32 index);
static SFXProviderType getProviderTypeFromName(const char* name);
static SFXProvider* getProviderByTypeAndName(SFXProviderType type, const char* deviceName);
typedef Signal< void( SFXSystemEventType event ) > EventSignalType;
typedef Vector< SFXSource* > SFXSourceVector;
@ -274,10 +276,12 @@ public:
/// Unregister the given plugin with the system.
void removePlugin( SFXSystemPlugin* plugin );
/// @name Device Management
/// @{
bool createDeviceByName(const char* providerName, const char* deviceName);
/// This initializes a new device.
///
/// @return Returns true if the device was created.