Skip to content

Instantly share code, notes, and snippets.

@JanX2
Last active August 22, 2017 13:50
Show Gist options
  • Save JanX2/7450f91229c51dfb2b115fcebf3abdc6 to your computer and use it in GitHub Desktop.
Save JanX2/7450f91229c51dfb2b115fcebf3abdc6 to your computer and use it in GitHub Desktop.

Getting the webrtc code: https://webrtc.org/native-code/development/

Then:

cd webrtc-checkout/src/

Extracted using this Perl 5 tool (after installing its dependencies): https://github.com/JanX2/git-extract-files

Using the following command:

git-extract-files --branch "webrtc-VAD" --keep-committer *absolute paths*

OR

git-extract-files --branch "webrtc-VAD" --keep-committer --list-file "/path/to/list-file.txt"

And then pull the “webrtc-VAD” branch into a new repo as the master branch.

The absolute paths are those for these files relative to the webrtc checkout git root (webrtc-checkout/src/ above):

./LICENSE
./PATENTS
./webrtc/common_audio/signal_processing/complex_bit_reverse.c
./webrtc/common_audio/signal_processing/complex_fft_tables.h
./webrtc/common_audio/signal_processing/complex_fft.c
./webrtc/common_audio/signal_processing/cross_correlation.c
./webrtc/common_audio/signal_processing/division_operations.c
./webrtc/common_audio/signal_processing/dot_product_with_scale.h
./webrtc/common_audio/signal_processing/downsample_fast.c
./webrtc/common_audio/signal_processing/energy.c
./webrtc/common_audio/signal_processing/get_scaling_square.c
./webrtc/common_audio/signal_processing/include/real_fft.h
./webrtc/common_audio/signal_processing/include/signal_processing_library.h
./webrtc/common_audio/signal_processing/include/spl_inl.h
./webrtc/common_audio/signal_processing/min_max_operations.c
./webrtc/common_audio/signal_processing/real_fft.c
./webrtc/common_audio/signal_processing/resample_48khz.c
./webrtc/common_audio/signal_processing/resample_by_2_internal.c
./webrtc/common_audio/signal_processing/resample_by_2_internal.h
./webrtc/common_audio/signal_processing/resample_fractional.c
./webrtc/common_audio/signal_processing/spl_init.c
./webrtc/common_audio/signal_processing/vector_scaling_operations.c
./webrtc/common_audio/vad/include/webrtc_vad.h
./webrtc/common_audio/vad/vad_core.c
./webrtc/common_audio/vad/vad_core.h
./webrtc/common_audio/vad/vad_filterbank.c
./webrtc/common_audio/vad/vad_filterbank.h
./webrtc/common_audio/vad/vad_gmm.c
./webrtc/common_audio/vad/vad_gmm.h
./webrtc/common_audio/vad/vad_sp.c
./webrtc/common_audio/vad/vad_sp.h
./webrtc/common_audio/vad/webrtc_vad.c
./webrtc/rtc_base/basictypes.h
./webrtc/rtc_base/checks.cc
./webrtc/rtc_base/checks.h
./webrtc/rtc_base/compile_assert_c.h
./webrtc/rtc_base/constructormagic.h
./webrtc/rtc_base/ignore_wundef.h
./webrtc/rtc_base/logging.h
./webrtc/rtc_base/safe_compare.h
./webrtc/rtc_base/sanitizer.h
./webrtc/rtc_base/thread_annotations.h
./webrtc/rtc_base/type_traits.h
./webrtc/system_wrappers/include/cpu_features_wrapper.h
./webrtc/typedefs.h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment