Results 1 to 8 of 8

Thread: Media Player for delphi

  1. #1

    Media Player for delphi

    Delphix only supports uncompressed wav's. I need to be able to use M ADPCM

    (need for background music)

    So I had a look around. Mediaplayer that comes with delphi seemed a good start. It does all that I want except music volume control. (to do that I have to chnage entire system volume and I don't want to).

    Had a look at BassPlayer but keeps giving me errors when trying to load the project. put Bass.dll and the like in the app folder but still it won't load the form some error like "cannot support dual channel mode (failed to get buffer). Then a ton of errors. When compiling it works ok, but I seem to have to always have bass.dll there. Tried thr wrapper Dynamic_bass.pas but that just gave me even more errors and didnt doa thing. So gave up on it as a bad job

    Anyone have any suggestions on: changing Tmediaplayer volume, getting bassplayer working or suggesting another mediaplayer?

  2. #2

    Media Player for delphi

    The SX Media component suite is an addon for DelphiX.

    http://www.sxmedia.co.uk

    You might need to change it to work with the latest version of DelphiX, but it supports playing Mod Files and it will give you some pointers on using DirectShow to play back movies and/or mp3 files.
    <A HREF="http://www.myhpf.co.uk/banner.asp?friend=139328">
    <br /><IMG SRC="http://www.myhpf.co.uk/banners/60x468.gif" BORDER="0">
    <br /></A>

  3. #3
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25

    Media Player for delphi

    ...but you'll want to make sure you have the latest ModPlug SDK headers though.

    Or did you update those yet Dean?
    Jason McMillen
    Pascal Game Development
    Co-Founder





  4. #4

    Media Player for delphi

    Not yet, keep loosing the new source code :cry:
    <A HREF="http://www.myhpf.co.uk/banner.asp?friend=139328">
    <br /><IMG SRC="http://www.myhpf.co.uk/banners/60x468.gif" BORDER="0">
    <br /></A>

  5. #5
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25

    Media Player for delphi

    Ok then, I'll post it here then.

    But merge it into SX Media already. [size=9px](My included docs too!)[/size] You have all the permision in the world to do so. [size=9px](Well I stole your header first so it's only fair. :lol[/size]

    Link: ModPlugSDKforDelphi10.zip (149 KB)

    Oh and it even includes the last .DLL update that Oliver made too. Adds a few small features on top of what SXMedia had.
    Jason McMillen
    Pascal Game Development
    Co-Founder





  6. #6

    Media Player for delphi

    what about Tactivemovie? This looks good?

  7. #7

    Media Player for delphi

    Playing sounds that are not in "wav" format... hmm...familiar .

    You can download the FMOD APi (it's free), and use it. With that, you can play MP3, OGG, WAV, S3M, XI and IT. I think that's more than enough...

  8. #8
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25

    Media Player for delphi

    Not if you want to sell your game then it's not so free.
    Jason McMillen
    Pascal Game Development
    Co-Founder





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
  •