All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
sndio.c File Reference
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "alMain.h"
#include "alu.h"
#include <sndio.h>

Go to the source code of this file.


void alc_sndio_deinit (void)
ALCboolean alc_sndio_init (BackendFuncs *func_list)
void alc_sndio_probe (enum DevProbe type)
static void sndio_close_playback (ALCdevice *device)
static ALCboolean sndio_load (void)
static ALCenum sndio_open_playback (ALCdevice *device, const ALCchar *deviceName)
static ALuint sndio_proc (ALvoid *ptr)
static ALCboolean sndio_reset_playback (ALCdevice *device)
static ALCboolean sndio_start_playback (ALCdevice *device)
static void sndio_stop_playback (ALCdevice *device)


static const ALCchar sndio_device [] = "SndIO Default"
static const BackendFuncs sndio_funcs

Function Documentation

void alc_sndio_deinit ( void  )

Definition at line 282 of file sndio.c.

ALCboolean alc_sndio_init ( BackendFuncs func_list)

Definition at line 274 of file sndio.c.

References ALC_FALSE, ALC_TRUE, sndio_funcs, and sndio_load().

void alc_sndio_probe ( enum DevProbe  type)

Definition at line 286 of file sndio.c.

References ALL_DEVICE_PROBE, AppendAllDevicesList(), CAPTURE_DEVICE_PROBE, and sndio_device.

static void sndio_close_playback ( ALCdevice device)

Definition at line 118 of file sndio.c.

References ALCdevice_struct::ExtraData, free, and NULL.

static ALCboolean sndio_load ( void  )

Definition at line 36 of file sndio.c.

References ALC_TRUE.

Referenced by alc_sndio_init().

static ALCenum sndio_open_playback ( ALCdevice device,
const ALCchar deviceName 
static void sndio_stop_playback ( ALCdevice device)

Definition at line 237 of file sndio.c.

References ERR, ALCdevice_struct::ExtraData, free, NULL, and StopThread().

Variable Documentation

const ALCchar sndio_device[] = "SndIO Default"

OpenAL cross platform audio library Copyright (C) 1999-2007 by authors. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This library 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 Library General Public License for more details.

You should have received a copy of the GNU Library 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. Or go to http://www.gnu.org/copyleft/lgpl.html

Definition at line 33 of file sndio.c.

Referenced by alc_sndio_probe(), and sndio_open_playback().

const BackendFuncs sndio_funcs
Initial value:
= {
#define NULL
Definition: ftobjs.h:61
static ALCenum sndio_open_playback(ALCdevice *device, const ALCchar *deviceName)
Definition: sndio.c:92
static ALCboolean sndio_start_playback(ALCdevice *device)
Definition: sndio.c:212
ALint64 ALCdevice_GetLatencyDefault(ALCdevice *device)
Definition: ALc.c:1285
static void sndio_close_playback(ALCdevice *device)
Definition: sndio.c:118
static ALCboolean sndio_reset_playback(ALCdevice *device)
Definition: sndio.c:127
static void sndio_stop_playback(ALCdevice *device)
Definition: sndio.c:237
void ALCdevice_LockDefault(ALCdevice *device)
Definition: ALc.c:1277
void ALCdevice_UnlockDefault(ALCdevice *device)
Definition: ALc.c:1281

Definition at line 257 of file sndio.c.

Referenced by alc_sndio_init().