Plutonium framework API
0.3
Simple UI framework for libnx and SDL2
Main Page
Namespaces
Classes
Files
File List
File Members
audio_Sfx.hpp
Go to the documentation of this file.
1
2
/*
3
4
Plutonium library
5
6
@file audio_Sfx.hpp
7
@brief Sfx (sound effects) support
8
@author XorTroll
9
10
@copyright Plutonium project - an easy-to-use UI framework for Nintendo Switch homebrew
11
12
*/
13
14
#pragma once
15
#include <SDL2/SDL_mixer.h>
16
#include <string>
17
18
namespace
pu::audio
19
{
20
typedef
Mix_Chunk *
Sfx
;
21
22
Sfx
Load
(std::string Path);
23
void
Play
(Sfx Sfx);
24
void
DeleteSfx
(Sfx Sfx);
25
}
pu::audio::Load
Sfx Load(std::string Path)
pu::audio::DeleteSfx
void DeleteSfx(Sfx Sfx)
pu::audio::Sfx
Mix_Chunk * Sfx
Definition:
audio_Sfx.hpp:20
pu::audio::Play
void Play(Music Mus, int Loops)
pu::audio
Definition:
audio_Music.hpp:18
Plutonium
Include
pu
audio
audio_Sfx.hpp
Generated by
1.8.11