[vlc-commits] [Git][videolan/vlc][master] input_resource: don't expose aout functions

Hugo Beauzée-Luyssen (@chouquette) gitlab at videolan.org
Fri Mar 25 17:41:40 UTC 2022



Hugo Beauzée-Luyssen pushed to branch master at VideoLAN / VLC


Commits:
6909e42f by Thomas Guillem at 2022-03-25T16:32:43+00:00
input_resource: don't expose aout functions

Not used anymore, modules go through the player to get the aout.

- - - - -


3 changed files:

- include/vlc_decoder.h
- src/input/resource.h
- src/libvlccore.sym


Changes:

=====================================
include/vlc_decoder.h
=====================================
@@ -60,21 +60,5 @@ VLC_API input_resource_t * input_resource_New( vlc_object_t * ) VLC_USED;
  */
 VLC_API void input_resource_Release( input_resource_t * );
 
-/**
- * \return the current audio output if any.
- * Use aout_Release() to drop the reference.
- */
-VLC_API audio_output_t *input_resource_HoldAout( input_resource_t * );
-
-/**
- * This function creates or recycles an audio output.
- */
-VLC_API audio_output_t *input_resource_GetAout( input_resource_t * );
-
-/**
- * This function retains or destroys an audio output.
- */
-VLC_API void input_resource_PutAout( input_resource_t *, audio_output_t * );
-
 /** @} */
 #endif


=====================================
src/input/resource.h
=====================================
@@ -39,6 +39,22 @@ enum input_resource_vout_state
  */
 void input_resource_SetInput( input_resource_t *, input_thread_t * );
 
+/**
+ * \return the current audio output if any.
+ * Use aout_Release() to drop the reference.
+ */
+audio_output_t *input_resource_HoldAout( input_resource_t * );
+
+/**
+ * This function creates or recycles an audio output.
+ */
+audio_output_t *input_resource_GetAout( input_resource_t * );
+
+/**
+ * This function retains or destroys an audio output.
+ */
+void input_resource_PutAout( input_resource_t *, audio_output_t * );
+
 /**
  * This function handles sout request.
  */


=====================================
src/libvlccore.sym
=====================================
@@ -223,9 +223,6 @@ input_item_parser_id_Interrupt
 input_item_parser_id_Release
 input_resource_New
 input_resource_Release
-input_resource_GetAout
-input_resource_HoldAout
-input_resource_PutAout
 vlc_readdir_helper_init
 vlc_readdir_helper_finish
 vlc_readdir_helper_additem



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/6909e42f67dea275c05eecdfe543e3d587b3857a

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/6909e42f67dea275c05eecdfe543e3d587b3857a
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list