* Sound in QT-Threads
[not found] <3D2287D0.1020600@emt.iis.fhg.de>
@ 2002-07-03 6:04 ` Gabriel Gatzsche
2002-07-05 15:30 ` Takashi Iwai
0 siblings, 1 reply; 2+ messages in thread
From: Gabriel Gatzsche @ 2002-07-03 6:04 UTC (permalink / raw)
To: alsa-devel
> 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?
>
> Thanks for your help
> Gabriel
>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
No, I will not fix your computer.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Sound in QT-Threads
2002-07-03 6:04 ` Sound in QT-Threads Gabriel Gatzsche
@ 2002-07-05 15:30 ` Takashi Iwai
0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2002-07-05 15:30 UTC (permalink / raw)
To: Gabriel Gatzsche; +Cc: alsa-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-07-05 15:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[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 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.