Re: windows media player ocx control doesnt play midi files even though the media player plays it.why?
- From: "Damon Barry [MSFT]" <Damon.Barry@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 21 Sep 2006 10:00:52 -0700
The DirectShow documentation for CE 5.0 is at:
http://msdn.microsoft.com/library/en-us/wcemultimedia5/html/_wce50oriDirectShow.asp?frame=true
....and more specifically there's documentation about writing DirectShow
filters at:
http://msdn.microsoft.com/library/en-us/wcemultimedia5/html/wce50conWritingDirectShowFilters.asp?frame=true
I don't know what sample filters are available with Windows Mobile, but with
CE 5.0 there are a few, including
public\directx\sdk\samples\dshow\Filters\dump, which you could use as a
starting point. But I'm guessing that a MIDI filter will not be an easy
undertaking. I'm sure there are 3rd-party filters out there although I
don't know names.
Damon
--
This posting is provided "AS IS" with no warranties, and confers no rights.
"bhushan" <mailtovb@xxxxxxxxx> wrote in message
news:1158815356.669978.178550@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
So you mean to say that i may have to write my own dshow midi
filter?And even if i write it then how will ocx pick up my filter and
play midi?Can u send me any pointers on how to write a dshow filter and
register it with wmp ocx so that ocx can play midi??Or is there any
third party dshow filter that goes well along with wmp ocx which i can
register with wmp ocx and play midi?
-Bhushan.
Damon Barry [MSFT] wrote:
You may have the goal of using just the OCX for all formats, but I don't
think WMP 10 Mobile had that goal. I'm pretty sure they're using DShow
for
some formats and proprietary pipelines for other formats. Furthermore, I
don't think MIDI is officially supported on Windows Mobile 5--the fact
that
you're successfully playing a particular MIDI file on a particular device
may be a stroke of good luck, nothing more.
If you want to use the OCX for MIDI playback then you'll need to create
or
license a DirectShow MIDI filter.
--Damon
--
This posting is provided "AS IS" with no warranties, and confers no
rights.
"bhushan" <mailtovb@xxxxxxxxx> wrote in message
news:1158727034.774034.160850@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
But arent WMP and WMP ocx using the same set of filters?be it dshow or
someother one..Suppose i use waveapi then will i be able to play mp3
files?I will try playing midi with waveapi and tell the result..But i
would like to use something generic that will play mp3,midi and wav.
The point is be it mp3,wav or midi i would like to use wmp entirely or
waveapi entirely.
-bhushan.
Damon Barry [MSFT] wrote:
I don't think WMP on Windows Mobile uses the OCX for MIDI playback.
If
they
have a DShow filter for MIDI then you'd think the OCX would pick it up
and
use it, but they may be creating a different pipeline altogether for
MIDI.
This isn't an area I know a lot about though.
Can you play the MIDI file through the WAVEAPI?
--
This posting is provided "AS IS" with no warranties, and confers no
rights.
"bhushan" <mailtovb@xxxxxxxxx> wrote in message
news:1158650007.557802.126620@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
I am experimenting on an application that plays midi,mp3 files. And
i
am using windows media player ocx control for this purpose. My ocx
control plays mp3 files and wma files but not midi files. So i tried
to
play the midi file using windows media player and it was able to
play
it well. I use media player 10 in windows mobile 5. The code snippet
is..
CComptr<IWMPPlayer> m_spWMPplayer;
..creating a instance of windows media player and after that i say
HRESULT hr = m_spWMPplayer->put_url(filename);
i get s_false when i play midi files but i get s_ok when i play mp3
files or wma files...The device that i use is a qtek9100 ppc which
plays midi in windows media player..
Any pointers in this regard will be appreciated.
Bhushan.
.
- Follow-Ups:
- References:
- windows media player ocx control doesnt play midi files even though the media player plays it.why?
- From: bhushan
- Re: windows media player ocx control doesnt play midi files even though the media player plays it.why?
- From: Damon Barry [MSFT]
- Re: windows media player ocx control doesnt play midi files even though the media player plays it.why?
- From: bhushan
- Re: windows media player ocx control doesnt play midi files even though the media player plays it.why?
- From: Damon Barry [MSFT]
- Re: windows media player ocx control doesnt play midi files even though the media player plays it.why?
- From: bhushan
- windows media player ocx control doesnt play midi files even though the media player plays it.why?
- Prev by Date: Re: Which funciton could be used to query if the right soft key (menu bar) pop up?
- Next by Date: L2TP/IPsec
- Previous by thread: Re: windows media player ocx control doesnt play midi files even though the media player plays it.why?
- Next by thread: Re: windows media player ocx control doesnt play midi files even though the media player plays it.why?
- Index(es):
Relevant Pages
|