mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-17 02:57:35 -05:00
Co-authored-by: Dennis Sheirer <dsheirer@github.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* *****************************************************************************
|
||||
* Copyright (C) 2014-2022 Dennis Sheirer
|
||||
* Copyright (C) 2014-2023 Dennis Sheirer
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@@ -149,6 +149,20 @@ public abstract class Tuner implements ISourceEventProcessor, ITunerErrorListene
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Process tuner removal error from tuner controller and propagate to an external listener.
|
||||
*/
|
||||
@Override
|
||||
public void tunerRemoved()
|
||||
{
|
||||
stop();
|
||||
|
||||
if(mTunerErrorListener != null)
|
||||
{
|
||||
mTunerErrorListener.tunerRemoved();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the channel source manager
|
||||
* @param manager to use
|
||||
|
||||
Reference in New Issue
Block a user