This project has moved and is read-only. For the latest updates, please go here.

How to handle this Issue

Aug 5, 2013 at 6:49 AM
Edited Aug 5, 2013 at 6:53 AM
In Mp3FileReader.cs class:

public Mp3FileReader(string mp3FileName)
        : this(File.OpenRead(mp3FileName))//given below the error
        ownInputStream = true;

here the issue:
The process cannot access the file 'E:\sudip_media player project work\my media player project work\media player 30_07_2013\Media Player\NAudioDemo\bin\Debug\Current Song\TumHo.mp3' because it is being used by another process.!
Aug 5, 2013 at 5:06 PM
some other process is accessing your MP3 file. You could try to open a stream with less restrictive share permissions and pass that stream into the Mp3FileReader constructor.