mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 03:02:35 +01:00
Merge pull request #1402 from jdpurcell/patch11
Possible fix for WAV loading issue
This commit is contained in:
commit
ed6b4fcc92
@ -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