|
SWILIB API (NSG)
|
Functions for working with builtin media player.
Usage: #include <swilib.h> or #include <swilib/player.h>
Functions | |
| uint32_t * | RamMPlayer_CtrlCode () |
| Pointer to the CSM ID of the media player, used to send commands to it. | |
| void | MEDIA_PLAYLAST () |
| Play previous song in standart media player. | |
| void | MediaProc_LaunchLastPlayback () |
| Play last song in standart media player. | |
| int | IsMediaPlayerInBackground () |
| Check if MediaPlayer in the background. | |
| const WSHDR * | MediaProc_GetLastAudioTrackFilename () |
| Get the filename of the last audio track in the media player. | |
| const WSHDR * | MediaProc_GetLastAudioTrackDir () |
| Get the directory of the last audio track in the media player. | |
| int | MediaProc_GetLastActivatedMusicFilter () |
| Get the last activated music filter ID in the media player. | |
| int | MediaProc_GetLastActivatedMusicGenreLUID () |
| Get the LUID of the last activated music genre in the media player. | |
| int | MediaProc_GetLastActivatedMusicArtistLUID () |
| Get the LUID of the last activated music artist in the media player. | |
| int | MediaProc_GetLastActivatedMusicAlbumLUID () |
| Get the LUID of the last activated music album in the media player. | |
| void | CloseMediaPlayer () |
| Close MediaPlayer. | |
| char * | RamMediaPlayerCurrentTrackFormat () |
| File format of the current audio track in MediaPlayer. | |
| char * | RamMediaPlayerCurrentTrackFreq () |
| Audio freq of the current audio track in MediaPlayer. | |
| char * | RamMediaPlayerCurrentTrackChannels () |
| Channels number from the current audio track in MediaPlayer. | |
| uint32_t * RamMPlayer_CtrlCode | ( | ) |
Pointer to the CSM ID of the media player, used to send commands to it.
| void MEDIA_PLAYLAST | ( | ) |
Play previous song in standart media player.
| void MediaProc_LaunchLastPlayback | ( | ) |
Play last song in standart media player.
Always creates a new copy of media player.
| int IsMediaPlayerInBackground | ( | ) |
Check if MediaPlayer in the background.
Get the filename of the last audio track in the media player.
Get the directory of the last audio track in the media player.
| int MediaProc_GetLastActivatedMusicFilter | ( | ) |
Get the last activated music filter ID in the media player.
| int MediaProc_GetLastActivatedMusicGenreLUID | ( | ) |
Get the LUID of the last activated music genre in the media player.
| int MediaProc_GetLastActivatedMusicArtistLUID | ( | ) |
Get the LUID of the last activated music artist in the media player.
| int MediaProc_GetLastActivatedMusicAlbumLUID | ( | ) |
Get the LUID of the last activated music album in the media player.
| void CloseMediaPlayer | ( | ) |
Close MediaPlayer.
| char * RamMediaPlayerCurrentTrackFormat | ( | ) |
File format of the current audio track in MediaPlayer.
| char * RamMediaPlayerCurrentTrackFreq | ( | ) |
Audio freq of the current audio track in MediaPlayer.
| char * RamMediaPlayerCurrentTrackChannels | ( | ) |
Channels number from the current audio track in MediaPlayer.