Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Gustavo da Silva Serra <gustavo.serra@tet.com.br>
To: Wolfgang Rosenauer <wolfgang@rosenauer.org>
Cc: alsa-devel@alsa-project.org
Subject: Re: Alsa 32-64 bit issue
Date: Wed, 02 Jul 2008 16:07:15 -0300	[thread overview]
Message-ID: <486BD1E3.8020806@tet.com.br> (raw)
In-Reply-To: <486BCBF9.2090906@rosenauer.org>

If I am not wrong, a buffer underrun occurs when a playback application 
can't feed the audio buffer fast enough. You could adjust 
/etc/asound.conf according to your sound card, or verify if your 
application isn't taking too long to write to the audio buffer.

Wolfgang Rosenauer escreveu:
> Wolfgang Rosenauer wrote:
>   
>> Takashi Iwai wrote:
>>     
>>>> I have an application which does simple PCM output to Alsa. It works so 
>>>> far (if pulseaudio is not used but that's another issue).
>>>> But if I try to run the app (which is compiled for 32bit) on a 64bit 
>>>> Linux system it fails at snd_pcm_start() with the following error:
>>>>
>>>> "Datenübergabe unterbrochen (broken pipe)"
>>>>         
>>> It means that no data is present on the buffer.
>>>       
>
> ok, I fixed that by not using snd_pcm_start() at all. Thanks for the hint.
> I still have issues which I find pretty strange though:
>
> The very same application binary always buffer underruns on my x86-64 
> system while it works (almost) perfectly (at least w/o buffer underruns) 
> on my smaller i586 system.
>
> Anyone can imagine what could cause that?
>
> Thanks,
>   Wolfgang
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>
> __________ NOD32 3236 (20080702) Information __________
>
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
>
>
>
>   

  reply	other threads:[~2008-07-02 19:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-02 11:48 Alsa 32-64 bit issue Wolfgang Rosenauer
2008-07-02 12:15 ` Takashi Iwai
2008-07-02 12:40   ` Wolfgang Rosenauer
2008-07-02 18:42     ` Wolfgang Rosenauer
2008-07-02 19:07       ` Gustavo da Silva Serra [this message]
2008-07-03 11:28         ` Wolfgang Rosenauer

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=486BD1E3.8020806@tet.com.br \
    --to=gustavo.serra@tet.com.br \
    --cc=alsa-devel@alsa-project.org \
    --cc=wolfgang@rosenauer.org \
    /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