| 212 | } |
| 213 | |
| 214 | static NeAACDecHandle |
| 215 | faad_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 |
no outgoing calls
no test coverage detected