get_sound_device
- get_sound_device() SoundDevice | NullSoundDevice[source]
Factory function to initialize the SoundDevice.
- Returns:
An initialized SoundDevice or base class if disabled/failed.
- Return type:
SoundDeviceBase
Factory function to initialize the SoundDevice.
An initialized SoundDevice or base class if disabled/failed.
SoundDeviceBase