| View previous topic :: View next topic |
| Author |
Message |
nem
Joined: 13 Jan 2005 Posts: 73
|
Posted: Sun May 15, 2005 5:27 am Post subject: 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 |
|
| Back to top |
|
 |
blackdroid
Joined: 17 Jan 2004 Posts: 564 Location: Sweden
|
Posted: Sun May 15, 2005 6:00 am Post subject: |
|
|
nice _________________ Kung VU |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Sun May 15, 2005 6:16 am Post subject: |
|
|
| word |
|
| Back to top |
|
 |
Thanhda

Joined: 09 Apr 2005 Posts: 331 Location: Canada
|
Posted: Sun May 15, 2005 6:25 am Post subject: |
|
|
damnit. need 1.o_0 _________________ There are 10 types of people in the world: Those who understand binary, and those who don't... |
|
| Back to top |
|
 |
PinkPeach
Joined: 02 Mar 2005 Posts: 23
|
Posted: Sun May 15, 2005 6:26 am Post subject: |
|
|
nice nice nice Nem, i cannot try it sadly (T_T)
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 |
|
| Back to top |
|
 |
Orion_
Joined: 27 Jan 2005 Posts: 69
|
Posted: Sun May 15, 2005 6:27 am Post subject: |
|
|
can't test but seems nice :)
nem > from where come the bg1.wav sound ?!
edit: ok I saw the sources ^^
Last edited by Orion_ on Sun May 15, 2005 6:35 am; edited 1 time in total |
|
| Back to top |
|
 |
omlette
Joined: 16 Mar 2005 Posts: 5
|
Posted: Sun May 15, 2005 6:28 am Post subject: |
|
|
I want 1.0... :(
Keep up the great work, nem. |
|
| Back to top |
|
 |
webjeff
Joined: 05 May 2005 Posts: 66
|
Posted: Sun May 15, 2005 6:38 am Post subject: |
|
|
Nice work nem, just tested it and it works great.... keep it up!
Jeff |
|
| Back to top |
|
 |
Thanhda

Joined: 09 Apr 2005 Posts: 331 Location: Canada
|
Posted: Sun May 15, 2005 9:53 am Post subject: |
|
|
damn crashes pspe. _________________ There are 10 types of people in the world: Those who understand binary, and those who don't... |
|
| Back to top |
|
 |
Awhite
Joined: 23 Feb 2005 Posts: 55
|
Posted: Sun May 15, 2005 11:25 am Post subject: |
|
|
grr i used to have a psp 1.0 :'( Keep up the good work. _________________ Ioannis KarAvas |
|
| Back to top |
|
 |
nem
Joined: 13 Jan 2005 Posts: 73
|
Posted: Sun May 22, 2005 9:56 pm Post subject: |
|
|
Found function names of sceAudio.
| Code: | 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
|
|
|
| Back to top |
|
 |
squiggle
Joined: 26 Jun 2005 Posts: 9
|
Posted: Sun Jun 26, 2005 8:42 pm Post subject: |
|
|
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. |
|
| Back to top |
|
 |
|