Skip to content

Commit e08dca5

Browse files
authored
Merge pull request #4 from tinyMLx/camera_examples
add fix to audio_provider
2 parents ab715ef + 4013430 commit e08dca5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/multi_tenant/arduino_audio_provider.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ volatile int32_t g_latest_audio_timestamp = 0;
5353

5454
void CaptureSamples() {
5555
// This is how many bytes of new data we have each time this is called
56-
const int number_of_samples = DEFAULT_PDM_BUFFER_SIZE;
56+
const int number_of_samples = DEFAULT_PDM_BUFFER_SIZE/2;
5757
// Calculate what timestamp the last audio sample represents
5858
const int32_t time_in_ms =
5959
g_latest_audio_timestamp +

0 commit comments

Comments
 (0)