Re: race conditions in alsa core

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 24 Sep 2007, Krzysztof Helt wrote:
> On Sun, 23 Sep 2007 03:14:47 -0700 (PDT)
> Trent Piepho <xyzzy@xxxxxxxxxxxxx> wrote:
>
> > My test program will call the HW_PARAMS ioctl twice from different threads
> > running at the same time.  The first call will ask for the maximum number of
> > periods with minimum size, the second call for the minimum number of periods
> > of maximum size.
> >
>
> I cannot compile your test_hwparams.c. The local.h is missing.

You must have the alsa-lib source to compile it, that is where local.h
comes from.  Headers for using the alsa devices directly aren't provided
from any other place.

gcc -I /path/to/alsa-lib/include -pthread test_hwparams.c
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux