More actions
libShellAudio | |
---|---|
General | |
Author | GrapheneCt |
Type | Developments |
Version | 1.2 |
License | MIT License |
Last Updated | 2021/09/04 |
Links | |
Download | |
Website | |
Source | |
ShellAudio is PS Vita library that is a result of reverse engineering Sony's static library that is used in system applications and Music application to play audio files using SceShell resources.
Features
- Very easy to use.
- Doesn't use any of the resources allocated to the application.
- All decoding is performed on Codec Engine.
- Supports EQ, different repeat modes, shuffle mode.
- When in music mode, volume can be controlled with "Music" slider from quick menu.
User guide
Supported codecs
- MP3 (.mp3)
- AAC (.m4a, .aac)
- ATRAC9 (.at9)
- WAV (.wav)
Examples of usage
1. Application BGM (NOTE: in param.sfo, ATTRIBUTE flag ENABLE BGM PROXY must be set to 1)
shellAudioInitializeForBGM(0); SceShellSvcAudioCustomOpt optParams; sceClibMemset(&optParams, 0, 0x10); optParams.flag = -1; shellAudioSetAudioForBGM("pd0:data/systembgm/near.at9", &optParams); shellAudioSetVolumeForBGM(0x4E20); shellAudioSetParam2ForBGM(1); shellAudioSendCommandForBGM(SCE_SHELLAUDIO_DEFAULT, 0);
2. Music player with jazz EQ
shellAudioInitializeForMusicPlayer(0); shellAudioSendCommandForMusicPlayer(SCE_SHELLAUDIO_STOP, 0); shellAudioSetAudioForMusicPlayer("pd0:data/systembgm/near.at9", NULL); shellAudioSendCommandForMusicPlayer(SCE_SHELLAUDIO_PLAY, 0); shellAudioSetEQModeForMusicPlayer(SCE_SHELLAUDIO_EQ_JAZZ);
Changelog
v1.2
- Added new functions.
- Corrected function names.
v1.1b
- Switch to VDSuite.
- Update function names to match the official ones.
v1.1
- Build with latest DolceSDK.
v1.0
- suprx version of the library.
External links
- GitHub - https://github.com/GrapheneCt/libShellAudio
- CBPS Forums - https://forum.devchroma.nl/index.php?topic=158.0