From: Takashi Iwai <tiwai@suse.de>
To: Gabriel Gatzsche <gabrielg@emt.iis.fhg.de>
Cc: alsa-devel <alsa-devel@lists.sourceforge.net>
Subject: Re: Sound in QT-Threads
Date: Fri, 05 Jul 2002 17:30:04 +0200 [thread overview]
Message-ID: <s5hr8iiur9f.wl@alsa2.suse.de> (raw)
In-Reply-To: <3D2293E1.1060903@emt.iis.fhg.de>
Hi,
At Wed, 03 Jul 2002 08:04:17 +0200,
Gabriel Gatzsche wrote:
>
> > Hello!
> > I have made a program with two qt-threads. One for reading from
> > soundcard, one for writing.
> > There are no problems if the threads work allone. But if both threads
> > work in the same time, the program
> > chrashes some times with following message:
> > wavplay: pcm.c:5191: snd_pcm_mmap_commit: Assertion `offset ==
> > *pcm->appl_ptr % pcm->buffer_size' failed.
> > Can somebody tell, what to do?
it's difficult to say many things...
does it happen if you run two processes (not threads), one for
playback and another for capture at the same time?
anyway it'd be better to show codes to check more details.
ciao,
Takashi
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Bringing you mounds of caffeinated joy.
http://thinkgeek.com/sf
prev parent reply other threads:[~2002-07-05 15:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <3D2287D0.1020600@emt.iis.fhg.de>
2002-07-03 6:04 ` Sound in QT-Threads Gabriel Gatzsche
2002-07-05 15:30 ` Takashi Iwai [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=s5hr8iiur9f.wl@alsa2.suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@lists.sourceforge.net \
--cc=gabrielg@emt.iis.fhg.de \
/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.