mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-03 06:18:28 +01:00
add new voice commands
This commit is contained in:
@@ -234,10 +234,10 @@ namespace MediaBrowser.Common.Implementations.IO
|
||||
{
|
||||
if (_supportsAsyncFileStreams && isAsync)
|
||||
{
|
||||
return new FileStream(path, mode, access, share, 4096, true);
|
||||
return new FileStream(path, mode, access, share, StreamDefaults.DefaultFileStreamBufferSize, true);
|
||||
}
|
||||
|
||||
return new FileStream(path, mode, access, share);
|
||||
return new FileStream(path, mode, access, share, StreamDefaults.DefaultFileStreamBufferSize);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -61,7 +61,7 @@ namespace MediaBrowser.Common.Implementations.Serialization
|
||||
|
||||
private Stream OpenFile(string path)
|
||||
{
|
||||
return new FileStream(path, FileMode.Open, FileAccess.Read, FileShare.Read);
|
||||
return new FileStream(path, FileMode.Open, FileAccess.Read, FileShare.Read, 131072);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user