[MPlayer-cvslog] r26345 - trunk/libao2/ao_sun.c

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Mar 8 15:01:25 CET 2009


On Sun, Mar 08, 2009 at 10:16:20AM +0100, Reimar Döffinger wrote:
> On Sat, Feb 07, 2009 at 07:10:17PM +0100, Reimar Döffinger wrote:
> > On Sat, Feb 07, 2009 at 06:01:48PM +0200, Jan Knutar wrote:
> > > On Monday 07 April 2008, reimar wrote:
> > > > Author: reimar
> > > > Date: Mon Apr  7 19:39:41 2008
> > > > New Revision: 26345
> > > >
> > > > Log:
> > > > reset() should not senselessly close and reopen
> > > > the device but instead just call flush_audio()
> > > 
> > > This seems to have broken seeking on Opensolaris, from irc:
> > 
> > Please get someone to try this patch:
> > Index: libao2/ao_sun.c
> > ===================================================================
> > --- libao2/ao_sun.c	(revision 28469)
> > +++ libao2/ao_sun.c	(working copy)
> > @@ -91,6 +91,11 @@
> >  #elif defined(__svr4__)
> >    ioctl(fd, I_FLUSH, FLUSHW);
> >  #endif
> > +  AUDIO_INITINFO(&info);
> > +  info.play.samples = 0;
> > +  info.play.eof = 0;
> > +  info.play.error = 0;
> > +  ioctl (audio_fd, AUDIO_SETINFO, &info);
> >  }
> >  
> >  // convert an OSS audio format specification into a sun audio encoding
> 
> ping?

Forget about that, I was informed that I had fixed it already, though in
a different way.



More information about the MPlayer-cvslog mailing list