![]() |
Multimedia »
Audio and Video »
Audio
Intermediate
Play SoundStudio and Octamed modules in C#By Bert BerrevoetsPlaying Octamed modules in C#. |
C#, .NET, Win2K, WinXP, Win2003, Visual Studio, Dev
|
|
Advanced Search |
|
|
|
||||||||||||||||
I was searching for a way to play Octamed files in C#. What I have done is I made a wrapper class to use the DLL that came with the developer files from RBF software.
To use it, just import the MedPlayer.cs to your project. To compile, you must change your project settings to allow unsafe code blocks.
The medpdll.dll file must be in your executable path. To work in your project, you must write the following:
using SoundStudio;
After the class beginning, write:
private MedPlayer player;
and then in the part which says:
// TODO: Add any constructor code after InitializeComponent call
write:
player = new MedPlayer(this);
After this, you can use it like:
player.Load(filename);
| You must Sign In to use this message board. | ||||||||||||||||||||||
|
||||||||||||||||||||||
|
||||||||||||||||||||||
|
||||||||||||||||||||||
|
||||||||||||||||||||||
General
News
Question
Answer
Joke
Rant
Admin
|
PermaLink |
Privacy |
Terms of Use
Last Updated: 25 Oct 2003 Editor: Smitha Vijayan |
Copyright 2003 by Bert Berrevoets Everything else Copyright © CodeProject, 1999-2009 Web17 | Advertise on the Code Project |