aleloi | 8c51282 | 2017-06-20 05:26:55 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. |
| 3 | * |
| 4 | * Use of this source code is governed by a BSD-style license |
| 5 | * that can be found in the LICENSE file in the root of the source |
| 6 | * tree. An additional intellectual property rights grant can be found |
| 7 | * in the file PATENTS. All contributing project authors may |
| 8 | * be found in the AUTHORS file in the root of the source tree. |
| 9 | */ |
| 10 | |
Alex Loiko | ab20a60 | 2018-01-16 12:50:34 +0100 | [diff] [blame] | 11 | #ifndef TEST_FUZZERS_AUDIO_PROCESSING_FUZZER_HELPER_H_ |
| 12 | #define TEST_FUZZERS_AUDIO_PROCESSING_FUZZER_HELPER_H_ |
aleloi | 8c51282 | 2017-06-20 05:26:55 -0700 | [diff] [blame] | 13 | |
| 14 | #include <memory> |
| 15 | |
Mirko Bonadei | 92ea95e | 2017-09-15 06:47:31 +0200 | [diff] [blame] | 16 | #include "modules/audio_processing/include/audio_processing.h" |
Alex Loiko | ab20a60 | 2018-01-16 12:50:34 +0100 | [diff] [blame] | 17 | #include "test/fuzzers/fuzz_data_helper.h" |
aleloi | 8c51282 | 2017-06-20 05:26:55 -0700 | [diff] [blame] | 18 | namespace webrtc { |
| 19 | |
Alex Loiko | ab20a60 | 2018-01-16 12:50:34 +0100 | [diff] [blame] | 20 | void FuzzAudioProcessing(test::FuzzDataHelper* fuzz_data, |
aleloi | 8c51282 | 2017-06-20 05:26:55 -0700 | [diff] [blame] | 21 | std::unique_ptr<AudioProcessing> apm); |
Alex Loiko | ab20a60 | 2018-01-16 12:50:34 +0100 | [diff] [blame] | 22 | |
aleloi | 8c51282 | 2017-06-20 05:26:55 -0700 | [diff] [blame] | 23 | } // namespace webrtc |
| 24 | |
Alex Loiko | ab20a60 | 2018-01-16 12:50:34 +0100 | [diff] [blame] | 25 | #endif // TEST_FUZZERS_AUDIO_PROCESSING_FUZZER_HELPER_H_ |