123456789101112131415161718192021222324252627282930313233343536 |
- #ifndef TEST_FUZZERS_AUDIO_DECODER_FUZZER_H_
- #define TEST_FUZZERS_AUDIO_DECODER_FUZZER_H_
- #include <stddef.h>
- #include <stdint.h>
- namespace webrtc {
- class AudioDecoder;
- enum class DecoderFunctionType {
- kNormalDecode,
- kRedundantDecode,
- };
- void FuzzAudioDecoder(DecoderFunctionType decode_type,
- const uint8_t* data,
- size_t size,
- AudioDecoder* decoder,
- int sample_rate_hz,
- size_t max_decoded_bytes,
- int16_t* decoded);
- }
- #endif
|