MP3 (no WMP, no DirectX)

  • Thread starter Thread starter psg
  • Start date Start date
P

psg

Hello!

I am negatively surprized how playing MP3 files in my application can be
such a pain in the ass.

First I tried ActiveX control of Windows Media Player, it worked fine, but:
1. consumed too much memory
2. from time to time was stopping with (ActiveMovie memory) error
(maybe that was because I was playing successively many small files)

Secondly I gave a try to DirectX.AudioVideoPlayback. It worked great, small
memory use, no errors about memory etc.. All right that was it. I handed
compiled application to my beta testers. Soon they informed me they can hear
no sound.
I started investigating the issue. I've found that all of them have DirectX
9.0b installed by now. What I do have is 9.0 and then 9.0b that's why
Microsoft.DirectX.AudioVideoPlayback.dll is still on my comp. On MSDN there
is info that Audio Video Playback library is not supported in 9.0b release.
They suggest "to uninstall this Summer Update and install and use the
DirectX 9.0a". Let me think I would do that, maybe beta testers will do, if
I ask them to do so, but for sure not the final users!

Summing up I don't want to go into low-level and write from the scratch MP3
player library. I wanted just a simple solution to play MP3 files. If you
know some solution for me, taking into consideration problems mentioned
above, pls
help. THX

RGDS PSG
 
psg said:
Summing up I don't want to go into low-level and write from the scratch MP3
player library. I wanted just a simple solution to play MP3 files

OK now I've found QuartzTypeLib.dll. Probably it will work, as I removed
DirectX.AudioVideoPlayback.dll from my comp and it is still working. I don't
know about its licensing, but as my project is not comercial it shouldn't be
a problem.

RGDS PSG
 
hi...
i want to know this file QuartzTypeLib.dll ...has licensing

i am making mediaplayer with this DLL for COMERCIAL...

so could you let me know about its licensing...

help me...

best regards...
 
psg said:
OK now I've found QuartzTypeLib.dll. Probably it will work, as I removed
DirectX.AudioVideoPlayback.dll from my comp and it is still working. I
don't know about its licensing, but as my project is not comercial it
shouldn't be a problem.

Sorr for this monologue, but I am back to where I started. QuartzTypeLib.dll
works similary as Windows Media Player. Memory consumption and exception
that I can not handle "ActiveMovie Window: xxx.exe - Application Error
The reference at .... reference memory at ..... The Memory Could not
be "written""

C# and MP3 this ain't easy? ;(

RGDS PSG
 
DotNetMania said:
i want to know this file QuartzTypeLib.dll ...has licensing
i am making mediaplayer with this DLL for COMERCIAL...

I know nothing.
Probably as you did I just got it from some Csharp developers Web page.

I would not recommend using it, but also can see no other easy solution to
play MP3. After playing like 200 short sounds in 10-15 sec. intervals (30
min.) it always stops with ActiveMovie error. And I can see no way to handle
the exception risen.

RGDS PSG
 
so far i didn't see this error message...

there is nothing to rise an error...

playing for an hour ...

.......^^

regards
 
Back
Top