[vlc-devel] audio output bug report
rafael.carre at gmail.com
Thu Sep 3 16:06:00 CEST 2009
On Thu, 03 Sep 2009 11:32:31 +0200
Sébastien Escudier <sebastien-devel at celeos.eu> wrote:
> Quoting RafaÃ«l CarrÃ© <rafael.carre at gmail.com>:
> > On Thu, 03 Sep 2009 11:15:11 +0200
> > SÃ©bastien Escudier <sebastien-devel at celeos.eu> wrote:
> > Hi, does it crash with other audio output than "dummy" ?
> aout_file does not crash.
I have tried to make the buffer allocation more clear in the latest
commits, and continuing testing with dummy aout I found this:
in src/audio_output/mixer.c MixBuffer(): (// are my comments)
((uint64_t)p_aout->output.i_nb_samples * 1000000)
/* This is a bit kludgy, but is actually only used
* for the S/PDIF dummy mixer : */
//p_output_buffer = p_aout->pp_inputs[i_first_input]->mixer.fifo.p_first
// modules/audio_mixer/spdif.c DoWork()
p_aout->p_mixer->mix( p_aout->p_mixer, p_output_buffer );
// will free all buffers, starting from the first in fifo, so
// p_output_buffer is freed as well
aout_OutputPlay( p_aout, p_output_buffer );
// will free p_output_buffer one more time
I don't quite understand yet the picture of audio outputs and mixers so
I don't know how to fix this.
Not sure what is the aim of "Dummy S/PDIF audio mixer" either, removing
the module gives a segfault (well, now an assertion failure).
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 197 bytes
Desc: not available
More information about the vlc-devel