Subject: [linux-audio-dev] laaga-0.2.2.tar.gz available
From: Paul Davis (pbd_AT_Op.Net)
Date: Thu Jul 05 2001 - 08:04:47 EEST
http://www.op.net/~pbd/laaga-0.2.2.tar.gz (132kB)
CHANGES
-------
* port monitoring implemented and supported by ALSA client
* "monclient" sample client added (see below)
* client->self renamed to client->control for better internal
consistency
This is a LAAGA client that requests input monitoring on 1 port of an
ALSA client for 10 seconds. Note that this particular client doesn't
do anything else (there is no process callback, no activation, etc.):
----------------------------------------------------------------------
#include <stdio.h>
#include <unistd.h>
#include <laaga/laaga.h>
int
main (int argc, char *argv[])
{
laaga_client_t *client;
if ((client = laaga_client_new ("input monitoring")) == 0) {
fprintf (stderr, "laaga server not running?\n");
return 1;
}
laaga_port_request_monitor (client, "ALSA I/O:Input 1", TRUE);
sleep (10);
laaga_port_request_monitor (client, "ALSA I/O:Input 1", FALSE);
laaga_client_close (client);
exit (0);
}
----------------------------------------------------------------------
--p
This archive was generated by hypermail 2b28 : Thu Jul 05 2001 - 08:06:15 EEST