[MPlayer-dev-eng] ALSA issue, r29549
Clemens Ladisch
cladisch at fastmail.net
Tue Sep 29 14:49:52 CEST 2009
Reimar Döffinger wrote:
> On Tue, Sep 29, 2009 at 02:11:04PM +0200, Reimar Döffinger wrote:
> > On Tue, Sep 29, 2009 at 01:25:04PM +0200, Clemens Ladisch wrote:
> > > Apparently, ao_data.outburst being 12288 instead of 6144 bytes trips up
> > > the audio playback code. (Unfortunately, the assumption in
> > > http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2009-August/062150.html
> > > seems not to be entirely true.)
> >
> > Why do you think so?
Because I thought the period size was the only difference between the
old and the new code.
However, now I've looked at the snd-ca0106 driver, and that hardware
supports no more than 8 periods. So the old code actually uses
1024 * 8 frames and the new code 2048 * 8; both outburst and buffersize
have doubled.
> > I manually set ao_data.outburst to 24576 and still have no issue.
Were you able to reproduce the problem on your machine?
> The overall ao_data.buffersize is what causes the issue, not outburst.
That still raises the question what the upper limit on buffersize is.
I we knew that, ao_alsa could just call set_buffer_bytes_max.
Best regards,
Clemens
More information about the MPlayer-dev-eng
mailing list