From 7acd14eca701deaffb2d16262528da37ee23263a Mon Sep 17 00:00:00 2001 From: Determinant Date: Mon, 31 Aug 2015 16:14:50 +0800 Subject: use repo->utt to ease reading key while calling get_data --- kaldi_io/src/cwrapper_kaldi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kaldi_io') 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) { -- cgit v1.2.3-70-g09d2