|
@@ -1385,6 +1385,9 @@ EXPORT uint32_t obs_encoder_get_width(const obs_encoder_t *encoder);
|
|
|
/** For video encoders, returns the height of the encoded image */
|
|
/** For video encoders, returns the height of the encoded image */
|
|
|
EXPORT uint32_t obs_encoder_get_height(const obs_encoder_t *encoder);
|
|
EXPORT uint32_t obs_encoder_get_height(const obs_encoder_t *encoder);
|
|
|
|
|
|
|
|
|
|
+/** For audio encoders, returns the sample rate of the audio */
|
|
|
|
|
+EXPORT uint32_t obs_encoder_get_sample_rate(const obs_encoder_t *encoder);
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
* Sets the preferred video format for a video encoder. If the encoder can use
|
|
* Sets the preferred video format for a video encoder. If the encoder can use
|
|
|
* the format specified, it will force a conversion to that format if the
|
|
* the format specified, it will force a conversion to that format if the
|