Adopt absl::string_view in modules/audio_coding/
Bug: webrtc:13579 Change-Id: Ifec66fb6ba9724d18539de7245a358c2d13c7939 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/268547 Reviewed-by: Ivo Creusen <ivoc@webrtc.org> Reviewed-by: Tomas Gunnarsson <tommi@webrtc.org> Commit-Queue: Ali Tofigh <alito@webrtc.org> Cr-Commit-Position: refs/heads/main@{#37573}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
761072f68e
commit
714e3cbb48
@ -16,6 +16,7 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "absl/strings/string_view.h"
|
||||
#include "absl/types/optional.h"
|
||||
#include "api/audio/audio_frame.h"
|
||||
|
||||
@ -27,9 +28,9 @@ class PCMFile {
|
||||
PCMFile(uint32_t timestamp);
|
||||
~PCMFile();
|
||||
|
||||
void Open(const std::string& filename,
|
||||
void Open(absl::string_view filename,
|
||||
uint16_t frequency,
|
||||
const char* mode,
|
||||
absl::string_view mode,
|
||||
bool auto_rewind = false);
|
||||
|
||||
int32_t Read10MsData(AudioFrame& audio_frame);
|
||||
|
||||
Reference in New Issue
Block a user