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

Go to the source code of this file.

Functions

void alc_loopback_deinit (void)
 
ALCboolean alc_loopback_init (BackendFuncs *func_list)
 
void alc_loopback_probe (enum DevProbe type)
 
static void loopback_close_playback (ALCdevice *device)
 
static ALCenum loopback_open_playback (ALCdevice *device, const ALCchar *deviceName)
 
static ALCboolean loopback_reset_playback (ALCdevice *device)
 
static ALCboolean loopback_start_playback (ALCdevice *device)
 
static void loopback_stop_playback (ALCdevice *device)
 

Variables

static const BackendFuncs loopback_funcs
 

Function Documentation

void alc_loopback_deinit ( void  )

Definition at line 81 of file loopback.c.

ALCboolean alc_loopback_init ( BackendFuncs func_list)

Definition at line 75 of file loopback.c.

References ALC_TRUE, and loopback_funcs.

void alc_loopback_probe ( enum DevProbe  type)

Definition at line 85 of file loopback.c.

static void loopback_close_playback ( ALCdevice device)
static

Definition at line 35 of file loopback.c.

static ALCenum loopback_open_playback ( ALCdevice device,
const ALCchar deviceName 
)
static

OpenAL cross platform audio library Copyright (C) 2011 by Chris Robinson 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 29 of file loopback.c.

References ALC_NO_ERROR, ALCdevice_struct::DeviceName, and strdup().

static ALCboolean loopback_reset_playback ( ALCdevice device)
static

Definition at line 40 of file loopback.c.

References ALC_TRUE, and SetDefaultWFXChannelOrder().

static ALCboolean loopback_start_playback ( ALCdevice device)
static

Definition at line 46 of file loopback.c.

References ALC_TRUE.

static void loopback_stop_playback ( ALCdevice device)
static

Definition at line 52 of file loopback.c.

Variable Documentation

const BackendFuncs loopback_funcs
static
Initial value:
= {
}
#define NULL
Definition: ftobjs.h:61
ALint64 ALCdevice_GetLatencyDefault(ALCdevice *device)
Definition: ALc.c:1285
void ALCdevice_LockDefault(ALCdevice *device)
Definition: ALc.c:1277
static ALCboolean loopback_start_playback(ALCdevice *device)
Definition: loopback.c:46
static ALCboolean loopback_reset_playback(ALCdevice *device)
Definition: loopback.c:40
static void loopback_stop_playback(ALCdevice *device)
Definition: loopback.c:52
static void loopback_close_playback(ALCdevice *device)
Definition: loopback.c:35
void ALCdevice_UnlockDefault(ALCdevice *device)
Definition: ALc.c:1281
static ALCenum loopback_open_playback(ALCdevice *device, const ALCchar *deviceName)
Definition: loopback.c:29

Definition at line 58 of file loopback.c.

Referenced by alc_loopback_init().