FilePlayer: Remove unused default values for arguments
The functions in question were virtual, so we would've wanted to get rid of the default values even if callers had relied on them. Review-Url: https://codereview.webrtc.org/2045943004 Cr-Commit-Position: refs/heads/master@{#13800}
This commit is contained in:
parent
4a42900540
commit
d22854bf7d
@ -57,16 +57,16 @@ class FilePlayer {
|
||||
uint32_t startPosition,
|
||||
float volumeScaling,
|
||||
uint32_t notification,
|
||||
uint32_t stopPosition = 0,
|
||||
const CodecInst* codecInst = NULL) = 0;
|
||||
uint32_t stopPosition,
|
||||
const CodecInst* codecInst) = 0;
|
||||
|
||||
// Note: codecInst is used for pre-encoded files.
|
||||
virtual int32_t StartPlayingFile(InStream& sourceStream,
|
||||
uint32_t startPosition,
|
||||
float volumeScaling,
|
||||
uint32_t notification,
|
||||
uint32_t stopPosition = 0,
|
||||
const CodecInst* codecInst = NULL) = 0;
|
||||
uint32_t stopPosition,
|
||||
const CodecInst* codecInst) = 0;
|
||||
|
||||
virtual int32_t StopPlayingFile() = 0;
|
||||
|
||||
|
||||
@ -38,14 +38,14 @@ class FilePlayerImpl : public FilePlayer {
|
||||
uint32_t startPosition,
|
||||
float volumeScaling,
|
||||
uint32_t notification,
|
||||
uint32_t stopPosition = 0,
|
||||
const CodecInst* codecInst = NULL);
|
||||
uint32_t stopPosition,
|
||||
const CodecInst* codecInst);
|
||||
virtual int32_t StartPlayingFile(InStream& sourceStream,
|
||||
uint32_t startPosition,
|
||||
float volumeScaling,
|
||||
uint32_t notification,
|
||||
uint32_t stopPosition = 0,
|
||||
const CodecInst* codecInst = NULL);
|
||||
uint32_t stopPosition,
|
||||
const CodecInst* codecInst);
|
||||
virtual int32_t StopPlayingFile();
|
||||
virtual bool IsPlayingFile() const;
|
||||
virtual int32_t GetPlayoutPosition(uint32_t& durationMs);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user