mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-21 11:40:22 +00:00
Audio sender: don't auto resample to 48000
+ some rework - audio_frame2 has now methods for changing bps and resampling
This commit is contained in:
@@ -539,11 +539,9 @@ static void libavcodec_done(void *state)
|
||||
}
|
||||
|
||||
static audio_codec_t supported_codecs[] = { AC_ALAW, AC_MULAW, AC_SPEEX, AC_OPUS, AC_G722, AC_FLAC, AC_MP3, AC_AAC, AC_NONE };
|
||||
static int supported_bytes_per_second[] = { 1, 2, 3, 4, 0 };
|
||||
|
||||
struct audio_codec libavcodec_audio_codec = {
|
||||
supported_codecs,
|
||||
supported_bytes_per_second,
|
||||
libavcodec_init,
|
||||
libavcodec_compress,
|
||||
libavcodec_decompress,
|
||||
|
||||
Reference in New Issue
Block a user