Skip to content

Commit

Permalink
lib: change libvlc_AudioStereoMode_Error enum value
Browse files Browse the repository at this point in the history
It didn't correspond to any VLC Core values.
  • Loading branch information
tguillem authored and jbkempf committed Dec 10, 2022
1 parent 9d23e5b commit 7363091
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/vlc/libvlc_media_player.h
Original file line number Diff line number Diff line change
Expand Up @@ -2220,7 +2220,7 @@ LIBVLC_API void libvlc_video_set_adjust_float( libvlc_media_player_t *p_mi,
* Audio stereo modes
*/
typedef enum libvlc_audio_output_stereomode_t {
libvlc_AudioStereoMode_Error = -1,
libvlc_AudioStereoMode_Unset = 0,
libvlc_AudioStereoMode_Stereo = 1,
libvlc_AudioStereoMode_RStereo = 2,
libvlc_AudioStereoMode_Left = 3,
Expand Down
2 changes: 1 addition & 1 deletion lib/audio.c
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ libvlc_audio_output_stereomode_t libvlc_audio_get_stereomode( libvlc_media_playe
{
audio_output_t *p_aout = GetAOut( mp );
if( !p_aout )
return 0;
return libvlc_AudioStereoMode_Unset;

int val = var_GetInteger( p_aout, "stereo-mode" );
aout_Release(p_aout);
Expand Down

0 comments on commit 7363091

Please sign in to comment.