pcm/Export: eliminate the AudioFormat parameter from GetFrameSize()

This commit is contained in:
Max Kellermann
2019-06-26 15:42:47 +02:00
parent 53faf77d20
commit f43cafbf7d
4 changed files with 5 additions and 5 deletions

View File

@@ -674,7 +674,7 @@ AlsaOutput::Open(AudioFormat &audio_format)
#ifndef NDEBUG
in_frame_size = audio_format.GetFrameSize();
#endif
out_frame_size = pcm_export->GetFrameSize(audio_format);
out_frame_size = pcm_export->GetFrameSize();
drain = false;