#include <tuner_audio_source.h>
|
| | TunerAudioSource (const std::string &pcm_socket_path, uint8_t channels) |
| |
| | ~TunerAudioSource () override=default |
| |
| | TunerAudioSource (const TunerAudioSource &)=delete |
| |
| TunerAudioSource & | operator= (const TunerAudioSource &)=delete |
| |
| int | GetMoreAudioData (void *data, int bytes_per_sample, int samples_per_channel, int num_channels, int sample_rate, bool &muted) override |
| |
| void | Reset () override |
| |
| virtual int | GetMoreAudioData (void *data, int bytes_per_sample, int samples_per_channel, int num_channels, int sample_rate, bool &muted)=0 |
| |
| virtual void | Reset () |
| |
◆ TunerAudioSource() [1/2]
| cuttlefish::TunerAudioSource::TunerAudioSource |
( |
const std::string & |
pcm_socket_path, |
|
|
uint8_t |
channels |
|
) |
| |
◆ ~TunerAudioSource()
| cuttlefish::TunerAudioSource::~TunerAudioSource |
( |
| ) |
|
|
overridedefault |
◆ TunerAudioSource() [2/2]
◆ DrainSocket()
| void cuttlefish::TunerAudioSource::DrainSocket |
( |
| ) |
|
|
private |
◆ GetMoreAudioData()
| int cuttlefish::TunerAudioSource::GetMoreAudioData |
( |
void * |
data, |
|
|
int |
bytes_per_sample, |
|
|
int |
samples_per_channel, |
|
|
int |
num_channels, |
|
|
int |
sample_rate, |
|
|
bool & |
muted |
|
) |
| |
|
overridevirtual |
◆ LogStats()
| void cuttlefish::TunerAudioSource::LogStats |
( |
| ) |
const |
|
private |
◆ operator=()
◆ Reset()
| void cuttlefish::TunerAudioSource::Reset |
( |
| ) |
|
|
overridevirtual |
◆ TrimFifo()
| void cuttlefish::TunerAudioSource::TrimFifo |
( |
| ) |
|
|
private |
◆ channels_
| const int cuttlefish::TunerAudioSource::channels_ |
|
private |
◆ fd_
| SharedFD cuttlefish::TunerAudioSource::fd_ |
|
private |
◆ fifo_
| std::vector<uint8_t> cuttlefish::TunerAudioSource::fifo_ |
|
private |
◆ frame_bytes_
| const size_t cuttlefish::TunerAudioSource::frame_bytes_ |
|
private |
◆ max_fifo_bytes_
| const size_t cuttlefish::TunerAudioSource::max_fifo_bytes_ |
|
private |
◆ overflow_count_
| uint64_t cuttlefish::TunerAudioSource::overflow_count_ = 0 |
|
private |
◆ prime_bytes_
| const size_t cuttlefish::TunerAudioSource::prime_bytes_ |
|
private |
◆ primed_
| bool cuttlefish::TunerAudioSource::primed_ = false |
|
private |
◆ reset_requested_
| std::atomic<bool> cuttlefish::TunerAudioSource::reset_requested_ {false} |
|
private |
◆ underrun_count_
| uint64_t cuttlefish::TunerAudioSource::underrun_count_ = 0 |
|
private |
The documentation for this class was generated from the following files: