Merge pull request #1687 from SmileGoat/fix_dev

[speechx]remove mutable in audio_cache
pull/1690/head
Hui Zhang 3 years ago committed by GitHub
commit 86c6e1952c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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