summaryrefslogtreecommitdiffstats
path: root/src/audio_core/audio_core.h
blob: b349895ea711f9d51ca9c9835ad81ddb01cc5459 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// 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 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