Remove unnecessary allocations in TunerHostManager

This commit is contained in:
Patrick Barron
2024-01-12 20:56:58 -05:00
parent 9c2c066e6f
commit c23a038ba8
3 changed files with 12 additions and 20 deletions

View File

@@ -34,9 +34,8 @@ public interface ITunerHostManager
/// Discovers the available tuners.
/// </summary>
/// <param name="newDevicesOnly">A value indicating whether to only return new devices.</param>
/// <param name="cancellationToken">The <see cref="CancellationToken"/> to use.</param>
/// <returns>The <see cref="TunerHostInfo"/>s.</returns>
Task<List<TunerHostInfo>> DiscoverTuners(bool newDevicesOnly, CancellationToken cancellationToken);
IAsyncEnumerable<TunerHostInfo> DiscoverTuners(bool newDevicesOnly);
/// <summary>
/// Scans for tuner devices that have changed URLs.