[core] Move core ring buffer to helper component (#16298)
This commit is contained in:
1 parent
e152c6155b
commit
08b17c9da1
32 files changed
+214
-174
No files matched your search
@@ -54,7 +54,7 @@ enum HttpStatus {
|
||||
|
||||
AudioReader::~AudioReader() { this->cleanup_connection_(); }
|
||||
|
||||
esp_err_t AudioReader::add_sink(const std::weak_ptr<RingBuffer> &output_ring_buffer) {
|
||||
esp_err_t AudioReader::add_sink(const std::weak_ptr<ring_buffer::RingBuffer> &output_ring_buffer) {
|
||||
if (current_audio_file_ != nullptr) {
|
||||
// A transfer buffer isn't ncessary for a local file
|
||||
this->file_ring_buffer_ = output_ring_buffer.lock();
|
||||
|
||||
Reference in new issue
Block a user