webrtc/modules/audio_coding/neteq/tools
Danil Chapovalov 39fcc21366 Replace ArrayView with std::span in modules/
ArrayView is an alias to std::span. This change switch to use
std::span directly instead of through the alias.

Search&Replace MakeArrayView and ArrayView with std::span
Search&Replace include "api/array_view.h" with include <span>
Remove <span> include where std::span is not mentioned in the file
Remove build dependencies on array_view target

Bug: webrtc:439801349
Change-Id: I55a4978c265a0b8b6e873db93bbbf2241bd3e066
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/460800
Commit-Queue: Evan Shrubsole <eshr@webrtc.org>
Auto-Submit: Danil Chapovalov <danilchap@webrtc.org>
Reviewed-by: Evan Shrubsole <eshr@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#47285}
2026-03-27 06:47:58 -07:00
..
audio_checksum.h Replace ArrayView with std::span in modules/ 2026-03-27 06:47:58 -07:00
audio_loop.cc Replace ArrayView with std::span in modules/ 2026-03-27 06:47:58 -07:00
audio_loop.h Replace ArrayView with std::span in modules/ 2026-03-27 06:47:58 -07:00
audio_sink.cc IWYU modules/audio_coding 2025-05-08 05:10:13 -07:00
audio_sink.h IWYU modules/audio_coding 2025-05-08 05:10:13 -07:00
constant_pcm_packet_source.cc Replace webrtc::test::Packet with RtpPacketReceived 2025-07-17 02:56:45 -07:00
constant_pcm_packet_source.h Replace webrtc::test::Packet with RtpPacketReceived 2025-07-17 02:56:45 -07:00
DEPS
encode_neteq_input.cc Replace NextHeader with NextPacket in NetEqInput interface 2025-08-13 09:00:56 -07:00
encode_neteq_input.h Replace ArrayView with std::span in modules/ 2026-03-27 06:47:58 -07:00
fake_decode_from_file.cc Replace ArrayView with std::span in modules/ 2026-03-27 06:47:58 -07:00
fake_decode_from_file.h Replace ArrayView with std::span in modules/ 2026-03-27 06:47:58 -07:00
initial_packet_inserter_neteq_input.cc Replace NextHeader with NextPacket in NetEqInput interface 2025-08-13 09:00:56 -07:00
initial_packet_inserter_neteq_input.h Replace NextHeader with NextPacket in NetEqInput interface 2025-08-13 09:00:56 -07:00
input_audio_file_unittest.cc IWYU modules/audio_coding 2025-05-08 05:10:13 -07:00
input_audio_file.cc IWYU modules/audio_coding 2025-05-08 05:10:13 -07:00
input_audio_file.h IWYU modules/audio_coding 2025-05-08 05:10:13 -07:00
neteq_delay_analyzer.cc Replace test packet NetEqInput::PacketData with RtpPacketReceived 2025-08-12 03:54:47 -07:00
neteq_delay_analyzer.h Replace test packet NetEqInput::PacketData with RtpPacketReceived 2025-08-12 03:54:47 -07:00
neteq_event_log_input.cc Replace ArrayView with std::span in modules/ 2026-03-27 06:47:58 -07:00
neteq_event_log_input.h IWYU modules/audio_coding 2025-05-08 05:10:13 -07:00
neteq_input.cc Replace NextHeader with NextPacket in NetEqInput interface 2025-08-13 09:00:56 -07:00
neteq_input.h Replace NextHeader with NextPacket in NetEqInput interface 2025-08-13 09:00:56 -07:00
neteq_performance_test.cc [cleanup] Fix redundant webrtc name specifier 2025-05-09 06:57:44 -07:00
neteq_performance_test.h
neteq_quality_test.cc Replace ArrayView with std::span in modules/ 2026-03-27 06:47:58 -07:00
neteq_quality_test.h IWYU modules/audio_coding 2025-05-08 05:10:13 -07:00
neteq_replacement_input.cc Replace NextHeader with NextPacket in NetEqInput interface 2025-08-13 09:00:56 -07:00
neteq_replacement_input.h Replace NextHeader with NextPacket in NetEqInput interface 2025-08-13 09:00:56 -07:00
neteq_rtp_dump_input.cc Replace NextHeader with NextPacket in NetEqInput interface 2025-08-13 09:00:56 -07:00
neteq_rtp_dump_input.h IWYU modules/audio_coding 2025-05-08 05:10:13 -07:00
neteq_rtpplay_test.sh
neteq_rtpplay.cc clang-tidy: apply readability-container-size-empty rule 2025-08-07 14:38:41 -07:00
neteq_stats_getter.cc IWYU modules/audio_coding 2025-05-08 05:10:13 -07:00
neteq_stats_getter.h IWYU modules/audio_coding 2025-05-08 05:10:13 -07:00
neteq_stats_plotter.cc IWYU modules/audio_coding 2025-06-24 14:55:50 -07:00
neteq_stats_plotter.h IWYU modules/audio_coding 2025-05-08 05:10:13 -07:00
neteq_test_factory.cc Pass field trials as FieldTrialView* to NetEqTest 2026-02-18 12:05:55 -08:00
neteq_test_factory.h Support opus red in neteq_rtpplay 2025-01-08 11:19:46 -08:00
neteq_test.cc Replace ArrayView with std::span in modules/ 2026-03-27 06:47:58 -07:00
neteq_test.h Pass field trials as FieldTrialView* to NetEqTest 2026-02-18 12:05:55 -08:00
output_audio_file.h Run tools_webrtc/apply-clang-tidy on the repo 2026-01-09 10:26:41 -08:00
output_wav_file.h IWYU modules/audio_coding 2025-05-08 05:10:13 -07:00
packet_source.cc IWYU modules/audio_coding 2025-05-08 05:10:13 -07:00
packet_source.h Replace webrtc::test::Packet with RtpPacketReceived 2025-07-17 02:56:45 -07:00
README.md
resample_input_audio_file.cc IWYU modules/audio_coding 2025-05-08 05:10:13 -07:00
resample_input_audio_file.h IWYU modules/audio_coding 2025-05-08 05:10:13 -07:00
rtp_analyze.cc Apply clang-tidy readability-redundant-smartptr-get 2025-07-31 01:37:54 -07:00
rtp_encode.cc Make Opus encoder configurations friendly to move-only types 2026-01-08 08:45:17 -08:00
rtp_file_source.cc Fix RtpFileSource when reading full RTP packets 2025-08-12 00:07:12 -07:00
rtp_file_source.h Replace webrtc::test::Packet with RtpPacketReceived 2025-07-17 02:56:45 -07:00
rtp_generator.cc IWYU modules/audio_coding 2025-05-08 05:10:13 -07:00
rtp_generator.h IWYU modules/audio_coding 2025-05-08 05:10:13 -07:00
rtp_jitter.cc Replace ArrayView with std::span in modules/ 2026-03-27 06:47:58 -07:00
rtpcat.cc IWYU modules/audio_coding 2025-06-24 14:55:50 -07:00

NetEQ RTP Play tool

Testing of the command line arguments

The command line tool neteq_rtpplay can be tested by running neteq_rtpplay_test.sh, which is not use on try bots, but it can be used before submitting any CLs that may break the behavior of the command line arguments of neteq_rtpplay.

Run neteq_rtpplay_test.sh as follows from the src/ folder:

src$ ./modules/audio_coding/neteq/tools/neteq_rtpplay_test.sh  \
  out/Default/neteq_rtpplay  \
  resources/audio_coding/neteq_opus.rtp  \
  resources/short_mixed_mono_48.pcm

You can replace the RTP and PCM files with any other compatible files. If you get an error using the files indicated above, try running gclient sync.

Requirements: awk and md5sum.