sidplayfp.h | sidplayfp.h | |||
---|---|---|---|---|
skipping to change at line 106 | skipping to change at line 106 | |||
* | * | |||
* @param tune the SidTune to load, 0 unloads current tune. | * @param tune the SidTune to load, 0 unloads current tune. | |||
* @return true on sucess, false otherwise. | * @return true on sucess, false otherwise. | |||
*/ | */ | |||
bool load(SidTune *tune); | bool load(SidTune *tune); | |||
/** | /** | |||
* Produce samples to play. | * Produce samples to play. | |||
* | * | |||
* @param buffer pointer to the buffer to fill with samples. | * @param buffer pointer to the buffer to fill with samples. | |||
* @param count the size of the buffer. | * @param count the size of the buffer measured in 16 bit samples. | |||
* @return the number of produced samples. | * @return the number of produced samples. | |||
*/ | */ | |||
uint_least32_t play(short *buffer, uint_least32_t count); | uint_least32_t play(short *buffer, uint_least32_t count); | |||
/** | /** | |||
* Check if the engine is playing or stopped. | * Check if the engine is playing or stopped. | |||
* | * | |||
* @return true if playing, false otherwise. | * @return true if playing, false otherwise. | |||
*/ | */ | |||
bool isPlaying() const; | bool isPlaying() const; | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
sidversion.h | sidversion.h | |||
---|---|---|---|---|
#ifndef LIBSIDPLAYFP_VERSION_H | #ifndef LIBSIDPLAYFP_VERSION_H | |||
#define LIBSIDPLAYFP_VERSION_H | #define LIBSIDPLAYFP_VERSION_H | |||
#ifndef SIDPLAYFP_H | #ifndef SIDPLAYFP_H | |||
# error Do not include directly. | # error Do not include directly. | |||
#endif | #endif | |||
#define LIBSIDPLAYFP_VERSION_MAJ 1 | #define LIBSIDPLAYFP_VERSION_MAJ 1 | |||
#define LIBSIDPLAYFP_VERSION_MIN 0 | #define LIBSIDPLAYFP_VERSION_MIN 0 | |||
#define LIBSIDPLAYFP_VERSION_LEV 0 | #define LIBSIDPLAYFP_VERSION_LEV 1 | |||
#endif | #endif | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||