| 
 | 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::EventEvent. | 
| typedef | Nes::Api::Nsf::EventCallbackEvent callback prototype. | 
| enum | Nes::Api::Nsf::TuneModeTune mode. | 
| Field Summary | |
|  static Nes::Api::Nsf::EventCaller | eventCallbackEvent callback manager. | 
| Constructor Summary | |
| Nsf( T& instance )Interface constructor. | |
| Method Summary | |
|  const char* | GetArtist() constReturns the name of the artists. | 
|  uint | GetChips() constReturns the OR:ed chips in use. | 
|  const char* | GetCopyright() constReturns the copyright string. | 
|  int | GetCurrentSong() constReturns the current song index. | 
|  uint | GetInitAddress() constReturns the init-address. | 
|  uint | GetLoadAddress() constReturns the load-address. | 
|  Nes::Api::Nsf::TuneMode | GetMode() constReturn the tune mode. | 
|  const char* | GetName() constReturns the name of the NSF. | 
|  uint | GetNumSongs() constReturns the total number of songs. | 
|  uint | GetPlayAddress() constReturns the play-address. | 
|  int | GetStartingSong() constReturns the starting song index. | 
|  bool | IsPlaying() constChecks 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() constChecks if the NSF uses bank-switching. | 
| Field Detail | 
public static Nes::Api::Nsf::EventCaller eventCallback;
| Constructor Detail | 
public Nsf( T& instance );
instance - emulator instance| Method 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 | |||||||