output/Source: add `inline`

This commit is contained in:
Max Kellermann 2024-11-08 18:33:49 +01:00
parent 415cf096e9
commit a7a61e9e41
1 changed files with 2 additions and 2 deletions

View File

@ -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(),