pcm/Export: use the "channels" attribute in GetFrameSize()
This commit is contained in:
parent
bf574dcb0a
commit
53faf77d20
@ -119,7 +119,7 @@ PcmExport::GetFrameSize(const AudioFormat &audio_format) const noexcept
|
||||
{
|
||||
if (pack24)
|
||||
/* packed 24 bit samples (3 bytes per sample) */
|
||||
return audio_format.channels * 3;
|
||||
return channels * 3;
|
||||
|
||||
#ifdef ENABLE_DSD
|
||||
switch (dsd_mode) {
|
||||
|
Loading…
Reference in New Issue
Block a user