Click here to Skip to main content
12,627,340 members (35,955 online)
Click here to Skip to main content
Articles » Multimedia » DirectX » General » Downloads

Tagged as

Stats

102.9K views
5K downloads
40 bookmarked
Posted

Interactive 3D Spectrum Analyzer Visualization for Windows Media Player

, 17 May 2009 CPOL
Interactive 3D Spectrum Analyzer for Windows Media Player using DirectX 9 and some light GPGPU.
///////////////////////////////////////////////////////////////////////////////
//  Copyright (c) 2009 Carlo McWhirter. All Rights Reserved.	
//  Copyright (c) 2009 Hyteq Systems. All Rights Reserved.	
//  
//  http://www.hyteq.com
//
//	Hyteq Systems Educational License
//
//  This file is part of WM3DSpectrum, also known as 3D Spectrum Analyzer for
//  Windows Media Player. This file, the project that this file is part of, and
//  the resulting compiled program files are intended to be used for educational
//  purposes only. Use of this file or this project for any non-educational or
//  non-observatory purpose is strictly prohibited without the express written 
//  consent of all of the copyright holders listed above.
//
//  This file may only be modified and later redistributed by one or more of the
//  copyright holders listed above. Suggestions for bug fixes, enhancements,
//  and other modifications must be sent directly to one of the copyright holders.
//  
//  This file may be modified without being redistributed by any recipient of 
//  this file provided the modifications are NOT intentionaly or unintentionaly 
//  directed toward malicious or illegal purposes, but, instead, toward educational
//  purposes only.
//
//	THIS SOFTWARE IS PROVIDED 'AS-IS', WITHOUT ANY EXPRESS OR IMPLIED
//  WARRANTY. IN NO EVENT WILL THE AUTHORS BE HELD LIABLE FOR ANY DAMAGES
//  ARISING FROM THE USE OF THIS SOFTWARE.
//
//  This notice may not be removed from this file or altered in any manner.
//
///////////////////////////////////////////////////////////////////////////////

#pragma once

#include "RendererInterface.h"

// CNonWindowedRenderer renders the visualization when the media player is in a
// non windowed state.
class CNonWindowedRenderer : public IRenderer
{
public:
	CNonWindowedRenderer();
	~CNonWindowedRenderer();

	virtual void Intialize(LPRENDERCONTEXT context);
	virtual void Destroy(LPRENDERCONTEXT context);
	virtual void Render(LPRENDERCONTEXT context);
	virtual bool IsInitialized();
	virtual bool InitializationFailed();
	virtual HRESULT OnWindowMessage(LPRENDERCONTEXT context, UINT msg, WPARAM WParam, LPARAM LParam, LRESULT *plResultParam );
};

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Carlo McWhirter
Software Developer (Senior)
United States United States
I'm a Microsoft Certified Professional (MCP) in C++. I'm fluent in C/C++, C# and many other languages.

You may also be interested in...

Pro
Pro
| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.161205.3 | Last Updated 17 May 2009
Article Copyright 2009 by Carlo McWhirter
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid