audio_oss.c File Reference

#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <fcntl.h>
#include <strings.h>
#include <sys/ioctl.h>
#include <sys/soundcard.h>
#include "audio_oss.h"

Include dependency graph for audio_oss.c:

Go to the source code of this file.


#define DSP_FRAGMENT   (0x7fff0000 | 0x000b)


int32_t audio_open_oss (p_audio_pub device)
int32_t audio_init_oss (p_audio_pub device)
int32_t audio_close_oss (p_audio_pub device)
void audio_record_oss (p_audio_pub device, te_audio_segments buffer_segment)
void audio_play_oss (p_audio_pub device, te_audio_segments buffer_segment)

Define Documentation

#define DSP_FRAGMENT   (0x7fff0000 | 0x000b)

Definition at line 54 of file audio_oss.c.

Referenced by audio_init_oss().

Function Documentation

int32_t audio_close_oss ( p_audio_pub  device  ) 

Definition at line 163 of file audio_oss.c.

References ts_audio_pub::handle.

int32_t audio_init_oss ( p_audio_pub  device  ) 

int32_t audio_open_oss ( p_audio_pub  device  ) 

void audio_play_oss ( p_audio_pub  device,
te_audio_segments  buffer_segment 

void audio_record_oss ( p_audio_pub  device,
te_audio_segments  buffer_segment 

Generated on Mon Jun 22 21:38:43 2009 for morse2txt by  doxygen 1.5.6