Hello.I have used DirectX.AudioPlayback in my application to play MP3 Files But I have a problem.How I know when the playback is finished, because I need to start the next melody.
I have tried to use audio.ending() event, but I don't see any result.
the code is the following:
.... // backmusic is the name for audio
InitializeComponent();
this.backmusic.Ending += new EventHandler(backmusic_Ending);
....
private void backmusic_Ending(object sender, EventHandler e)
{
MessageBox.Show("The playback is completed1!!!");
}
thanks

How to use DirectX.AudioVideoPlayback????
sluggy
Zero_
TheViewMaster
imed-deborah
The only .net AV work I have done has been with DirectShow using http://DirectShowNet.SourceForge.net.
I tried looking up some documentation in DirectX.AudioVideoPlayback, but wasn't able to find anything.
Not much of an answer, I'm afraid.
BrianMcCashin
Check out the DxPlay sample at http://DirectShowNet.SourceForge.Net. It is c# and uses the IMediaEvent event method he describes.