sidplayfp.h   sidplayfp.h 
skipping to change at line 102 skipping to change at line 102
/** /**
* Load a tune. * Load a tune.
* Check #error for detailed message if something goes wrong. * Check #error for detailed message if something goes wrong.
* *
* @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. * Run the emulation and produce samples to play if a buffer is given.
* *
* @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 measured in 16 bit samples. * @param count the size of the buffer measured in 16 bit samples
* or 0 if no output is needed (e.g. Hardsid)
* @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;
/** Stop the engine. */ /**
* Stop the engine.
*/
void stop(); void stop();
/** /**
* Control debugging. * Control debugging.
* Only has effect if library have been compiled * Only has effect if library have been compiled
* with the --enable-debug option. * with the --enable-debug option.
* *
* @param enable enable/disable debugging. * @param enable enable/disable debugging.
* @param out the file where to redirect the debug info. * @param out the file where to redirect the debug info.
*/ */
skipping to change at line 140 skipping to change at line 143
/** /**
* Mute/unmute a SID channel. * Mute/unmute a SID channel.
* *
* @param sidNum the SID chip, 0 for the first one, 1 for the second. * @param sidNum the SID chip, 0 for the first one, 1 for the second.
* @param voice the channel to mute/unmute. * @param voice the channel to mute/unmute.
* @param enable true unmutes the channel, false mutes it. * @param enable true unmutes the channel, false mutes it.
*/ */
void mute(unsigned int sidNum, unsigned int voice, bool enable); void mute(unsigned int sidNum, unsigned int voice, bool enable);
/** /**
* Get the current playing time with respect to resolution returned by timebase. * Get the current playing time.
* *
* @return the current playing time. * @return the current playing time measured in seconds.
*/ */
uint_least32_t time() const; uint_least32_t time() const;
/** /**
* Set ROMs. * Set ROM images.
* The ROMs are validate against known ones.
* *
* @param kernal pointer to Kernal ROM. * @param kernal pointer to Kernal ROM.
* @param basic pointer to Basic ROM, generally needed only for BASIC t unes. * @param basic pointer to Basic ROM, generally needed only for BASIC t unes.
* @param character pointer to character generator ROM. * @param character pointer to character generator ROM.
*/ */
void setRoms(const uint8_t* kernal, const uint8_t* basic=0, const uint8 _t* character=0); void setRoms(const uint8_t* kernal, const uint8_t* basic=0, const uint8 _t* character=0);
/** /**
* Get the event scheduler. * Get the event scheduler.
* *
 End of changes. 6 change blocks. 
7 lines changed or deleted 9 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 7 #define LIBSIDPLAYFP_VERSION_MIN 7
#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

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/