Adopt absl::string_view in modules/audio_mixer/
Bug: webrtc:13579 Change-Id: I40db95dcbd8e7bc7423144cf9066414d9f62fd2c Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/271283 Commit-Queue: Ali Tofigh <alito@webrtc.org> Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org> Cr-Commit-Position: refs/heads/main@{#37792}
This commit is contained in:

committed by
WebRTC LUCI CQ

parent
7cbd8dee7b
commit
f37b0016c5
@ -46,7 +46,7 @@ namespace test {
|
||||
|
||||
class FilePlayingSource : public AudioMixer::Source {
|
||||
public:
|
||||
explicit FilePlayingSource(std::string filename)
|
||||
explicit FilePlayingSource(absl::string_view filename)
|
||||
: wav_reader_(new WavReader(filename)),
|
||||
sample_rate_hz_(wav_reader_->sample_rate()),
|
||||
samples_per_channel_(sample_rate_hz_ / 100),
|
||||
|
Reference in New Issue
Block a user