Commit de9473a4 authored by moto's avatar moto Committed by Facebook GitHub Bot
Browse files

Move drain method to private (#2996)

Summary: Pull Request resolved: https://github.com/pytorch/audio/pull/2996

Reviewed By: nateanl

Differential Revision: D42624655

Pulled By: mthrok

fbshipit-source-id: 8273cbfa529fbc2bd28adc9c63ceb9453838baa4
parent 6a5efe6c
...@@ -106,11 +106,13 @@ class StreamReader { ...@@ -106,11 +106,13 @@ class StreamReader {
int process_packet(); int process_packet();
int process_packet_block(double timeout, double backoff); int process_packet_block(double timeout, double backoff);
private:
int drain(); int drain();
////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////
// Retrieval // Retrieval
////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////
public:
std::vector<c10::optional<torch::Tensor>> pop_chunks(); std::vector<c10::optional<torch::Tensor>> pop_chunks();
}; };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment