All of lore.kernel.org
 help / color / mirror / Atom feed
From: Torsten Mohr <tmohr@s.netic.de>
To: Jaroslav Kysela <perex@suse.cz>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: Docu:: Alsa Audio API:: A minimal capture program
Date: Mon, 9 Feb 2004 18:18:33 +0100	[thread overview]
Message-ID: <200402091818.33864.tmohr@s.netic.de> (raw)
In-Reply-To: <Pine.LNX.4.58.0402090845210.2168@pnote.perex-int.cz>

Hi,

> You've made this stupid bug:
>
> data = (unsigned char *)calloc(SAMPLES*4, 0);
>
> should be:
>
> data = (unsigned char *)calloc(periodsize*4, 1);


thank you so very much for that hint, that was the problem.


Best regards,
Torsten.



-------------------------------------------------------
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-02-09 17:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-27 21:40 Docu:: Alsa Audio API:: A minimal capture program Torsten Mohr
2004-01-28 15:18 ` Clemens Ladisch
2004-01-28 22:38   ` Torsten Mohr
2004-01-31 13:57     ` Jaroslav Kysela
2004-02-09  0:18       ` Torsten Mohr
2004-02-09  7:48         ` Jaroslav Kysela
2004-02-09 17:18           ` Torsten Mohr [this message]

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=200402091818.33864.tmohr@s.netic.de \
    --to=tmohr@s.netic.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=perex@suse.cz \
    /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.