Xemu [doxygen]  hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
Macros | Functions | Variables
audio65.h File Reference
#include "xemu/sid.h"
Include dependency graph for audio65.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define NUMBER_OF_SIDS   4
 
#define AUDIO_BUFFER_SAMPLES_MIN   1024
 
#define AUDIO_BUFFER_SAMPLES_MAX   32768
 
#define AUDIO_BUFFER_SAMPLES_DEFAULT   1024
 
#define AUDIO_EMULATION
 
#define AUDIO_DEFAULT_SEPARATION   60
 
#define AUDIO_DEFAULT_VOLUME   100
 
#define AUDIO_UNCHANGED_SEPARATION   -1000
 
#define AUDIO_UNCHANGED_VOLUME   -1000
 

Functions

void audio65_init (int sid_cycles_per_sec, int sound_mix_freq, int volume, int separation, unsigned int buffer_size)
 
void audio65_reset (void)
 
void audio65_clear_regs (void)
 
void audio65_start (void)
 
void audio65_opl3_write (Uint8 reg, Uint8 data)
 
void audio65_sid_write (const int addr, const Uint8 data)
 
void audio65_sid_inc_framecount (void)
 
void audio_set_stereo_parameters (int vol, int sep)
 

Variables

int stereo_separation
 
int audio_volume
 

Macro Definition Documentation

◆ AUDIO_BUFFER_SAMPLES_DEFAULT

#define AUDIO_BUFFER_SAMPLES_DEFAULT   1024

Definition at line 26 of file audio65.h.

◆ AUDIO_BUFFER_SAMPLES_MAX

#define AUDIO_BUFFER_SAMPLES_MAX   32768

Definition at line 25 of file audio65.h.

◆ AUDIO_BUFFER_SAMPLES_MIN

#define AUDIO_BUFFER_SAMPLES_MIN   1024

Definition at line 24 of file audio65.h.

◆ AUDIO_DEFAULT_SEPARATION

#define AUDIO_DEFAULT_SEPARATION   60

Definition at line 36 of file audio65.h.

◆ AUDIO_DEFAULT_VOLUME

#define AUDIO_DEFAULT_VOLUME   100

Definition at line 37 of file audio65.h.

◆ AUDIO_EMULATION

#define AUDIO_EMULATION

Definition at line 34 of file audio65.h.

◆ AUDIO_UNCHANGED_SEPARATION

#define AUDIO_UNCHANGED_SEPARATION   -1000

Definition at line 38 of file audio65.h.

◆ AUDIO_UNCHANGED_VOLUME

#define AUDIO_UNCHANGED_VOLUME   -1000

Definition at line 39 of file audio65.h.

◆ NUMBER_OF_SIDS

#define NUMBER_OF_SIDS   4

Definition at line 22 of file audio65.h.

Function Documentation

◆ audio65_clear_regs()

void audio65_clear_regs ( void  )

Definition at line 338 of file audio65.c.

Here is the call graph for this function:

◆ audio65_init()

void audio65_init ( int  sid_cycles_per_sec,
int  sound_mix_freq,
int  volume,
int  separation,
unsigned int  buffer_size 
)

Definition at line 382 of file audio65.c.

◆ audio65_opl3_write()

void audio65_opl3_write ( Uint8  reg,
Uint8  data 
)

Definition at line 109 of file audio65.c.

Here is the caller graph for this function:

◆ audio65_reset()

void audio65_reset ( void  )

Definition at line 350 of file audio65.c.

◆ audio65_sid_inc_framecount()

void audio65_sid_inc_framecount ( void  )

Definition at line 120 of file audio65.c.

◆ audio65_sid_write()

void audio65_sid_write ( const int  addr,
const Uint8  data 
)

Definition at line 98 of file audio65.c.

Here is the caller graph for this function:

◆ audio65_start()

void audio65_start ( void  )

Definition at line 367 of file audio65.c.

◆ audio_set_stereo_parameters()

void audio_set_stereo_parameters ( int  vol,
int  sep 
)

Definition at line 217 of file audio65.c.

Variable Documentation

◆ audio_volume

int audio_volume

Definition at line 35 of file audio65.c.

◆ stereo_separation

int stereo_separation

Definition at line 34 of file audio65.c.