Check AVCodec.supported_samplerates and AVCodec.channel_layouts in