webrtc/resources
Sam Zackrisson 3bd444ffdb Clarify and extend test support for certain sample rates in audio processing
Sample rates not divisible by 100, in particular 11025 Hz and 22050 Hz, have long been used with APM in Chrome, but the support has never been stated explicitly.

This CL makes minor modifications to the APM API to clarify how rates are handled when 10 ms is not an integer number of samples. Unit tests are also extended to cover this case better.

This does not update all references to 10 ms and implicit floor(sample_rate/100) computations, but it does at least take us closer to a correct API.

Note that not all code needs to support these sample rates. For example, audio processing submodules only need to operate on the native APM rates 16000, 32000, 48000.

Bug: chromium:1332484
Change-Id: I1dad15468f6ccb9c0d4d09c5819fe87f8388d5b8
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/268769
Reviewed-by: Henrik Andreassson <henrika@webrtc.org>
Commit-Queue: Sam Zackrisson <saza@webrtc.org>
Reviewed-by: Ivo Creusen <ivoc@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#37682}
2022-08-03 14:26:36 +00:00
..
audio_coding iSAC API wrapper unit test fix 2020-02-27 14:27:23 +00:00
audio_device
audio_processing AEC3: Changing the default for the use_conservative_tail_frequency_response flag. 2021-12-21 17:35:26 +00:00
images
media
network_tester
remote_bitrate_estimator
rtp_rtcp
utility
video_coding
video_engine
voice_engine
.gitignore Fix gitignore pattern to never exclude sha1 files 2018-08-03 12:45:45 +00:00
att-downlink.rx.sha1
att-uplink.rx.sha1
ConferenceMotion_1280_720_50.yuv.sha1
deflicker_before_cif_short.yuv.sha1
difficult_photo_1850_1110.yuv.sha1
e2e_audio_in.pcm.sha1
far8_stereo.pcm.sha1
far16_stereo.pcm.sha1
far22_stereo.pcm.sha1 Clarify and extend test support for certain sample rates in audio processing 2022-08-03 14:26:36 +00:00
far32_stereo.pcm.sha1
far44_stereo.pcm.sha1
far48_stereo.pcm.sha1
far88_stereo.pcm.sha1 Clarify and extend test support for certain sample rates in audio processing 2022-08-03 14:26:36 +00:00
far96_stereo.pcm.sha1 Clarify and extend test support for certain sample rates in audio processing 2022-08-03 14:26:36 +00:00
far176_stereo.pcm.sha1 Clarify and extend test support for certain sample rates in audio processing 2022-08-03 14:26:36 +00:00
far192_stereo.pcm.sha1 Clarify and extend test support for certain sample rates in audio processing 2022-08-03 14:26:36 +00:00
foreman_128x96.yuv.sha1
foreman_160x120.yuv.sha1
foreman_176x144.yuv.sha1
foreman_240x136.yuv.sha1 Add MediaCodec VP tests for uncommon resolutions. 2018-04-25 11:31:13 +00:00
foreman_320x240.yuv.sha1
foreman_480x272.yuv.sha1 Add MediaCodec VP tests for uncommon resolutions. 2018-04-25 11:31:13 +00:00
foreman_cif.yuv.sha1
foreman_cif_short.yuv.sha1
foremanColorEnhanced_cif_short.yuv.sha1
FourPeople_1280x720_30.yuv.sha1 Adding FourPeople_1280x720_30.yuv. 2018-02-12 15:55:00 +00:00
google-wifi-3mbps.rx.sha1
near8_stereo.pcm.sha1
near16_stereo.pcm.sha1
near22_stereo.pcm.sha1 Clarify and extend test support for certain sample rates in audio processing 2022-08-03 14:26:36 +00:00
near32_stereo.pcm.sha1
near44_stereo.pcm.sha1
near48_stereo.pcm.sha1
near88_stereo.pcm.sha1 Clarify and extend test support for certain sample rates in audio processing 2022-08-03 14:26:36 +00:00
near96_stereo.pcm.sha1 Clarify and extend test support for certain sample rates in audio processing 2022-08-03 14:26:36 +00:00
near176_stereo.pcm.sha1 Clarify and extend test support for certain sample rates in audio processing 2022-08-03 14:26:36 +00:00
near192_stereo.pcm.sha1 Clarify and extend test support for certain sample rates in audio processing 2022-08-03 14:26:36 +00:00
OWNERS
paris_qcif.yuv.sha1
pc_quality_smoke_test_alice_source.wav.sha1 Add support for creation of AEC dump during the test with PC framework. 2019-04-12 13:09:12 +00:00
pc_quality_smoke_test_bob_source.wav.sha1 Add support for creation of AEC dump during the test with PC framework. 2019-04-12 13:09:12 +00:00
photo_1850_1110.yuv.sha1
presentation_1850_1110.yuv.sha1
ref03.aecdump.sha1
reference_less_video_test_file.y4m.sha1
reference_video_640x360_30fps.y4m.sha1
short_mixed_mono_48.dat.sha1
short_mixed_mono_48.pcm.sha1
short_mixed_mono_48_arm.dat.sha1
short_mixed_stereo_48.dat.sha1
short_mixed_stereo_48.pcm.sha1
web_screenshot_1850_1110.yuv.sha1