diff options
author | MerryMage <MerryMage@users.noreply.github.com> | 2016-02-21 14:13:52 +0100 |
---|---|---|
committer | MerryMage <MerryMage@users.noreply.github.com> | 2016-02-21 14:13:52 +0100 |
commit | 8b00954ec79fad71691ad2d4c82d5c1c60e21b0c (patch) | |
tree | 443d275fd39c58928e68ef22ce3fe0fa56c73642 /src/audio_core/audio_core.h | |
parent | Merge pull request #1406 from MerryMage/bitfield2 (diff) | |
download | yuzu-8b00954ec79fad71691ad2d4c82d5c1c60e21b0c.tar yuzu-8b00954ec79fad71691ad2d4c82d5c1c60e21b0c.tar.gz yuzu-8b00954ec79fad71691ad2d4c82d5c1c60e21b0c.tar.bz2 yuzu-8b00954ec79fad71691ad2d4c82d5c1c60e21b0c.tar.lz yuzu-8b00954ec79fad71691ad2d4c82d5c1c60e21b0c.tar.xz yuzu-8b00954ec79fad71691ad2d4c82d5c1c60e21b0c.tar.zst yuzu-8b00954ec79fad71691ad2d4c82d5c1c60e21b0c.zip |
Diffstat (limited to 'src/audio_core/audio_core.h')
-rw-r--r-- | src/audio_core/audio_core.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/audio_core/audio_core.h b/src/audio_core/audio_core.h new file mode 100644 index 000000000..64c330914 --- /dev/null +++ b/src/audio_core/audio_core.h @@ -0,0 +1,26 @@ +// Copyright 2016 Citra Emulator Project +// Licensed under GPLv2 or any later version +// Refer to the license.txt file included. + +#pragma once + +namespace Kernel { +class VMManager; +} + +namespace AudioCore { + +constexpr int num_sources = 24; +constexpr int samples_per_frame = 160; ///< Samples per audio frame at native sample rate +constexpr int native_sample_rate = 32728; ///< 32kHz + +/// Initialise Audio Core +void Init(); + +/// Add DSP address spaces to a Process. +void AddAddressSpace(Kernel::VMManager& vm_manager); + +/// Shutdown Audio Core +void Shutdown(); + +} // namespace |