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

Constify aout_OutputNew()

parent 4fc3bd15
...@@ -115,7 +115,7 @@ void aout_MixerRun( aout_instance_t * p_aout, float ); ...@@ -115,7 +115,7 @@ void aout_MixerRun( aout_instance_t * p_aout, float );
/* From output.c : */ /* From output.c : */
int aout_OutputNew( aout_instance_t * p_aout, int aout_OutputNew( aout_instance_t * p_aout,
audio_sample_format_t * p_format ); const audio_sample_format_t * p_format );
void aout_OutputPlay( aout_instance_t * p_aout, aout_buffer_t * p_buffer ); void aout_OutputPlay( aout_instance_t * p_aout, aout_buffer_t * p_buffer );
void aout_OutputDelete( aout_instance_t * p_aout ); void aout_OutputDelete( aout_instance_t * p_aout );
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
* This function is entered with the mixer lock. * This function is entered with the mixer lock.
*****************************************************************************/ *****************************************************************************/
int aout_OutputNew( aout_instance_t * p_aout, int aout_OutputNew( aout_instance_t * p_aout,
audio_sample_format_t * p_format ) const audio_sample_format_t * p_format )
{ {
p_aout->output.output = *p_format; p_aout->output.output = *p_format;
......
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