MCPcopy Create free account
hub / github.com/MusicPlayerDaemon/MPD / CheckAudioFormat

Function CheckAudioFormat

src/decoder/plugins/SndfileDecoderPlugin.cxx:151–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149}
150
151static AudioFormat
152CheckAudioFormat(const SF_INFO &info)
153{
154 return CheckAudioFormat(info.samplerate,
155 sndfile_sample_format(info),
156 info.channels);
157}
158
159static sf_count_t
160sndfile_read_frames(SNDFILE *sf, SampleFormat format,

Callers 15

dsdiff_stream_decodeFunction · 0.70
OpenMethod · 0.70
sndfile_stream_decodeFunction · 0.70
sndfile_scan_streamFunction · 0.70
GetAudioFormatFunction · 0.70
dsf_stream_decodeFunction · 0.70
CheckAudioFormatMethod · 0.70
SubmitInitMethod · 0.70
vorbis_scan_streamFunction · 0.70
gme_file_decodeFunction · 0.70
faad_decoder_initFunction · 0.70
FfmpegDecodeFunction · 0.70

Calls 1

sndfile_sample_formatFunction · 0.85

Tested by

no test coverage detected