22#include "cuttlefish/host/commands/virtual_tuner_daemon/VirtualTuner.pb.h"
25namespace virtualtuner {
28 RadioBand
band = RadioBand::FM;
38 void SetTune(RadioBand
band, uint32_t frequency_hz, uint32_t hd_subchannel);
Definition: tuner_state.h:34
TunerStateSnapshot GetSnapshot() const
Definition: tuner_state.cpp:42
void SetTune(RadioBand band, uint32_t frequency_hz, uint32_t hd_subchannel)
Definition: tuner_state.cpp:27
bool IsPlaying() const
Definition: tuner_state.cpp:62
uint32_t GetSubchannel() const
Definition: tuner_state.cpp:57
TunerStateSnapshot state_
Definition: tuner_state.h:49
uint32_t GetFrequency() const
Definition: tuner_state.cpp:47
void Stop()
Definition: tuner_state.cpp:36
RadioBand GetBand() const
Definition: tuner_state.cpp:52
std::mutex mutex_
Definition: tuner_state.h:48
Definition: alloc_driver.h:20
__u8 band
Definition: nl80211.h:0
Definition: tuner_state.h:27
RadioBand band
Definition: tuner_state.h:28
uint32_t hd_subchannel
Definition: tuner_state.h:30
bool is_playing
Definition: tuner_state.h:31
uint32_t frequency_hz
Definition: tuner_state.h:29