Results 1 to 4 of 4

Thread: Playing mp3 music from delphi 5 / delphiX HOW?

  1. #1

    Playing mp3 music from delphi 5 / delphiX HOW?

    Hi all,

    Is it possible to store an mp3 file in the res file and play it from within a program using delphi 5... if so How??

    cheeeeeerrrrrrrsssssss a
    The Universe is all right here!!!

  2. #2

    Playing mp3 music from delphi 5 / delphiX HOW?

    You can use DirectShow to play MP3 files, but unless you write your own filter, you can't play MP3s from RES files using DirectShow. Another way of doing it is to use the FMOD, BASS or MPLUG libraries. They can all play MP3 files from a resource file.

    http://www.fmod.org
    http://www.un4seen.com/bass/
    http://www.modplug.com/ <--- not sure about this one
    Ask me about the xcess game development kit

  3. #3

    Playing mp3 music from delphi 5 / delphiX HOW?

    Hi Harry,,

    THX for the info I shall check it out and
    BTW i have downloaded the excess game development kit that i also will check out as soon as I get a slightly better grip of my current explorations of delphix..

    cheeeeeeeeerrrrrrrrsssssssss atozix
    The Universe is all right here!!!

  4. #4

    Re: Playing mp3 music from delphi 5 / delphiX HOW?

    Quote Originally Posted by atozix
    Hi all,

    Is it possible to store an mp3 file in the res file and play it from within a program using delphi 5... if so How??

    cheeeeeerrrrrrrsssssss a
    It's not very elegant, but the media player control works fine.
    http://www.c5software.co.uk (site is being developed at the moment)

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
  •