AudioResampler.new_

Make a new resampler.

Parameters

method gstaudio.types.AudioResamplerMethod

a #GstAudioResamplerMethod

flags gstaudio.types.AudioResamplerFlags

#GstAudioResamplerFlags

format gstaudio.types.AudioFormat

the #GstAudioFormat

channels int

the number of channels

inRate int

input rate

outRate int

output rate

options gst.structure.Structure

extra options

Return Value

Type: gstaudio.audio_resampler.AudioResampler

The new #GstAudioResampler.