MCPcopy Create free account
hub / github.com/OpenShot/libopenshot / ResampleAudio

Method ResampleAudio

src/FFmpegWriter.cpp:2372–2375  ·  view source on GitHub ↗

Set audio resample options

Source from the content-addressed store, hash-verified

2370
2371// Set audio resample options
2372void FFmpegWriter::ResampleAudio(int sample_rate, int channels) {
2373 original_sample_rate = sample_rate;
2374 original_channels = channels;
2375}
2376
2377// In FFmpegWriter.cpp
2378void FFmpegWriter::AddSphericalMetadata(const std::string& projection, float yaw_deg, float pitch_deg, float roll_deg) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected