wavelength 1.0.0
Loading...
Searching...
No Matches
Song::PatternFile Class Reference

One pattern file of a remix or a duel while it is read. More...

#include <song.h>

Public Member Functions

 PatternFile (const char *pszPath)
 Construct the record of a file.
 ~PatternFile ()
 Release the file and its contents.
void Start (int nIndex, Song *pSong)
 Open the file and start reading it into a buffer.
bool Poll ()
 Report whether the file is read, and load the patterns of each pitch track once it is.

Detailed Description

One pattern file of a remix or a duel while it is read.

The name is inferred. The object is 0x2c bytes.

Constructor & Destructor Documentation

◆ PatternFile()

Song::PatternFile::PatternFile ( const char * pszPath)
inlineexplicit

Construct the record of a file.

Parameters
pszPathThe path of the file.

◆ ~PatternFile()

Song::PatternFile::~PatternFile ( )
inline

Release the file and its contents.

Member Function Documentation

◆ Start()

void Song::PatternFile::Start ( int nIndex,
Song * pSong )

Open the file and start reading it into a buffer.

The Song routine StartPatternLoad() expands the body.

Parameters
nIndexThe pattern the file stores, from 0.
pSongThe song.

◆ Poll()

bool Song::PatternFile::Poll ( )

Report whether the file is read, and load the patterns of each pitch track once it is.

The Song routine PollLoad() expands the body.

Returns
Whether the file is read or was not found.

The documentation for this class was generated from the following file: