Skip to content

Commit f20db02

Browse files
committed
Fix serious issue with audio when output native format does not match desired format.
1 parent 7d97b93 commit f20db02

File tree

1 file changed

+1
-1
lines changed
  • SerialPrograms/Source/CommonFramework/AudioPipeline/IO

1 file changed

+1
-1
lines changed

SerialPrograms/Source/CommonFramework/AudioPipeline/IO/AudioSink.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ AudioSink::AudioSink(Logger& logger, const AudioDeviceInfo& device, AudioChannel
154154

155155
m_writer = std::make_unique<AudioOutputDevice>(
156156
logger,
157-
native_info, native_format,
157+
native_info, target_format,
158158
sample_format, m_channels * m_multiplier,
159159
volume
160160
);

0 commit comments

Comments
 (0)