Re: Songs glitching over samba

Adam M <[email protected]> Wed, 11 May 2005 23:28:07 -0500
Newsgroups gmane.comp.multimedia.xmms.devel
Message-ID <[email protected]>
On 5/9/05, Brandon Kuczenski <[email protected]> wrote:
> On Mon, 9 May 2005, [ISO-8859-1] Håvard Kvålen wrote:
> 
> > On Sun, 8 May 2005, Brandon Kuczenski wrote:
> >
> >> When I play these songs, I get glitches every 10-20 seconds: the playback
> >> pauses for a fraction of a second, just long enough to become very
> >> annoying after a minute or so.  The glitches correspond in time with the
> >> network-activity light flashing on my wireless card.

> Any ideas what I can look at in terms of sound card / network card
> interactions?  it seems like it's the job of the audio application to
> insulate itself from network problems, not vice versa -- and the network
> is generally of high reliability.

There are three possibilities.

1. Debian XMMS you are using has a bunch of patches from Gentoo and
other places. Some of the patches *could* be causing this problem to
show up.

2. Samba is a high latency file system. I do not think XMMS prebuffers
anything (at least it shouldn't) when it reads from the file system.
After all, the file system *is* a buffer!

3. I always stream my music from my gnump3d server and I have noticed
that when other applications are doing a lot of repainting (for
example, when I switch workspaces), sometimes the output on Alsa does
stop momentarily. This is NOT frequent.

Anyway, I really think this is related to #2. If you streamed, you
might not have this problem. The XMMS in Debian allows you to set
position in the stream, just like WinAmp or if you were using a local
file.

- Adam