loadMem method
Load an audio source from memory (raw bytes).
Implementation
Future<AudioSource?> loadMem(String filename, Uint8List bytes) async {
if (!_isInitialized) return null;
try {
return await _soloud.loadMem(filename, bytes);
} catch (e, st) {
NeomErrorLogger.recordError(e, st, module: 'neom_sound', operation: 'loadMem');
return null;
}
}