|
Nestopia Core API | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Base
|
+--Nes::Api::Nsf
NES Sound Files interface.
Inner Classes, Typedefs, and Enums | |
enum |
Nes::Api::Nsf::Event
Event. |
typedef |
Nes::Api::Nsf::EventCallback
Event callback prototype. |
enum |
Nes::Api::Nsf::TuneMode
Tune mode. |
Field Summary | |
static Nes::Api::Nsf::EventCaller |
eventCallback
Event callback manager. |
Constructor Summary | |
Nsf( T& instance )
Interface constructor. |
Method Summary | |
const char* |
GetArtist() const
Returns the name of the artists. |
uint |
GetChips() const
Returns the OR:ed chips in use. |
const char* |
GetCopyright() const
Returns the copyright string. |
int |
GetCurrentSong() const
Returns the current song index. |
uint |
GetInitAddress() const
Returns the init-address. |
uint |
GetLoadAddress() const
Returns the load-address. |
Nes::Api::Nsf::TuneMode |
GetMode() const
Return the tune mode. |
const char* |
GetName() const
Returns the name of the NSF. |
uint |
GetNumSongs() const
Returns the total number of songs. |
uint |
GetPlayAddress() const
Returns the play-address. |
int |
GetStartingSong() const
Returns the starting song index. |
bool |
IsPlaying() const
Checks if a song is currently being played. |
Result |
PlaySong()
Plays current selected song. |
Result |
SelectNextSong()
Selects the next song. |
Result |
SelectPrevSong()
Selects the previous song. |
Result |
SelectSong( uint song )
Selects a song. |
Result |
StopSong()
Stops current selected song. |
bool |
UsesBankSwitching() const
Checks if the NSF uses bank-switching. |
Field Detail |
public static Nes::Api::Nsf::EventCaller eventCallback;
Constructor Detail |
public Nsf( T& instance );
instance
- emulator instanceMethod Detail |
public const char* GetArtist() const throw();
public uint GetChips() const throw();
public const char* GetCopyright() const throw();
public int GetCurrentSong() const throw();
public uint GetInitAddress() const throw();
public uint GetLoadAddress() const throw();
public Nes::Api::Nsf::TuneMode GetMode() const throw();
public const char* GetName() const throw();
public uint GetNumSongs() const throw();
public uint GetPlayAddress() const throw();
public int GetStartingSong() const throw();
public bool IsPlaying() const throw();
public Result PlaySong() throw();
public Result SelectNextSong() throw();
public Result SelectPrevSong() throw();
public Result SelectSong( uint song ) throw();
song
- indexpublic Result StopSong() throw();
public bool UsesBankSwitching() const throw();
|
Nestopia Core API | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |