Sound output
Sound output
A demo program to output sound can be downloaded from:
http://anon.ug.to/sec/index.html
Enjoy! :)
API's not yet documented... Briefly,
sceAudio_2 sceAudio/0x13F592BC Output sound, blocking
sceAudio_3 sceAudio/0x5EC81C55 Initialize channel and allocate buffer
sceAudio_4 sceAudio/0x6FC46853 Terminate channel and deallocate buffer
http://anon.ug.to/sec/index.html
Enjoy! :)
API's not yet documented... Briefly,
sceAudio_2 sceAudio/0x13F592BC Output sound, blocking
sceAudio_3 sceAudio/0x5EC81C55 Initialize channel and allocate buffer
sceAudio_4 sceAudio/0x6FC46853 Terminate channel and deallocate buffer
-
- Posts: 564
- Joined: Sat Jan 17, 2004 10:22 am
- Location: Sweden
- Contact:
nice nice nice Nem, i cannot try it sadly (T_T)
Don t you have problems (like sound playing with static and such) ?
きゃ~~~ (( ( (ヽ(;^^)/
Don t you have problems (like sound playing with static and such) ?
きゃ~~~ (( ( (ヽ(;^^)/
Last edited by PinkPeach on Sun May 15, 2005 6:30 am, edited 1 time in total.
Found function names of sceAudio.
Code: Select all
API name for sceAudio
STUB_FUNC 0xCB2E439E,sceAudioSetChannelDataLen
STUB_FUNC 0x13F592BC,sceAudioOutputPannedBlocking
STUB_FUNC 0x95FD0C2D,sceAudioChangeChannelConfig
STUB_FUNC 0x136CAF51,sceAudioOutputBlocking
STUB_FUNC 0xE9D97901,sceAudioGetChannelRestLen
STUB_FUNC 0x6FC46853,sceAudioChRelease
STUB_FUNC 0x5EC81C55,sceAudioChReserve
STUB_FUNC 0xE2D56B2D,sceAudioOutputPanned
STUB_FUNC 0xB7E1D8E7,sceAudioChangeChannelVolume
sorry to revive such an old thread, but I've been messing around with some code based off of nems sample, and whenever I use Sound1 for effects and the unit dims or I press the home button the first sample (regardless of if its done playing or not) starts playing in a quick loop. Am I doing something wrong?
Update: this doesn't seem to be an issue with the sound code, this has to deal with how I'm handling input.
Update: this doesn't seem to be an issue with the sound code, this has to deal with how I'm handling input.