Logo Search packages:      
Sourcecode: rat version File versions  Download package

auddev_sgi.h

/*
 * FILE:     auddev_sgi.h
 * PROGRAM:  RAT
 * AUTHOR:   Orion Hodson
 *
 * Copyright (c) 1998-2001 University College London
 * All rights reserved.
 *
 * $Id: auddev_sgi.h,v 1.12 2001/01/08 20:29:50 ucaccsp Exp $
 */

#ifndef _AUDDEV_SGI_H_
#define _AUDDEV_SGI_H_

int  sgi_audio_device_count(void);
char*  
     sgi_audio_device_name(audio_desc_t);

int  sgi_audio_open       (audio_desc_t ad, audio_format* ifmt, audio_format* ofmt);
void sgi_audio_close      (audio_desc_t ad);
void sgi_audio_drain      (audio_desc_t ad);
int  sgi_audio_duplex     (audio_desc_t ad);
void sgi_audio_set_igain   (audio_desc_t ad, int gain);
int  sgi_audio_get_igain   (audio_desc_t ad);
void sgi_audio_set_ogain (audio_desc_t ad, int vol);
int  sgi_audio_get_ogain (audio_desc_t ad);
void sgi_audio_loopback   (audio_desc_t ad, int gain);
int  sgi_audio_read       (audio_desc_t ad, u_char *buf, int buf_bytes);
int  sgi_audio_write      (audio_desc_t ad, u_char *buf, int buf_bytes);
void sgi_audio_non_block  (audio_desc_t ad);
void sgi_audio_block      (audio_desc_t ad);

void          sgi_audio_oport_set     (audio_desc_t ad, audio_port_t port);
audio_port_t  sgi_audio_oport_get     (audio_desc_t ad);
int           sgi_audio_oport_count   (audio_desc_t ad);
const audio_port_details_t*
              sgi_audio_oport_details (audio_desc_t ad, int idx);

void          sgi_audio_iport_set     (audio_desc_t ad, audio_port_t port);
audio_port_t  sgi_audio_iport_get     (audio_desc_t ad);
int           sgi_audio_iport_count   (audio_desc_t ad);
const audio_port_details_t*
              sgi_audio_iport_details (audio_desc_t ad, int idx);

int  sgi_audio_is_ready  (audio_desc_t ad);
void sgi_audio_wait_for  (audio_desc_t ad, int delay_ms);

#endif /* _AUDDEV_SGI_H_ */

Generated by  Doxygen 1.6.0   Back to index