Pulsar
3d3a057
include
pulsar
player
player_load_formats.h
Go to the documentation of this file.
1
/**
2
* @file
3
* @brief Player sound archive formats support
4
*/
5
#pragma once
6
7
#include <
pulsar/player/player.h
>
8
#include <
pulsar/bfwav/bfwav.h
>
9
#include <
pulsar/bfstm/bfstm.h
>
10
11
/// Load a sound from a Wave file
12
PLSR_RC
plsrPlayerLoadWave
(
const
PLSR_BFWAV
* bfwav,
PLSR_PlayerSoundId
* out);
13
14
/// Load a sound from a Stream file
15
PLSR_RC
plsrPlayerLoadStream
(
const
PLSR_BFSTM
* bfstm,
PLSR_PlayerSoundId
* out);
PLSR_BFWAV
Wave file.
Definition:
bfwav.h:30
plsrPlayerLoadStream
PLSR_RC plsrPlayerLoadStream(const PLSR_BFSTM *bfstm, PLSR_PlayerSoundId *out)
Load a sound from a Stream file.
bfstm.h
Stream file init.
player.h
Player init.
PLSR_BFSTM
Stream file.
Definition:
bfstm.h:30
bfwav.h
Wave file init.
PLSR_RC
u32 PLSR_RC
Result code returned by Pulsar functions.
Definition:
types.h:73
PLSR_PlayerSound
Player sound.
Definition:
player.h:39
plsrPlayerLoadWave
PLSR_RC plsrPlayerLoadWave(const PLSR_BFWAV *bfwav, PLSR_PlayerSoundId *out)
Load a sound from a Wave file.
Generated on Sun Aug 1 2021 11:34:58 for Pulsar by
1.8.13