Date: Tue, 19 Jan 2010 12:21:40 +0200 From: Alexander Motin <mav@FreeBSD.org> To: Thomas Hummel <googhummel@gmail.com> Cc: freebsd-multimedia@freebsd.org Subject: Re: Sound Interrupts with mplayer/snd_hda on 8-STABLE amd64 Message-ID: <4B5587B4.5030903@FreeBSD.org> In-Reply-To: <f21a6851001190214h17901982vfe8b035cb4a60a62@mail.gmail.com> References: <1263849783.00208555.1263838202@10.7.7.3> <4B54E026.8050301@FreeBSD.org> <f21a6851001190136m160c7cbdm3fad6b2879e396d5@mail.gmail.com> <4B5581EA.3020007@FreeBSD.org> <f21a6851001190214h17901982vfe8b035cb4a60a62@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Thomas Hummel wrote: > On Tue, Jan 19, 2010 at 10:56 AM, Alexander Motin <mav@freebsd.org > <mailto:mav@freebsd.org>> wrote: > Some applications may control sound buffer size by themselves. > > Right. However, buffering an mp3 file should work out of the box in > 2010, shouldn't it ? ;-) > But what's weird, is that mplayer, with which the problem occurs, uses > ffmpeg as a backend. But the same file played directly with ffplay > (which comes with ffmpeg) works perfectly. > However, I think ffplay uses sdl instead of oss. SDL is just a wrapper around OSS. OSS is the only real sound interface. But SDL may add some additional buffering and processing. > Am I correct in assuming the following architecture layers : > > Amarok : xine -> oss -> snd_hda > xine -> oss -> snd_hda > mplayer -> ffmpeg -> oss|sdl -> snd_hda > vlc -> oss -> snd_hda > ? mplayer uses OSS directly in my case. Not sure about SDL there. > Can you think of some debug options in mplayer or vlc which could help > me isolating the problem ? > > Or could it be related to the SMP architecture of my system (quad core > intel) ? I think it could be related to scheduling, but on such a powerful system it is surprising. AFAIR /dev/sndstat reports number of underruns occured. Have you tried to look there? -- Alexander Motin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B5587B4.5030903>