remove mutable in audio_cache

pull/1687/head
Yang Zhou 3 years ago
parent 664cc9ca63
commit 4311552c36

@ -54,7 +54,7 @@ class AudioCache : public FrontendInterface {
size_t size_; // samples in ring_buffer_ now size_t size_; // samples in ring_buffer_ now
size_t capacity_; // capacity of ring_buffer_ size_t capacity_; // capacity of ring_buffer_
bool finished_; // reach audio end bool finished_; // reach audio end
mutable std::mutex mutex_; std::mutex mutex_;
std::condition_variable ready_feed_condition_; std::condition_variable ready_feed_condition_;
kaldi::int32 timeout_; // millisecond kaldi::int32 timeout_; // millisecond
bool convert2PCM32_; bool convert2PCM32_;

Loading…
Cancel
Save