Page 1 of 6 123 ... LastLast
Results 1 to 10 of 54

Thread: Play a piece of a mp3 stream with mmsystem or directsound??

  1. #1

    Play a piece of a mp3 stream with mmsystem or directsound??

    Hello guys,
    is there a way to play a piece of mp3 stream with mmsystem of direct sound (a shoutcast internet stream)

    thanks
    From brazil (:

    Pascal pownz!

  2. #2

    Play a piece of a mp3 stream with mmsystem or directsound??

    I wanted to implement that too. But i found out that it was rather hard, so i started to use OGG and OpenAL.

    You might want to take a look at RazorLame. It is a well-known mp3 encoder/decoder.. i thought that there were pascal headers for it. Dont know where.
    Coders rule nr 1: Face ur bugz.. dont cage them with code, kill'em with ur cursor.

  3. #3

    Play a piece of a mp3 stream with mmsystem or directsound??

    lame and razorlame(gui) are encoders
    From brazil (:

    Pascal pownz!

  4. #4

    Play a piece of a mp3 stream with mmsystem or directsound??

    i already have the stuff to separate mp3 buffer from icy info, but i need a way to play the mp3 :?
    From brazil (:

    Pascal pownz!

  5. #5

    Play a piece of a mp3 stream with mmsystem or directsound??

    You might want to try this one:

    http://www.mpg123.org/
    http://www.mpg123.org/api/mpg123_8h-source.shtml

    I believe there was/is an delphi unit available also, but google does not let me find it (anymore).
    http://3das.noeska.com - create adventure games without programming

  6. #6

    Play a piece of a mp3 stream with mmsystem or directsound??

    I think this one will work, now i have to find the headers only
    From brazil (:

    Pascal pownz!

  7. #7

    Play a piece of a mp3 stream with mmsystem or directsound??

    lame and razorlame(gui) are encoders
    I guess not

    LAME features:

    * Many improvements in quality in speed over ISO reference software. See history.
    * MPEG1,2 and 2.5 layer III encoding.
    * CBR (constant bitrate) and two types of variable bitrate, VBR and ABR.
    * Encoding engine can be compiled as a shared library (Linux/UNIX), DLL , Directshow filter or ACM codec (Windows).
    * Free format encoding and decoding.
    * GPSYCHO: a GPL'd psycho acoustic and noise shaping model.
    * Powerful and easy to use presets.
    * Quality better than all other encoders at most bitrates.
    * Fast! Encodes faster than real time on a PII 266 at highest quality mode.
    * MP3x: a GTK/X-Window MP3 frame analyzer for both .mp3 and unencoded audio files.
    Coders rule nr 1: Face ur bugz.. dont cage them with code, kill'em with ur cursor.

  8. #8

    Play a piece of a mp3 stream with mmsystem or directsound??

    after 2 days of googling i don't found nothing to help me =/

    i tried libmad, but the header i found is incomplete -.-
    i don't know how use lame for decoding
    i don't find mpg123 header anywhere

    i really don't have luck when working with audio
    From brazil (:

    Pascal pownz!

  9. #9

    Play a piece of a mp3 stream with mmsystem or directsound??

    1. I have some DirectShow that can playback mp3s if you want that. It just works without anything else. But it's DirectShow... it works however and I used it for years for mp3 playback. It's in a nice and easy to use API.

    2. If you have something that can decode the mp3, then you can just create a player using the framework code I sent you. Look at the ogg player class as a guide.
    Jarrod Davis
    Technical Director @ Piradyne Games

  10. #10

    Play a piece of a mp3 stream with mmsystem or directsound??

    Quote Originally Posted by Pyrogine
    1. I have some DirectShow that can playback mp3s if you want that. It just works without anything else. But it's DirectShow... it works however and I used it for years for mp3 playback. It's in a nice and easy to use API.

    2. If you have something that can decode the mp3, then you can just create a player using the framework code I sent you. Look at the ogg player class as a guide.
    1. Directshow plays fine mp3, but not in my case (incomplete streams ( frominternet radio))

    2. I can't find anything for pascal
    From brazil (:

    Pascal pownz!

Page 1 of 6 123 ... LastLast

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
  •