output/{Source,Thread}: make the AudioFormat parameter const
This commit is contained in:
parent
3010d182fc
commit
7dea615f74
@ -30,7 +30,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
AudioFormat
|
AudioFormat
|
||||||
AudioOutputSource::Open(AudioFormat audio_format, const MusicPipe &_pipe,
|
AudioOutputSource::Open(const AudioFormat audio_format, const MusicPipe &_pipe,
|
||||||
PreparedFilter *prepared_replay_gain_filter,
|
PreparedFilter *prepared_replay_gain_filter,
|
||||||
PreparedFilter *prepared_other_replay_gain_filter,
|
PreparedFilter *prepared_other_replay_gain_filter,
|
||||||
PreparedFilter *prepared_filter)
|
PreparedFilter *prepared_filter)
|
||||||
|
@ -86,7 +86,7 @@ AudioOutput::CloseFilter() noexcept
|
|||||||
}
|
}
|
||||||
|
|
||||||
inline void
|
inline void
|
||||||
AudioOutput::Open(AudioFormat audio_format, const MusicPipe &pipe)
|
AudioOutput::Open(const AudioFormat audio_format, const MusicPipe &pipe)
|
||||||
{
|
{
|
||||||
assert(audio_format.IsValid());
|
assert(audio_format.IsValid());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user