MCPcopy Create free account
hub / github.com/bbc/audiowaveform / showInfo

Function showInfo

src/SndFileAudioFileReader.cpp:39–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37//------------------------------------------------------------------------------
38
39static void showInfo(std::ostream& stream, const SF_INFO& info)
40{
41 stream << "Frames: " << info.frames
42 << "\nSample rate: " << info.samplerate << " Hz"
43 << "\nChannels: " << info.channels
44 << "\nFormat: 0x" << std::hex << info.format << std::dec
45 << "\nSections: " << info.sections
46 << "\nSeekable: " << (info.seekable ? "yes" : "no") << '\n';
47}
48
49//------------------------------------------------------------------------------
50

Callers 1

openMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected