Apollo  6.0
Open source self driving car software
Public Member Functions | List of all members
apollo::drivers::microphone::Stream Class Reference

#include <respeaker.h>

Collaboration diagram for apollo::drivers::microphone::Stream:
Collaboration graph

Public Member Functions

 Stream ()
 
 ~Stream ()
 
void init_stream (int rate, int channels, int chunk, int input_device_index, PaSampleFormat format)
 
void read_stream (int n_frames, char *buffer) const
 

Constructor & Destructor Documentation

◆ Stream()

apollo::drivers::microphone::Stream::Stream ( )
inline

◆ ~Stream()

apollo::drivers::microphone::Stream::~Stream ( )

Member Function Documentation

◆ init_stream()

void apollo::drivers::microphone::Stream::init_stream ( int  rate,
int  channels,
int  chunk,
int  input_device_index,
PaSampleFormat  format 
)

◆ read_stream()

void apollo::drivers::microphone::Stream::read_stream ( int  n_frames,
char *  buffer 
) const

The documentation for this class was generated from the following file: