Commit b87e0b07 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

OSS: blind compilation fix

parent 73d483e1
...@@ -125,7 +125,7 @@ static int Start (audio_output_t *aout, audio_sample_format_t *restrict fmt) ...@@ -125,7 +125,7 @@ static int Start (audio_output_t *aout, audio_sample_format_t *restrict fmt)
format = AFMT_S32_LE; format = AFMT_S32_LE;
break; break;
case VLC_CODEC_S16N: case VLC_CODEC_S16N:
format = AFMT_S16; format = AFMT_S16_NE;
break; break;
case VLC_CODEC_U8: case VLC_CODEC_U8:
format = AFMT_U8; format = AFMT_U8;
...@@ -152,7 +152,7 @@ static int Start (audio_output_t *aout, audio_sample_format_t *restrict fmt) ...@@ -152,7 +152,7 @@ static int Start (audio_output_t *aout, audio_sample_format_t *restrict fmt)
switch (format) switch (format)
{ {
case AFMT_U8: fmt->i_format = VLC_CODEC_U8; break; case AFMT_U8: fmt->i_format = VLC_CODEC_U8; break;
case AFMT_S16: fmt->i_format = VLC_CODEC_S16N; break; case AFMT_S16_NE: fmt->i_format = VLC_CODEC_S16N; break;
//case AFMT_S24_BE: //case AFMT_S24_BE:
//case AFMT_S24_LE: //case AFMT_S24_LE:
case AFMT_S32_BE: fmt->i_format = VLC_CODEC_S32B; break; case AFMT_S32_BE: fmt->i_format = VLC_CODEC_S32B; break;
......
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