Skip to content

Commit 51c8013

Browse files
committed
Tensorflow Lite
1 parent 50eea00 commit 51c8013

File tree

2 files changed

+177
-183
lines changed

2 files changed

+177
-183
lines changed

examples/sandbox/streams-audiokit-tf/streams-audiokit-tf.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ void setup() {
4343

4444
// Setup tensorflow
4545
auto tcfg = tfl.defaultConfig();
46-
tcfg.kAudioChannels = channels;
47-
tcfg.kAudioSampleFrequency = samples_per_second;
46+
tcfg.channels = channels;
47+
tcfg.sample_rate = samples_per_second;
4848
tcfg.kTensorArenaSize = 10 * 1024;
4949
tcfg.respondToCommand = respondToCommand;
5050
tcfg.model = g_model;

0 commit comments

Comments
 (0)