X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Faudio_output%2Fhd1000a.cpp;h=1b736dabc2c5871f82d57bd8cde12cf097f2e4cd;hb=89b6530d8abd99b96b9f33af022022241fe97ee2;hp=a317cdf4cbeb5a9deb62b5ad9967d565a1353f53;hpb=05492281965ed211badf7e1f4c2220be720d3356;p=vlc diff --git a/modules/audio_output/hd1000a.cpp b/modules/audio_output/hd1000a.cpp index a317cdf4cb..1b736dabc2 100644 --- a/modules/audio_output/hd1000a.cpp +++ b/modules/audio_output/hd1000a.cpp @@ -156,7 +156,7 @@ static int Open( vlc_object_t * p_this ) } } - p_aout->output.output.i_format = AOUT_FMT_S16_NE; + p_aout->output.output.i_format = VLC_CODEC_S16N; p_aout->output.i_nb_samples = FRAME_SIZE; p_aout->output.output.i_physical_channels = AOUT_CHAN_LEFT | AOUT_CHAN_RIGHT; @@ -168,7 +168,7 @@ static int Open( vlc_object_t * p_this ) /* Create thread and wait for its readiness. */ if( vlc_thread_create( p_aout, "aout", Thread, - VLC_THREAD_PRIORITY_OUTPUT, false ) ) + VLC_THREAD_PRIORITY_OUTPUT ) ) { msg_Err( p_aout, "cannot create OSS thread (%m)" ); pPlayer->Close();