Skip to content

Commit

Permalink
Merge pull request #1687 from SmileGoat/fix_dev
Browse files Browse the repository at this point in the history
[speechx]remove mutable in audio_cache
  • Loading branch information
zh794390558 authored Apr 10, 2022
2 parents d65b63b + 4311552 commit 86c6e19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion speechx/speechx/frontend/audio/audio_cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class AudioCache : public FrontendInterface {
size_t size_; // samples in ring_buffer_ now
size_t capacity_; // capacity of ring_buffer_
bool finished_; // reach audio end
mutable std::mutex mutex_;
std::mutex mutex_;
std::condition_variable ready_feed_condition_;
kaldi::int32 timeout_; // millisecond
bool convert2PCM32_;
Expand Down

0 comments on commit 86c6e19

Please sign in to comment.