Page 4 of 5 FirstFirst 12345 LastLast
Results 31 to 40 of 47

Thread: Ogg streaming--does it exist for the PSP already? (Or should I just make it exist?)

                  
   
  1. #31

    Default

    It's true there's probably something there for them. If they do it right.

    Anyway: I believe I can call this a beta: still a bit icky if the WAP connection actually goes away, but otherwise, setup/teardown is pretty durn solid, if I do say so myself:

    (tar.gz here, zip here.)

  2. #32

    Default

    Minor updates/cleanups to stream display stuff largeish list of streams from xiph.org added (131 streams in sample config file, now) to make setup a bit easier. Drop is: tar.gz, zip

  3. #33

    Default

    The ever-helpful Insert Witty Name Here/Insomnia at PSP-Programming pointed out a nice patch from one crazyc for pspaudiolib that lets you set the sample rate for the lib, and I've incorporated it; result is cleaner 48K output and simpler, prettier, faster code. The current binary drop with this change and a few other modest improvements is here (tgz) and here (zip).

  4. #34

    Default

    Additional fix this eve: previous version wasn't doing the h/w sample rate setting right; works now. Gives coverage for a pretty huge rate of sample rates, but there is the odd one it doesn't do. Looks like the rates supported should be 8000, 12000, 16000, 24000, 32000, 48000, 11025, 22050, and 44100, all both in mono and stereo. Fix is just uploaded over the last.

  5. #35

    Default

    Sourceforge came through with hosting: project directory is here. There's one download already defined, for anyone who wants source or binaries.

    I also was able to fix the issue with the crash on network timeouts/when the wireless switch got killed; it still messes up the fetch thread, but at least you can terminate the thing gracefully, now. No more crashes.

  6. #36

    Default

    Oh... full disclosure for anyone looking for it: in the course of setting up at Sourceforge, I noticed another project called PSPRadio which looks *very* full-featured, and which appears from user notes to support vorbis streams, too. It's probably a better option; not sure; haven't had time to try it; but if I'd seen it prior to all this, I might not have bothered... It is definitely on the list to try, anyway.

  7. #37
    DCEmu Newbie
    Join Date
    Jul 2008
    Posts
    8
    Rep Power
    0

    Default

    Isn't PSPRadio only for PSP1000/PHAT models?

  8. #38

    Default

    It works for me on the PSP2000... but there are two catches:

    1. Periodic freezes after network connection. No big deal, but it actually looks like my stuff is a little more stable there, now, on current systems, for now (pumps fist in victory)...

    2. Doesn't play 22050 mono streams--which means no CBC Radio One. Suspect the sample rate isn't supported--as you can hear it, but it's insanely chirpy (sounds like it's playing about 2x speed, frequent dropouts, probably because the audio's running ahead of the server's expectations, and the network stuff keeps going into starvation). So for now, looks like it's my code for that or nothin'...

    ... but I *am* looking at contributing to PSPRadio to support this, seein' as it's way ahead of me in just about every other way by the look of it (nice feature: looks like they do the ogg decode in a much more sensible thread than I do, which means streams that dump in lots of decode holes during frequent comment updates--and there are a few of those out there--don't stutter during playback), and doing my own thing probably isn't too sensible, here... and after what I've been through with my stuff, I can probably come up with a patch reasonably quickly.

    In any case, if your wife is still jonesing for CBC One, specifically, with any dispatch, my current code is more than solid enough for that, for now. I'm hopin' to get a patched PSPRadio that'll do it in reasonable time, but I've now got some code to read...
    Last edited by NineByNine; July 10th, 2008 at 16:03.

  9. #39

    Default

    There's a new release of mine, anyway, over at Sourceforge--see release 002. I just hardened the control latching strategy (previously, heavy-fingered types might find themselves canceling the stream they'd just launched, or relaunching the one they'd just canceled), also eases list scrolling (hold button works), reduces the stutter on OV_HOLD conditions (but doesn't eliminate it... for that, I'd have to move the decode out of the audio callback, methinks), allows you to reconnect to a WAP without quitting (use triangle from the stream list).

    (...heads reluctantly back to his real work...)

  10. #40

    Default

    Well, in for a penny... PSPRadio looks like it's been kinda quiet a while, and I wasn't really sure where to begin... so I reworked mine anyway to address the dropout issue. Did a pretty heavy overhaul of the fetch/decode stuff, put the Vorbis decode in its own thread, gave it its own circular buffer too, to cover the issue with stuttering commercial stations (it's a few of those that keep updating the comments every 30 or 60 seconds, was causing a nasty stutter in the audio thread due to heavyish decode demands). Notion was by separating decode off, the audio thread could keep screaming ahead this way while the decode thread played catch up to get 'round the hole... Also had to move a lot of code to C++ (allows nice abstraction of a threaded circular buffer, which is then specialized both for the http fetch layer and the decode layer...)

    And it worked beautifully. The thing now floats over those stuttering stations like its riding on a cloud. Release 003 is up at Sourceforge. Binary's a little bigger, but not unreasonably huge--just 521K now.

Page 4 of 5 FirstFirst 12345 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •