mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 11:12:36 +01:00
Open WAV even if another program has it locked for writing (experimental fix).
This commit is contained in:
parent
35317579ed
commit
41a8c83683
@ -345,7 +345,7 @@ namespace Nikse.SubtitleEdit.Core
|
||||
/// </summary>
|
||||
/// <param name="fileName">Wave file name</param>
|
||||
public WavePeakGenerator(string fileName)
|
||||
: this(File.OpenRead(fileName))
|
||||
: this(new FileStream(fileName, FileMode.Open, FileAccess.Read, FileShare.ReadWrite))
|
||||
{
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user