docs,libobs: Remove master volume functions

Never implemented, deprecated in 29.0.
This commit is contained in:
derrod 2024-08-21 09:29:04 +02:00 • committed by Ryan Foster
commit b7553b5883
3 changed files with 0 additions and 34 deletions

View file

@ -508,24 +508,6 @@ Video, Audio, and Graphics
---------------------
.. function:: void obs_set_master_volume(float volume)
No-op, only exists to keep ABI compatibility.
.. deprecated:: 29.0
---------------------
.. function:: float obs_get_master_volume(void)
No-op, only exists to keep ABI compatibility.
:return: Always returns 1
.. deprecated:: 29.0
---------------------
.. function:: bool obs_audio_monitoring_available(void)
:return: Whether audio monitoring is supported and available on the current platform

View file

@ -2229,16 +2229,6 @@ gs_texture_t *obs_get_main_texture(void)
return video->render_texture;
}
void obs_set_master_volume(float volume)
{
UNUSED_PARAMETER(volume);
}
float obs_get_master_volume(void)
{
return 1.f;
}
static obs_source_t *obs_load_source_type(obs_data_t *source_data,
bool is_private)
{

View file

@ -762,12 +762,6 @@ EXPORT void obs_render_main_texture_src_color_only(void);
* is unavailable. */
EXPORT gs_texture_t *obs_get_main_texture(void);
/** Sets the master user volume */
OBS_DEPRECATED EXPORT void obs_set_master_volume(float volume);
/** Gets the master user volume */
OBS_DEPRECATED EXPORT float obs_get_master_volume(void);
/** Saves a source to settings data */
EXPORT obs_data_t *obs_save_source(obs_source_t *source);