Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Charbonnel <thomas@undata.org>
To: Edward Wildgoose <ed@wildgooses.com>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: HDSP 9632 driver and expansion cards
Date: Sat, 24 Jan 2004 13:56:26 +0100	[thread overview]
Message-ID: <40126B7A.3000801@undata.org> (raw)
In-Reply-To: <026e01c3e1ee$34858ee0$0369a8c0@BigMotha>

Edward Wildgoose wrote :
>>>Just to make it clear that this is a software problem and not the
>>>problem that Tim, Paul and Mark reported, could you please try to route
>>>an incoming signal (through analog or digital in) to your amp using
>>>hdspmixer and tell me if the routed sound suffers from the same audio
>>>corruption as the one being played back ? (this test should be done
>>>while you're playing back a stuttering software stream)
>>
> 
> OK, I'm sure that I misunderstand what you are asking, but here is what I did:
> 
> Set mplayer playing with something like "mplayer file.mpg -ao alsa9:rme9632plug" - It sutters like crazy and mplayer reports "xruns
> of at least 10ms".
> 
> At the same time I spun a disk in the CD player, and changed the hdspmixer so that spdif mapped through to the front speakers
> instead of the mplayer audio.  CD output was fine, mplayer continued spewing errors up the screen.
>

That's exactly what I was asking for, thanks. This is also good news 
because you seem to be safe from the problem Tim, Paul and Mark are 
experiencing.

> I have just had a peek at the mplayer alsa output code, and compared with the verbose logs.  It does seem that mplayer has managed
> to set "chunksize" to 1024 and asked for 2 fragments - so this should be quite reasonable.  Switching to mmap or noblock mode makes
> no difference (neither does switching to the OSS device...)
> 
> Any ideas what could be happening?  As I said, the same problem happens with Mythtv under OSS, and I think also under alsa.  Some
> other apps are fine, alsaplayer for example.
> 

Still looks like a design issue for the misbehaving apps, that may also 
be emphasised by the system. Since I updated to the 2.6.x series, disk 
accesses are a major cause of audio dropouts for me as long as the audio 
apps do not run with realtime priviledges. SCHED_FIFOed apps on the 
other hand work as expected even with low latency settings.

> Quite peculiar...
> 
> I just checked and I actually have alsa 1.00 rc2.  Am I missing any driver updates?
> 

Nothing hdsp specific.

> asound.conf is pretty empty in case it matters.  Just an entry for the hardware device and a plug device for the same.
> 

There should be no problem here.

Thomas




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn

  reply	other threads:[~2004-01-24 12:56 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-21  2:07 HDSP 9632 driver and expansion cards Florin Andrei
2004-01-21 12:47 ` Thomas Charbonnel
2004-01-21 18:41   ` Ed Wildgoose
2004-01-21 18:55     ` Florin Andrei
2004-01-22 15:06       ` Ed Wildgoose
2004-01-23  6:27         ` Florin Andrei
2004-01-21 19:20     ` Paul Davis
2004-01-21 21:23     ` Thomas Charbonnel
2004-01-22 15:32       ` Ed Wildgoose
2004-01-22 22:46         ` Edward Wildgoose
2004-01-23 10:20         ` Thomas Charbonnel
2004-01-23 17:16           ` Ed Wildgoose
2004-01-23 20:19             ` Edward Wildgoose
2004-01-24 12:56               ` Thomas Charbonnel [this message]
2004-01-24 11:51             ` Thomas Charbonnel
2004-01-24 21:10               ` Edward Wildgoose
2004-01-21 13:16 ` Paul Davis
2004-01-21 15:08   ` Thomas Charbonnel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40126B7A.3000801@undata.org \
    --to=thomas@undata.org \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=ed@wildgooses.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox