Commit 71da61e0 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove write-only aout_output_t.i_volume

parent 164c18c9
...@@ -201,10 +201,6 @@ typedef struct aout_output_t ...@@ -201,10 +201,6 @@ typedef struct aout_output_t
int (* pf_volume_set )( aout_instance_t *, audio_volume_t, bool ); int (* pf_volume_set )( aout_instance_t *, audio_volume_t, bool );
int i_nb_samples; int i_nb_samples;
/* Current volume for the output - it's just a placeholder, the plug-in
* may or may not use it. */
audio_volume_t i_volume;
/* If b_error == 1, there is no audio output pipeline. */ /* If b_error == 1, there is no audio output pipeline. */
bool b_error; bool b_error;
} aout_output_t; } aout_output_t;
......
...@@ -244,7 +244,6 @@ static int aout_VolumeSoftSet (aout_instance_t *aout, audio_volume_t volume, ...@@ -244,7 +244,6 @@ static int aout_VolumeSoftSet (aout_instance_t *aout, audio_volume_t volume,
{ {
float f = mute ? 0. : (volume / (float)AOUT_VOLUME_DEFAULT); float f = mute ? 0. : (volume / (float)AOUT_VOLUME_DEFAULT);
aout_MixerMultiplierSet (aout, f); aout_MixerMultiplierSet (aout, f);
aout->output.i_volume = volume;
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment