Quantcast
Channel: naudio Work Item Rss Feed
Viewing all articles
Browse latest Browse all 738

Created Unassigned: issue with Mp3FileReader [16459]

$
0
0
Hi Mark
Thnaks for your greate n audio
i use naudio 1.7 and have problem with Mp3FileReader.
when i use Mp3FileReader and give it path sometimes my program stops on this line and everiting stop
and suddenly it continue.

if (File.Exists(@"mp3 path"))
{
try
{
mp3Reader = new Mp3FileReader(@"mp3 path");
waveOut = new WaveOut();
waveOut.PlaybackStopped += new EventHandler<StoppedEventArgs>(PlaybackStoppedEventHandler);

waveOut.Init(mp3Reader);
waveOut.Play();
}
}

my program must not stops like this.could you please tell where i missed or is wrong?

Regard Mohammad Ehsan Afsari

Viewing all articles
Browse latest Browse all 738

Trending Articles