Skip to content
박상희 (Alex Park) edited this page Jan 28, 2019 · 1 revision

Table of Content

PMDPlayer

PMDPlayer

PMDPlayer Utilizes DirectX Sound and uses external Library called (PMDWin.dll)

Disclaimer.
As the PMDWin.dll is NOT thread-safe, this class has all members static and constructor private.
construction/destruction is done via static functions Initialize/Finalize.
This class itself is also not thread safe. Be sure not to make simultaneous calls from multiple threads.

Initialize

(HWND hWnd)

Initialize the PMDPlayer

LoadPMDData

(char *musicData)

Load PMDPlayer's music with provided musicData

UnloadPMDData

()

Unload Music from MMDPlayer

Play

()

Play Loaded Music

Pause

()

Pause Playing Music

Resume

()

Resume Playing Music

Finalize

()

Check the disclaimer above.

SetFrequency

(int newFreq)

Does Nothing. (Currently)

SetVolume

(float volume)

set the volume

OnDeactivate

()

OnActivate

()

SetPlayThreadPriority

(int nPriority)

Sets Priority of the Player Thread

FillSoftwareBuffer

(int nSample)

1 sample occupies 4 bytes, return false if software buffer when it is full