Nugget
Bare-metal libraries and examples for the original PlayStation
Loading...
Searching...
No Matches
Classes | Macros | Functions | Variables
psmplayer.h File Reference
#include <stdint.h>
Include dependency graph for psmplayer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  PSM_Notify
 

Macros

#define PSM_NOTIFY_USER   0
 
#define PSM_NOTIFY_NOTE   1
 

Functions

unsigned PSM_LoadBank (const void *vabData, uint32_t vabSize)
 
unsigned PSM_LoadBankEx (const void *vhData, uint32_t vhSize, const void *vbData, uint32_t vbSize)
 
uint32_t PSM_LoadSong (const void *psmData, uint32_t psmSize)
 
void PSM_Poll (void)
 
void PSM_Silence (void)
 
int PSM_PopNotify (struct PSM_Notify *out)
 

Variables

uint32_t PSM_hblanks
 
unsigned PSM_voiceCount
 
uint32_t PSM_currentEvent
 
uint32_t PSM_eventCount
 
int PSM_playing
 
uint16_t PSM_noteMirrorMask
 
uint32_t PSM_notifyDropped
 

Macro Definition Documentation

◆ PSM_NOTIFY_NOTE

#define PSM_NOTIFY_NOTE   1

◆ PSM_NOTIFY_USER

#define PSM_NOTIFY_USER   0

Function Documentation

◆ PSM_LoadBank()

unsigned PSM_LoadBank ( const void *  vabData,
uint32_t  vabSize 
)

◆ PSM_LoadBankEx()

unsigned PSM_LoadBankEx ( const void *  vhData,
uint32_t  vhSize,
const void *  vbData,
uint32_t  vbSize 
)

◆ PSM_LoadSong()

uint32_t PSM_LoadSong ( const void *  psmData,
uint32_t  psmSize 
)

◆ PSM_Poll()

void PSM_Poll ( void  )

◆ PSM_PopNotify()

int PSM_PopNotify ( struct PSM_Notify *  out)

◆ PSM_Silence()

void PSM_Silence ( void  )

Variable Documentation

◆ PSM_currentEvent

uint32_t PSM_currentEvent
extern

◆ PSM_eventCount

uint32_t PSM_eventCount
extern

◆ PSM_hblanks

uint32_t PSM_hblanks
extern

◆ PSM_noteMirrorMask

uint16_t PSM_noteMirrorMask
extern

◆ PSM_notifyDropped

uint32_t PSM_notifyDropped
extern

◆ PSM_playing

int PSM_playing
extern

◆ PSM_voiceCount

unsigned PSM_voiceCount
extern