Search found 16 matches

by RCON
Sat Mar 24, 2007 8:02 am
Forum: PSP Development
Topic: FRONTIER 1337 - a port of FRONTIER: Elite II for PSP
Replies: 53
Views: 28294

It looks like the music you are playing is 22050 hz while the audio callback runs at 44100. That would cause the sounds to play at double speed. You will probably need to resample it to 44100 for it to sound right.

-Louie
by RCON
Fri Jan 19, 2007 4:12 am
Forum: PSP Development
Topic: Stupid question: Limiting Input?
Replies: 2
Views: 1167

I think sceCtrlReadBufferPositive(&pad, 1) syncs your controller input to the VSync and sceCtrlPeekBufferPositive(&pad, 1) does not. That might also lock your framerate to 60fps max.

-Louie
by RCON
Fri Jan 05, 2007 7:19 am
Forum: PSP Development
Topic: GU Text
Replies: 2
Views: 1831

GU Text

Has anyone been sucessful in using a custom font with the GU Text sample? I have tried the bitmapfontbuilder program hinted to at this thread: http://forums.ps2dev.org/viewtopic.php?t=6250 but I cannot get it to display anything but corrupted graphics. If you have any idea on how to correctly create...
by RCON
Sat Jul 29, 2006 1:28 am
Forum: PSP Development
Topic: Another World Collector's Edition
Replies: 10
Views: 9826

That looks great! I love that game!
by RCON
Sun Jun 11, 2006 12:11 pm
Forum: PSP Development
Topic: Need function that can print out the content of a dir
Replies: 5
Views: 2051

AnonymousTipster wrote:Hope this helps somewhat.
That code ROCKS! Works perfectly!
by RCON
Wed Apr 26, 2006 5:33 am
Forum: PSP Development
Topic: File Assistant ++
Replies: 114
Views: 100613

It loaded on a 2.6 using eMenu!!! Good work!!!
by RCON
Wed Apr 19, 2006 3:08 am
Forum: PSP Development
Topic: pspAudio and my emulator.
Replies: 5
Views: 2203

my program gets audio artifacts too when I try to do a lot of calculations and can't fill the buffer. I optimized a lot of my code using tips from this site and it helped a lot. I was doing a lot of calculations/loops when I didn't need to. http://bdn.borland.com/article/0,1410,28278,00.html make su...
by RCON
Tue Apr 18, 2006 9:54 am
Forum: PSP Development
Topic: pspAudio and my emulator.
Replies: 5
Views: 2203

I am using a similar callback and I reset the audio buffer to 0 and then return if a sound is not playing. It looks something like this: if &#40;!soundplaying&#41; &#123; for &#40;i=0; i<length; ++i&#41; &#123; buf&#91;i * 2&#93; = 0; buf&#91;i * 2 + 1&#93; = ...
by RCON
Fri Mar 10, 2006 1:39 pm
Forum: PSP Development
Topic: # of Simultaneous Audio Voices
Replies: 6
Views: 2577

The PSP Rhythm audio sample engine works on one audio channel. It has a basic mixer that mixes samples into the audio callback. it was loosely based off of the drumpiler code off of source forge. http://drumpiler.sourceforge.net/. My samples have a struct with a variable that tells the mixer if a so...
by RCON
Sat Mar 04, 2006 7:55 am
Forum: PSP Development
Topic: MP3 Buffered Playback
Replies: 10
Views: 7344

I attempted to rebuild the audio engine for PSP Rhythm using double buffers and that didn't work either. What I had to do is use the audio callback to time my audio engine so it would put sample in exactly when it needed to. Maybe you need to try something like that. What does the data look like whe...
by RCON
Sat Dec 03, 2005 5:44 am
Forum: PS2 Development
Topic: Need help with BMP
Replies: 4
Views: 2919

bmp loading

i solved editing libito bmp loader if you want i'll be pleased to post code if is needed thxs a lot for support guys I just read this post and i am trying to do the same thing and load a bmp for displaying in my program. my code is very bad but it loads the image colors are wrong because it is in r...
by RCON
Fri Oct 21, 2005 3:26 am
Forum: PSP Development
Topic: more than one sound
Replies: 2
Views: 1591

Yes you can have multiple sounds play on one audio channel. check out the WAVLoader software on this site http://labs.wonderbyte.com/.
That loader will load the wave files into memory so you don't need to convert it to C.
by RCON
Mon Sep 26, 2005 5:29 am
Forum: PSP Development
Topic: psprtc.h
Replies: 2
Views: 1645

thanks, that does help
by RCON
Thu Sep 15, 2005 2:50 pm
Forum: PSP Development
Topic: psprtc.h
Replies: 2
Views: 1645

psprtc.h

Has anyone figured out how to use the psprtc.h include? I am trying to overcome some timing issues I am having with the clock() function in time.h. The sceRtcGetCurrentTick(u64 *tick) function looks promising but I don't know exactly how to use it.

-Louie
by RCON
Thu Sep 08, 2005 5:55 am
Forum: PSP Development
Topic: How do you display 32bit graphics?
Replies: 1
Views: 1143

How do you display 32bit graphics?

Is there a library out there that can do it? I am using the pg.c from hello world and that only seems to be able to show 16bit graphics.
by RCON
Tue Aug 09, 2005 5:33 am
Forum: PSP Development
Topic: file io with an array
Replies: 3
Views: 1733

file io with an array

Does anyone have a piece of code that can write to a file on the memory stick from an array and them read it back into an array?