extern int vorbis_encode_ctl(vorbis_info *vi,int number,void *arg);
- /* deprecated rate management supported only for compatability */
-#define OV_ECTL_RATEMANAGE_GET 0x10
-#define OV_ECTL_RATEMANAGE_SET 0x11
-#define OV_ECTL_RATEMANAGE_AVG 0x12
-#define OV_ECTL_RATEMANAGE_HARD 0x13
-
struct ovectl_ratemanage_arg {
int management_active;
double bitrate_av_window_center;
};
-
- /* new rate setup */
-#define OV_ECTL_RATEMANAGE2_GET 0x14
-#define OV_ECTL_RATEMANAGE2_SET 0x15
-
struct ovectl_ratemanage2_arg {
int management_active;
};
+ /* new rate setup */
+#define OV_ECTL_RATEMANAGE2_GET 0x14
+#define OV_ECTL_RATEMANAGE2_SET 0x15
#define OV_ECTL_LOWPASS_GET 0x20
#define OV_ECTL_LOWPASS_SET 0x21
#define OV_ECTL_IBLOCK_GET 0x30
#define OV_ECTL_IBLOCK_SET 0x31
+ /* deprecated rate management supported only for compatability */
+#define OV_ECTL_RATEMANAGE_GET 0x10
+#define OV_ECTL_RATEMANAGE_SET 0x11
+#define OV_ECTL_RATEMANAGE_AVG 0x12
+#define OV_ECTL_RATEMANAGE_HARD 0x13
+
#ifdef __cplusplus
}
#endif /* __cplusplus */