I agree with Steve, FMOD is very good. I've used it many times to play
mp3 tunes in my games. If you need some sample code to get you going I
can post some.
Ian
________________________________
From: delphigames@yahoogroups.com [mailto:delphigames@yahoogroups.com]
On Behalf Of Steve Williams
Sent: 18 July 2007 08:58
To: delphigames@yahoogroups.com
Subject: Re: [DelphiGames] Including music (mp3, ogg) in games
Take a look at FMOD (http://www.fmod.org/ <http://www.fmod.org/> ). It
is free to use for
freeware and is very easy to get things working. There are even Delphi
interfaces with it.
--
Sly
ai_no_kareshi wrote:
> Hi. I am new to the world of DirectX, and have only been experimenting
> with a nifty component set I downloaded somewhere which vastly
> simplifies tasks with DirectDraw, sprites and such. However, I intend
> to venture deeper into this field soon.
>
> One vital thing that has occurred to me is that the components I use
> do not allow mp3 or ogg playback. Every game needs background music,
> and as such, I was hoping to learn how to play mp3 and/or ogg files
> through DirectX. Most of the guides online are demonstrated in C,
> which I know nothing about. Could someone please help me?
>
>
This message and its attachments may contain legally privileged or
confidential information. This message is intended for the use of the
individual or entity to which it is addressed. If you are not the
addressee indicated in this message, or the employee or agent
responsible for delivering the message to the intended recipient, you
may not copy or deliver this message or its attachments to anyone.
Rather, you should permanently delete this message and its attachments
and kindly notify the sender by reply e-mail. Any content of this
message and its attachments, which does not relate to the official
business of the sending company must be taken not to have been sent or
endorsed by the sending company or any of its related entities. No
warranty is made that the e-mail or attachment(s) are free from computer
virus or other defect.
This email is intended solely for the person to whom it is addressed and may
contain confidential or legally privileged information. If you are not the
intended recipient, be advised that you have received this email in error and
that any use, dissemination, forwarding, printing or copying of this email is
strictly prohibited. Please notify the author by replying to this email and
destroying all copies of the email and attachments. Access to this email by
anyone else is unauthorised.
Email may be susceptible to data corruption, interception, unauthorised
amendment, viruses and delays or the consequences thereof. Any views or opinions
presented are solely those of the author and do not necessarily represent those
of Grosvenor Technology Ltd.
Grosvenor Technology Ltd. (incorp. Newmark Technology Ltd.) is a company
registered in England with company number 2412554.
The Grosvenor Technology Ltd. Registered Office address is Millars Three,
Southmill Road, Bishop's Stortford, Herts, CM23
[Non-text portions of this message have been removed]