message: Updated audio_classifier_demo to account for recent changes
diff: @@ -34,7 +34,7 @@ namespace task {
  namespace audio {
  tflite::support::StatusOr<AudioBuffer> LoadAudioBufferFromFile(
  - const std::string& wav_file, int buffer_size, int offset,
  + const std::string& wav_file, uint32_t* buffer_size, uint32_t* offset,
  std::vector<float>* wav_data) {
  std::string contents = ReadFile(wav_file);
  @@ -45,8 +45,8 @@ tflite::support::StatusOr<AudioBuffer> LoadAudioBufferFromFile(
  contents, wav_data, offset, &decoded_sample_count, &decoded_channel_count,
  &decoded_sample_rate));
  - if (decoded_sample_count > buffer_size) {
  - decoded_sample_count = buffer_size;
  + if (decoded_sample_count > *buffer_size) {
  + decoded_sample_count = *buffer_size;
  }
  return AudioBuffer(
  @@ -71,12 +71,11 @@ tflite::support::StatusOr<ClassificationResult> Classify(
  // `wav_data` holds data loaded from the file and needs to outlive `buffer`.
  std::vector<float> wav_data;
  - int offset = 0;
  + uint32_t offset = 0;
  + uint32_t buffer_size = classifier->GetRequiredInputBufferSize();
  ASSIGN_OR_RETURN(
  AudioBuffer buffer,
  - LoadAudioBufferFromFile(
  - wav_file, classifier->GetRequiredInputBufferSize(), offset,
  - &wav_data));
  + LoadAudioBufferFromFile(wav_file, &buffer_size, &offset, &wav_data));
  auto start_classify = std::chrono::steady_clock::now();
  ASSIGN_OR_RETURN(ClassificationResult result, classifier->Classify(buffer));
  