Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages   Examples  

global.h File Reference

Application interface library for the ALSA driver. More...

Go to the source code of this file.

Defines

#define __SND_DLSYM_VERSION(name, version)
 Helper macro for SND_DLSYM_BUILD_VERSION.

#define SND_DLSYM_BUILD_VERSION(name, version)
 Appends the build version to the name of a versioned dynamic symbol.

#define SND_DLSYM_VERSION(version)   __STRING(version)
 Returns the version of a dynamic symbol as a string.


Typedefs

typedef _snd_async_handler snd_async_handler_t
 Internal structure for an async notification client handler. More...

typedef void(* snd_async_callback_t )(snd_async_handler_t *handler)
 Async notification callback. More...


Functions

void * snd_dlopen (const char *file, int mode)
 Opens a dynamic library - ALSA wrapper for dlopen. More...

void * snd_dlsym (void *handle, const char *name, const char *version)
 Resolves a symbol from a dynamic library - ALSA wrapper for dlsym. More...

int snd_dlclose (void *handle)
 Closes a dynamic library - ALSA wrapper for dlclose. More...

int snd_async_add_handler (snd_async_handler_t **handler, int fd, snd_async_callback_t callback, void *private_data)
 Registers an async handler. More...

int snd_async_del_handler (snd_async_handler_t *handler)
 Deletes an async handler. More...

int snd_async_handler_get_fd (snd_async_handler_t *handler)
 Returns the file descriptor assigned to an async handler. More...

int snd_async_handler_get_signo (snd_async_handler_t *handler)
 Returns the signal number assigned to an async handler. More...

void * snd_async_handler_get_callback_private (snd_async_handler_t *handler)
 Returns the private data assigned to an async handler. More...


Detailed Description

Application interface library for the ALSA driver.

>

Author:
Jaroslav Kysela <perex@suse.cz> , Abramo Bagnara <abramo@alsa-project.org> , Takashi Iwai <tiwai@suse.de>
Date:
1998-2001
Application interface library for the ALSA driver

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA


Generated on Sun Sep 29 12:29:29 2002 for ALSA project - the C library reference by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002