Re: Media Player - Hosting vs Console
- From: "Alessandro Angeli" <nobody@xxxxxxxxxxxxxxxxxx>
- Date: Fri, 27 Mar 2009 21:17:02 +0100
From: "Yarej"
Howdy. I'm pretty new to Media Player SDK; so far so
good. I need to have a player integrated into an API that
is not externally visible, at the same time provides
functionality to play wma/wav/mp3. So, which approach
should be selected? Host or console based? It is
essential that the player is not visible. I tried to get
If you do not need the player GUI, than it would be much
better for you to use DirectShow directly (which is what WMP
uses inside).
http://msdn.microsoft.com/en-us/library/dd389098(VS.85).aspx
Does the "GetMessage" have to run in the same thread? as
in which m_spWMPControls->play() is invoked? This pretty
much hangs there.
I guess I need to read more about windows programming.
Any source of info recommended?
The docs do not explain at all that you need to dispatch
messages, let alone on which thread. I'd dispatch messages
on the thread that creates the player object and/or the
thread that invokes play().
--
// Alessandro Angeli
// MVP :: DirectShow / MediaFoundation
// mvpnews at riseoftheants dot com
// http://www.riseoftheants.com/mmx/faq.htm
.
- Follow-Ups:
- Re: Media Player - Hosting vs Console
- From: Yarej
- Re: Media Player - Hosting vs Console
- From: Yarej
- Re: Media Player - Hosting vs Console
- References:
- Media Player - Hosting vs Console
- From: Yarej
- Media Player - Hosting vs Console
- Prev by Date: Media Player - Hosting vs Console
- Next by Date: WMP buffer size and playback start
- Previous by thread: Media Player - Hosting vs Console
- Next by thread: Re: Media Player - Hosting vs Console
- Index(es):
Relevant Pages
|