mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-11-11 12:29:33 +01:00
[audio_core] remove dangling Core::System& references
Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
parent
3266c20e3f
commit
84f43f2c63
20 changed files with 151 additions and 148 deletions
|
|
@ -16,6 +16,10 @@
|
|||
|
||||
#include "audio_core/audio_event.h"
|
||||
|
||||
namespace Core {
|
||||
class System;
|
||||
}
|
||||
|
||||
union Result;
|
||||
|
||||
namespace AudioCore {
|
||||
|
|
@ -34,10 +38,9 @@ namespace AudioCore {
|
|||
* This is only used by audio in and audio out.
|
||||
*/
|
||||
class AudioManager {
|
||||
using BufferEventFunc = std::function<void()>;
|
||||
|
||||
using BufferEventFunc = void (*)(void *data, Core::System& system) noexcept;
|
||||
public:
|
||||
explicit AudioManager();
|
||||
explicit AudioManager(Core::System& system);
|
||||
|
||||
/**
|
||||
* Shutdown the audio manager.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue