Solved

Playing Vorbis OGG files?

Posted on 2001-07-09
14
402 Views
Last Modified: 2010-04-06
Vorbis: http://www.vorbis.com/index.psp

How can I play it in Delphi 5.  I looked around a little bit, and found some tgz files to download, but not sure what I should download and where to really start.

I wonder if anyone has already checked them out and made a basic player in Delphi and could help me out.
0
Comment
Question by:perkley
  • 7
  • 2
  • 2
  • +3
14 Comments
 
LVL 11

Expert Comment

by:robert_marquardt
ID: 6268174
Get in contact with "Viorel Dehelean" <kick@mmxent.com>
I know that he worked on an OggVorbis conversion.
0
 

Expert Comment

by:felonious
ID: 6268907
perkley, I would be interested to see any files/components you find :0

felonious
0
 
LVL 6

Expert Comment

by:MannSoft
ID: 6269735
There are two SDK's I have used which both (apparently) support OGG/Vorbis.  

One is Xaudio (http://www.xaudio.com), which I really like.  My MP3 player is based around that.  It doesnt natively support OGG but there is a plugin which can be found at http://www.xavorbis.n3.net/

The other SDK is FMOD.  It supports a whole whack of different formats, one of which being OGG.  It can be found at http://fmod.org

I have used both these SDK's to play MP3 files, and both are excellent at that, but I havent personally used either to play OGG files since I am waiting for the format to be finalized before trying it out.
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

Author Comment

by:perkley
ID: 6270461
MannSoft, I also use XAudio.  I downloaded the plug-in, but I am not sure how to use it.  I also have the latest Vorbis SDK and put all of the .dlls in my project folder with the XAudio.dll.  My player plays .mp3's fine, but it still won't play .OGG files.  What must I do for Xaudio to recognize the OGG plugin?
0
 
LVL 6

Expert Comment

by:MannSoft
ID: 6270617
I honestly dont know.  Like I said I havent used it.  I would imagine you call InputModuleRegister but aside from that I dont know.  But the guy hosting the file said he uses it and can ask him for help, so I would suggest doing that.
0
 

Author Comment

by:perkley
ID: 6270660
I will talk to the guy then.  I have already tried the InputModuleRegister, but nothing seems to be playing still.
0
 

Author Comment

by:perkley
ID: 6286934
The email that is listed on the Xaudio plugin page does not seem to be responding back to me.  I will not accept an answer until someone can tell me how to play Vorbis .ogg files.  Preferrably Xaudio.
0
 
LVL 11

Expert Comment

by:robert_marquardt
ID: 6286950
Did you ask Viorel for help?
0
 

Author Comment

by:perkley
ID: 6287640
Yes I asked Viorel also, and he said that his conversion wasn't that great and that his help wasn't the best.
0
 

Author Comment

by:perkley
ID: 6319489
I need the basic functions to play vorbis .ogg easily.  I tried fmod and it is to much for what I am wanting.  I need a TMediaplayer style component or something that I can just say Vorbis.play, vorbis.stop, vorbis.startpos, endpos, pause, and repeat.

I have raised the points on whoever can help me play .ogg files easily.
0
 

Author Comment

by:perkley
ID: 6330467
Thanks anyway, I guess nothing is out there yet.  Maybe I will have to build my own component.
0
 
LVL 4

Expert Comment

by:Palamedes
ID: 7241211
Did you ever create your own OGG component or know of one yet?

0
 

Author Comment

by:perkley
ID: 7243758
Yes, Matthijs Laan has done some header conversion for Vorbis OGG.

Website:
http://www.delphi-jedi.org/Jedi:APILIBRARY:38689

Download:
ftp://delphi-jedi.org/api/OggVorbis.zip
0
 

Accepted Solution

by:
Jgould earned 0 total points
ID: 7419483
Thanks for sharing that Perkley, i will move this to PAQ and refund your points

JGould-EE Moderator
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question