Internal change

PiperOrigin-RevId: 522787446
This commit is contained in:
MediaPipe Team 2023-04-08 02:58:18 -07:00 committed by Copybara-Service
parent 7b067a1fda
commit 4f77504af6

View File

@ -138,7 +138,7 @@ absl::StatusOr<std::vector<AudioEmbedderResult>> AudioEmbedder::Embed(
absl::Status AudioEmbedder::EmbedAsync(Matrix audio_block, absl::Status AudioEmbedder::EmbedAsync(Matrix audio_block,
double audio_sample_rate, double audio_sample_rate,
int64 timestamp_ms) { int64_t timestamp_ms) {
MP_RETURN_IF_ERROR(CheckOrSetSampleRate(kSampleRateName, audio_sample_rate)); MP_RETURN_IF_ERROR(CheckOrSetSampleRate(kSampleRateName, audio_sample_rate));
return SendAudioStreamData( return SendAudioStreamData(
{{kAudioStreamName, {{kAudioStreamName,