output/Source: add `inline`
This commit is contained in:
parent
415cf096e9
commit
a7a61e9e41
|
@ -74,7 +74,7 @@ AudioOutputSource::Cancel() noexcept
|
||||||
filter->Reset();
|
filter->Reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
inline void
|
||||||
AudioOutputSource::OpenFilter(AudioFormat audio_format,
|
AudioOutputSource::OpenFilter(AudioFormat audio_format,
|
||||||
PreparedFilter *prepared_replay_gain_filter,
|
PreparedFilter *prepared_replay_gain_filter,
|
||||||
PreparedFilter *prepared_other_replay_gain_filter,
|
PreparedFilter *prepared_other_replay_gain_filter,
|
||||||
|
@ -144,7 +144,7 @@ AudioOutputSource::GetChunkData(const MusicChunk &chunk,
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::span<const std::byte>
|
inline std::span<const std::byte>
|
||||||
AudioOutputSource::FilterChunk(const MusicChunk &chunk)
|
AudioOutputSource::FilterChunk(const MusicChunk &chunk)
|
||||||
{
|
{
|
||||||
auto data = GetChunkData(chunk, replay_gain_filter.get(),
|
auto data = GetChunkData(chunk, replay_gain_filter.get(),
|
||||||
|
|
Loading…
Reference in New Issue