MCPcopy Create free account
hub / github.com/HertzDevil/0CC-FamiTracker / COutputWaveStream

Method COutputWaveStream

Source/WaveStream.cpp:41–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39
40
41COutputWaveStream::COutputWaveStream(std::shared_ptr<CSimpleFile> file, const CWaveFileFormat &fmt) :
42 file_(std::move(file)), fmt_(fmt), start_pos_(file_->GetPosition())
43{
44 Assert(fmt.Format == CWaveFileFormat::format_code::pcm || fmt.Format == CWaveFileFormat::format_code::ieee_float);
45}
46
47COutputWaveStream::~COutputWaveStream() noexcept {
48 while (sample_count_ % fmt_.Channels)

Callers

nothing calls this directly

Calls 1

GetPositionMethod · 0.80

Tested by

no test coverage detected