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

@ -82,9 +82,6 @@ class SFXDevice
typedef BufferVector::iterator BufferIterator;
typedef VoiceVector::iterator VoiceIterator;
/// The name of this device.
String mName;
/// The provider which created this device.
SFXProvider mProvider;
@ -146,7 +143,7 @@ public:
S32 getMaxBuffers() const { return mMaxBuffers; }
/// Returns the name of this device.
const String& getName() const { return mName; }
const String& getName() const { return mProvider.getName(); }
/// Return the device capability flags.
U32 getCaps() const { return mCaps; }