Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Tom Browne" <tbrowne@tbrowne.demon.co.uk>
To: alsa-devel@lists.sourceforge.net
Subject: Re: snd_pcm_writei not returning (?!?)
Date: Mon, 5 Apr 2004 15:25:39 +0100	[thread overview]
Message-ID: <000a01c41b19$deed1bf0$0100a8c0@burpxp> (raw)
In-Reply-To: 02a601c41735$801cc090$f93ca851@burpxp

Despite the indifference to this issue, I thought it only fair to say that
switching to mmap seems to have stopped the problem from occuring.

- Tom.


Tom Browne wrote:
> Hi all,
>
> I am having serious trouble with ALSA using the poll method as shown
> in the pcm.c test app...
>
> Under certain conditions (yet to be established properly - it doesn't
> happen every single time) with this ICE1712 card (DSP24),
> snd_pcm_writei doesn't just block... it never comes back.  I thought
> it may be a bug in the old version of ALSA (0.9.8) so updated the
> drivers and libs to latest, which had no effect on the problem at all.
>
> A bit more thorough checking reveals that the problem only happens at
> 88200 and 96000 sampling rates... not at 22050, 24000, 44100 or
> 48000.  That's a bit worrying...
>
> It's only started to happen regularly (used to be _very_ rare) since I
> upgraded the development machine from an Intel 815, Celeron 1.0G to a
> SiS651, Celeron 2.0G setup.
>
> The kernel is 2.4.22+ll+supermount if that offers any clues... APIC is
> turned off, as in the past I couldn't get any sound at all in Linux
> with it enabled...
>
> Cheers,
>
> Tom Browne.



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

  reply	other threads:[~2004-04-05 14:25 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-31 11:59 No mixer elems found Vincenzo Di Salvo
2004-03-31 12:38 ` Paul Davis
2004-03-31 15:33   ` snd_pcm_writei not returning (?!?) Tom Browne
2004-04-05 14:25     ` Tom Browne [this message]
2004-04-05 15:49       ` Clemens Ladisch
2004-04-05 16:16         ` Tom Browne
2004-04-06  7:48           ` Clemens Ladisch
2004-04-06  9:07             ` Tom Browne
2004-04-06  9:15               ` Jaroslav Kysela
2004-04-06  9:58                 ` Tom Browne
2004-04-06 10:15                   ` Jaroslav Kysela
2004-04-06 10:44                     ` Tom Browne

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='000a01c41b19$deed1bf0$0100a8c0@burpxp' \
    --to=tbrowne@tbrowne.demon.co.uk \
    --cc=alsa-devel@lists.sourceforge.net \
    /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