aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/LiveTv/ITunerHostManager.cs
diff options
context:
space:
mode:
authorPatrick Barron <barronpm@gmail.com>2024-01-12 20:56:58 -0500
committerPatrick Barron <barronpm@gmail.com>2024-01-15 09:37:03 -0500
commitc23a038ba8f275e061c148ea27e458174a9a7cbe (patch)
tree8db096437439fbc2fce03a139e0cffc97a6cf732 /MediaBrowser.Controller/LiveTv/ITunerHostManager.cs
parent9c2c066e6f62fb713d5bad0fcf5a0b3dcf58e6e1 (diff)
Remove unnecessary allocations in TunerHostManager
Diffstat (limited to 'MediaBrowser.Controller/LiveTv/ITunerHostManager.cs')
-rw-r--r--MediaBrowser.Controller/LiveTv/ITunerHostManager.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/MediaBrowser.Controller/LiveTv/ITunerHostManager.cs b/MediaBrowser.Controller/LiveTv/ITunerHostManager.cs
index 7e4caaf13..3df6066f6 100644
--- a/MediaBrowser.Controller/LiveTv/ITunerHostManager.cs
+++ b/MediaBrowser.Controller/LiveTv/ITunerHostManager.cs
@@ -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.