summaryrefslogtreecommitdiff
path: root/kaldi_io
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2015-08-31 16:14:50 +0800
committerDeterminant <[email protected]>2015-08-31 16:14:50 +0800
commit7acd14eca701deaffb2d16262528da37ee23263a (patch)
tree5c6d8e777530a415f9e65fb2f9e110ebffae45f2 /kaldi_io
parent9e1a0931be43ea80fe7d41154007839b637d4e08 (diff)
use repo->utt to ease reading key while calling get_data
Diffstat (limited to 'kaldi_io')
-rw-r--r--kaldi_io/src/cwrapper_kaldi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kaldi_io/src/cwrapper_kaldi.cpp b/kaldi_io/src/cwrapper_kaldi.cpp
index c19908b..d16f316 100644
--- a/kaldi_io/src/cwrapper_kaldi.cpp
+++ b/kaldi_io/src/cwrapper_kaldi.cpp
@@ -64,7 +64,7 @@ extern "C" {
}
const char *kaldi_feature_repo_key(KaldiFeatureRepo *repo) {
- return repo->feature_reader->Key().c_str();
+ return repo->utt.c_str();
}
void kaldi_feature_repo_destroy(KaldiFeatureRepo *repo) {