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

Function faad_decoder_new

src/decoder/plugins/FaadDecoderPlugin.cxx:214–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212}
213
214static NeAACDecHandle
215faad_decoder_new()
216{
217 auto decoder = NeAACDecOpen();
218
219 NeAACDecConfigurationPtr config =
220 NeAACDecGetCurrentConfiguration(decoder);
221 config->outputFormat = FAAD_FMT_16BIT;
222 config->downMatrix = 1;
223 config->dontUpSampleImplicitSBR = 0;
224 NeAACDecSetConfiguration(decoder, config);
225
226 return decoder;
227}
228
229/**
230 * Wrapper for NeAACDecInit() which works around some API

Callers 2

faad_get_file_timeFunction · 0.85
faad_stream_decodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected