mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-15 00:39:23 +01:00
36 lines
609 B
C++
36 lines
609 B
C++
// Copyright 2008 Dolphin Emulator Project
|
|
// Licensed under GPLv2+
|
|
// Refer to the license.txt file included.
|
|
|
|
// See CPP file for comments.
|
|
|
|
#pragma once
|
|
|
|
#include "Common/CommonTypes.h"
|
|
|
|
class PointerWrap;
|
|
namespace MMIO
|
|
{
|
|
class Mapping;
|
|
}
|
|
|
|
namespace AudioInterface
|
|
{
|
|
void Init();
|
|
void Shutdown();
|
|
void DoState(PointerWrap& p);
|
|
bool IsPlaying();
|
|
|
|
void RegisterMMIO(MMIO::Mapping* mmio, u32 base);
|
|
|
|
// Get the audio rates (48000 or 32000 only)
|
|
u32 GetAIDSampleRate();
|
|
u32 GetAISSampleRate();
|
|
|
|
u32 Get32KHzSampleRate();
|
|
u32 Get48KHzSampleRate();
|
|
|
|
void GenerateAISInterrupt();
|
|
|
|
} // namespace AudioInterface
|