Commit 105150a4 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* Sometimes we get audio now, but the dating of the to be retrieved buffers needs serious work.....

parent bcfd2760
...@@ -596,14 +596,13 @@ msg_Dbg( p_aout, "inNumberFrames: %d", inNumberFrames); ...@@ -596,14 +596,13 @@ msg_Dbg( p_aout, "inNumberFrames: %d", inNumberFrames);
p_sys->clock_diff += mdate(); p_sys->clock_diff += mdate();
current_date = (mtime_t) p_sys->clock_diff + mdate() + current_date = (mtime_t) p_sys->clock_diff + mdate();
(mtime_t) ( 1000000 * 1 );
p_aout->output.i_nb_samples = inNumberFrames; p_aout->output.i_nb_samples = inNumberFrames;
msg_Dbg( p_aout, "start audio packet BADABOEM"); msg_Dbg( p_aout, "start audio packet BADABOEM");
#define B_SPDI (p_aout->output.output.i_format == VLC_FOURCC('s','p','d','i')) #define B_SPDI (p_aout->output.output.i_format == VLC_FOURCC('s','p','d','i'))
p_buffer = aout_OutputNextBuffer( p_aout, mdate() + (mtime_t) ( 1000000 * 1 ), VLC_FALSE ); p_buffer = aout_OutputNextBuffer( p_aout, mdate(), VLC_FALSE );
#undef B_SPDI #undef B_SPDI
......
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