🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.multimedia
7 messages
7 total messages Started by Lapo Guidi Thu, 03 Nov 2005 23:44
Play MP3 using Windows waveOut intrface
#92
Author: Lapo Guidi
Date: Thu, 03 Nov 2005 23:44
10 lines
1167 bytes
Hi all,
I'm trying to play an MP3 using the Windows waveOut interface.
I have no idea how to do that, but I have a code that can play a wave file 
using buffers.
I would do the same but for MP3 files instead of WAV files.
Anybody can help me?

Thanks

Lapo 
Re: Play MP3 using Windows waveOut intrface
#93
Author: DILIP K
Date: Fri, 04 Nov 2005 18:34
7 lines
1191 bytes
hello lapo,

  bcb is giving the mediaplayer component which helps playing even mp3 files...
    so y u want to have the errr... windows waveout interface(sorry i am not familiar with any such interfaces..)
     'tried the mediaplayer it's working fine.(if there is anything wrong i appologize 4 that -- am a novice bcb user)
    
Re: Play MP3 using Windows waveOut intrface
#96
Author: Lapo Guidi
Date: Sat, 05 Nov 2005 00:56
9 lines
1253 bytes
Thanks for your answer.
The problem is that I need to play each mp3 chunk separately and I think 
using TMediaPlayer this is not possible because it does all inside.
I read many tutorials on the net about waveOuy interface, but all for raw or 
wav file.

Thanks again.

Lapo 
Re: Play MP3 using Windows waveOut intrface
#95
Author: Jonathan Benedicto
Date: Sat, 05 Nov 2005 01:01
16 lines
1642 bytes
Lapo Guidi wrote:
> I'm trying to play an MP3 using the Windows waveOut interface.
> I have no idea how to do that, but I have a code that can play a wave
> file using buffers.
> I would do the same but for MP3 files instead of WAV files.
> Anybody can help me?

Playing back a MP3 is not so easy to do. You'll need to use the Audio 
Compression Manager (ACM) as well as waveOut. This also requires the MP3 
codec to be installed, but I think that WMP installs that.

Basically you'll need to create a AM stream that converts the MP3 audio to 
PCM audio, and then you feed that into waveOut. Look up ACM and waveOut, 
you should be able to find something.

Jonathan
Re: Play MP3 using Windows waveOut intrface
#97
Author: Lapo Guidi
Date: Sun, 06 Nov 2005 00:27
1 lines
1047 bytes
Thank you Jonathan, I'll try to follow this way. 
Re: Play MP3 using Windows waveOut intrface
#98
Author: Stefano Bonifazi
Date: Sun, 06 Nov 2005 11:38
22 lines
1815 bytes
Hi Lapo,
 I can read them very easily by using a component I wrote based on 
DirectShow technology, it can read wma, wav as well and any other format you 
have a directshow filter installed for.
You can email me for further questions, I'm sorry but my studies does not 
allow me to check my dear forum so often as I would like:(
Regards,
Stefano B.

"Lapo Guidi" <lapoguidi@inwind.it> ha scritto nel messaggio 
news:436aa0da@newsgroups.borland.com...
> Hi all,
> I'm trying to play an MP3 using the Windows waveOut interface.
> I have no idea how to do that, but I have a code that can play a wave file 
> using buffers.
> I would do the same but for MP3 files instead of WAV files.
> Anybody can help me?
>
> Thanks
>
> Lapo
> 
Re: Play MP3 using Windows waveOut intrface
#100
Author: Lapo Guidi
Date: Sun, 06 Nov 2005 16:59
3 lines
1036 bytes
Thanks Stefano, I'll do that for sure.

Lapo 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads