mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 05:40:42 +01:00

Only the ISAC codec had an non-trivial implementation, for its unused adaptive mode. This cl deletes that implementation, and the call from NetEq, and the interface method. Bug: webrtc:10098 Change-Id: Iaf7667e0ae867fc9d64286dff4c01a8ce0b6e2a4 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/153882 Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#29279}
36 lines
1 KiB
C++
36 lines
1 KiB
C++
/*
|
|
* Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by a BSD-style license
|
|
* that can be found in the LICENSE file in the root of the source
|
|
* tree. An additional intellectual property rights grant can be found
|
|
* in the file PATENTS. All contributing project authors may
|
|
* be found in the AUTHORS file in the root of the source tree.
|
|
*/
|
|
|
|
#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);
|
|
|
|
} // namespace webrtc
|
|
|
|
#endif // TEST_FUZZERS_AUDIO_DECODER_FUZZER_H_
|