More actions
No edit summary |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
|title=Vita Homebrew Apps (Plugins) - GameBrew | |title=Vita Homebrew Apps (Plugins) - GameBrew | ||
|title_mode=append | |title_mode=append | ||
|image= | |image=libshellaudiovita02.png | ||
|image_alt=libShellAudio | |image_alt=libShellAudio | ||
}} | }} | ||
{{Infobox Vita Homebrews | {{Infobox Vita Homebrews | ||
|title=libShellAudio | |title=libShellAudio | ||
|image= | |image=libshellaudiovita02.png | ||
|description= | |description=Reverse engineering of Sony static library that is used in system applications and Music application to play audio files using SceShell resources. | ||
|author=GrapheneCt | |author=GrapheneCt | ||
|lastupdated=2021/09/04 | |lastupdated=2021/09/04 | ||
Line 46: | Line 46: | ||
shellAudioSendCommandForBGM(SCE_SHELLAUDIO_DEFAULT, 0); | shellAudioSendCommandForBGM(SCE_SHELLAUDIO_DEFAULT, 0); | ||
2. Music player with jazz EQ | 2. Music player with jazz EQ | ||
shellAudioInitializeForMusicPlayer(0); | shellAudioInitializeForMusicPlayer(0); | ||
shellAudioSendCommandForMusicPlayer(SCE_SHELLAUDIO_STOP, 0); | shellAudioSendCommandForMusicPlayer(SCE_SHELLAUDIO_STOP, 0); |
Latest revision as of 13:32, 6 July 2024
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