06-08-2022, 10:00 PM
I have a power antenna on my car. I only want to have the antenna up when I'm using the FM radio. The solution I came up with is to listen for whether the FM radio is playing or not. So when I start the radio I have to press "play" before I tune any channels so that my antenna is up and if I stop the radio I have a delay for a few seconds before removing power antenna just in case I'm just stopping the music for a moment.
Is this the best approach? I don't think there's any message that tells you whether the "radio is in use" or not other than "IsPlaying". And even when you stop the FM Radio plugin you still get messages but none that tell you whether you are trying to tune channels.
Is this the best approach? I don't think there's any message that tells you whether the "radio is in use" or not other than "IsPlaying". And even when you stop the FM Radio plugin you still get messages but none that tell you whether you are trying to tune channels.