All of lore.kernel.org
 help / color / mirror / Atom feed
From: Clemens Ladisch <clemens@ladisch.de>
To: Douglas Lopes Pereira <douglaslopespereira@gmail.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: Problems with snd_pcm_writei() function
Date: Fri, 23 Oct 2009 09:39:51 +0200	[thread overview]
Message-ID: <4AE15DC7.7060108@ladisch.de> (raw)
In-Reply-To: <e0ab60670910221034u498448c5ja4eae8c2f4fd0f66@mail.gmail.com>

Douglas Lopes Pereira wrote:
> I'm splitting my audio data into 160 bytes buffers but when buffer
> with different size is passed to that function I hear a noise (like
> 'Krrr') on my audio device.

Do you actually pass the correct number of frames?

How do you manage the timing of the snd_pcm_writei() calls?


Best regards,
Clemens

  reply	other threads:[~2009-10-23  7:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-22 17:34 Problems with snd_pcm_writei() function Douglas Lopes Pereira
2009-10-23  7:39 ` Clemens Ladisch [this message]
2009-10-27 17:07   ` Douglas Lopes Pereira

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=4AE15DC7.7060108@ladisch.de \
    --to=clemens@ladisch.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=douglaslopespereira@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.