| Index: webrtc/modules/utility/include/file_player.h
|
| diff --git a/webrtc/modules/utility/include/file_player.h b/webrtc/modules/utility/include/file_player.h
|
| index b98e0966749b646ca9ba59121a809a9bd30f46e4..2797a3d9183ba62de8ac8cd3c64a05ce1a993f83 100644
|
| --- a/webrtc/modules/utility/include/file_player.h
|
| +++ b/webrtc/modules/utility/include/file_player.h
|
| @@ -29,10 +29,17 @@ class FilePlayer {
|
| enum { MAX_AUDIO_BUFFER_IN_BYTES = MAX_AUDIO_BUFFER_IN_SAMPLES * 2 };
|
|
|
| // Note: will return NULL for unsupported formats.
|
| - static std::unique_ptr<FilePlayer> NewFilePlayer(
|
| + static std::unique_ptr<FilePlayer> CreateFilePlayer(
|
| const uint32_t instanceID,
|
| const FileFormats fileFormat);
|
|
|
| + // Deprecated. Call CreateFilePlayer instead.
|
| + static std::unique_ptr<FilePlayer> NewFilePlayer(
|
| + const uint32_t instanceID,
|
| + const FileFormats fileFormat) {
|
| + return CreateFilePlayer(instanceID, fileFormat);
|
| + }
|
| +
|
| virtual ~FilePlayer() = default;
|
|
|
| // Read 10 ms of audio at |frequencyInHz| to |outBuffer|. |lengthInSamples|
|
|
|