FreeBSD kernel sound device code
synth_if.m File Reference
#include <sys/systm.h>
Include dependency graph for synth_if.m:

Go to the source code of this file.

Functions

int nokillnote (void *_kobj, uint8_t _chn, uint8_t _note, uint8_t _vel)
 
int noopen (void *_kobj, void *_arg, int mode)
 
int noquery (void *_kboj)
 
int nostartnote (void *_kb, uint8_t _voice, uint8_t _note, uint8_t _parm)
 
int nosetinstr (void *_kb, uint8_t _chn, uint16_t _patchno)
 
int nohwcontrol (void *_kb, uint8_t *_event)
 
int noaftertouch (void *_kobj, uint8_t _x1, uint8_t _x2)
 
int nopanning (void *_kobj, uint8_t _x1, uint8_t _x2)
 
int nocontroller (void *_kobj, uint8_t _x1, uint8_t _x2, uint16_t _x3)
 
int novolumemethod (void *_kobj, uint8_t _x1)
 
int nobender (void *_kobj, uint8_t _voice, uint16_t _bend)
 
int nosetupvoice (void *_kobj, uint8_t _voice, uint8_t _chn)
 
int nosendsysex (void *_kobj, void *_buf, size_t _len)
 
int noallocvoice (void *_kobj, uint8_t _chn, uint8_t _note, void *_x)
 
int nowriteraw (void *_kobjt, uint8_t *_buf, size_t _len)
 
int noreset (void *_kobjt)
 
char * noshortname (void *_kobjt)
 
int noclose (void *_kobjt)
 
int noinsync (void *_kobjt)
 
int noalloc (void *_kbojt, uint8_t _chn, uint8_t _note)
 

Variables

INTERFACE synth
 
 CODE
 
synth_startnote_t nostartnote
 
synth_setinstr_t nosetinstr
 
synth_hwcontrol_t nohwcontrol
 
synth_aftertouch_t noaftertouch
 
synth_panning_t nopanning
 
synth_controller_t nocontroller
 
synth_volumemethod_t novolumemethod
 
synth_bender_t nobender
 
synth_setupvoice_t nosetupvoice
 
synth_sendsysex_t nosendsysex
 
synth_allocvoice_t noallocvoice
 
synth_writeraw_t nowriteraw
 
synth_reset_t noreset
 
synth_shortname_t noshortname
 
synth_open_t noopen
 
synth_close_t noclose
 
synth_query_t noquery
 
synth_insync_t noinsync
 
synth_alloc_t noalloc
 
METHOD int killnote
 
uint8_t _chan
 
uint8_t _note
 
uint8_t _vel
 
DEFAULT nokillnote
 
METHOD int startnote
 
uint8_t _voice
 
uint8_t _parm
 
METHOD int setinstr
 
uint8_t _chn
 
uint16_t _patchno
 
METHOD int hwcontrol
 
uint8_t * _event
 
METHOD int aftertouch
 
uint8_t _x1
 
uint8_t _x2
 
METHOD int panning
 
METHOD int controller
 
uint16_t _x3
 
METHOD int volumemethod
 
METHOD int bender
 
uint16_t _bend
 
METHOD int setupvoice
 
METHOD int sendsysex
 
void * _buf
 
size_t _len
 
METHOD int allocvoice
 
void * _x
 
METHOD int writeraw
 
METHOD int reset
 
METHOD char * shortname
 
METHOD int open
 
void * _sythn
 
int _mode
 
METHOD int close
 
METHOD int query
 
METHOD int insync
 
METHOD int alloc
 

Function Documentation

◆ noaftertouch()

int noaftertouch ( void *  _kobj,
uint8_t  _x1,
uint8_t  _x2 
)

Definition at line 99 of file synth_if.m.

◆ noalloc()

int noalloc ( void *  _kbojt,
uint8_t  _chn,
uint8_t  _note 
)

Definition at line 196 of file synth_if.m.

◆ noallocvoice()

int noallocvoice ( void *  _kobj,
uint8_t  _chn,
uint8_t  _note,
void *  _x 
)

Definition at line 151 of file synth_if.m.

◆ nobender()

int nobender ( void *  _kobj,
uint8_t  _voice,
uint16_t  _bend 
)

Definition at line 129 of file synth_if.m.

◆ noclose()

int noclose ( void *  _kobjt)

Definition at line 180 of file synth_if.m.

◆ nocontroller()

int nocontroller ( void *  _kobj,
uint8_t  _x1,
uint8_t  _x2,
uint16_t  _x3 
)

Definition at line 113 of file synth_if.m.

◆ nohwcontrol()

int nohwcontrol ( void *  _kb,
uint8_t *  _event 
)

Definition at line 92 of file synth_if.m.

◆ noinsync()

int noinsync ( void *  _kobjt)

Definition at line 188 of file synth_if.m.

◆ nokillnote()

int nokillnote ( void *  _kobj,
uint8_t  _chn,
uint8_t  _note,
uint8_t  _vel 
)

Definition at line 57 of file synth_if.m.

◆ noopen()

int noopen ( void *  _kobj,
void *  _arg,
int  mode 
)

Definition at line 64 of file synth_if.m.

◆ nopanning()

int nopanning ( void *  _kobj,
uint8_t  _x1,
uint8_t  _x2 
)

Definition at line 106 of file synth_if.m.

◆ noquery()

int noquery ( void *  _kboj)

Definition at line 71 of file synth_if.m.

◆ noreset()

int noreset ( void *  _kobjt)

Definition at line 165 of file synth_if.m.

◆ nosendsysex()

int nosendsysex ( void *  _kobj,
void *  _buf,
size_t  _len 
)

Definition at line 144 of file synth_if.m.

◆ nosetinstr()

int nosetinstr ( void *  _kb,
uint8_t  _chn,
uint16_t  _patchno 
)

Definition at line 85 of file synth_if.m.

◆ nosetupvoice()

int nosetupvoice ( void *  _kobj,
uint8_t  _voice,
uint8_t  _chn 
)

Definition at line 136 of file synth_if.m.

◆ noshortname()

char * noshortname ( void *  _kobjt)

Definition at line 173 of file synth_if.m.

◆ nostartnote()

int nostartnote ( void *  _kb,
uint8_t  _voice,
uint8_t  _note,
uint8_t  _parm 
)

Definition at line 78 of file synth_if.m.

◆ novolumemethod()

int novolumemethod ( void *  _kobj,
uint8_t  _x1 
)

Definition at line 120 of file synth_if.m.

◆ nowriteraw()

int nowriteraw ( void *  _kobjt,
uint8_t *  _buf,
size_t  _len 
)

Definition at line 158 of file synth_if.m.

Variable Documentation

◆ _bend

uint16_t _bend

Definition at line 255 of file synth_if.m.

◆ _buf

uint8_t * _buf

Definition at line 266 of file synth_if.m.

◆ _chan

uint8_t _chan

Definition at line 205 of file synth_if.m.

◆ _chn

uint8_t _chn

Definition at line 219 of file synth_if.m.

◆ _event

uint8_t* _event

Definition at line 225 of file synth_if.m.

◆ _len

size_t _len

Definition at line 267 of file synth_if.m.

◆ _mode

int _mode

Definition at line 294 of file synth_if.m.

◆ _note

uint8_t _note

Definition at line 206 of file synth_if.m.

◆ _parm

uint8_t _parm

Definition at line 214 of file synth_if.m.

◆ _patchno

uint16_t _patchno

Definition at line 220 of file synth_if.m.

◆ _sythn

void* _sythn

Definition at line 293 of file synth_if.m.

◆ _vel

uint8_t _vel

Definition at line 207 of file synth_if.m.

◆ _voice

uint8_t _voice

Definition at line 212 of file synth_if.m.

◆ _x

void* _x

Definition at line 274 of file synth_if.m.

◆ _x1

uint8_t _x1

Definition at line 230 of file synth_if.m.

◆ _x2

uint8_t _x2

Definition at line 231 of file synth_if.m.

◆ _x3

uint16_t _x3

Definition at line 244 of file synth_if.m.

◆ aftertouch

METHOD int aftertouch
Initial value:
{
void *_kobj

Definition at line 228 of file synth_if.m.

◆ alloc

METHOD int alloc
Initial value:
{
void *_kbojt

Definition at line 309 of file synth_if.m.

Referenced by z_resampler_setup().

◆ allocvoice

METHOD int allocvoice
Initial value:
{
void *_kobj

Definition at line 270 of file synth_if.m.

◆ bender

METHOD int bender
Initial value:
{
void *_kobj

Definition at line 252 of file synth_if.m.

◆ close

METHOD int close
Initial value:
{
void *_kobjt

Definition at line 297 of file synth_if.m.

◆ CODE

CODE
Initial value:
{
synth_killnote_t nokillnote
DEFAULT nokillnote
Definition: synth_if.m:208

Definition at line 33 of file synth_if.m.

◆ controller

METHOD int controller
Initial value:
{
void *_kobj

Definition at line 240 of file synth_if.m.

◆ hwcontrol

METHOD int hwcontrol
Initial value:
{
void *_kobj

Definition at line 223 of file synth_if.m.

◆ insync

METHOD int insync
Initial value:
{
void *_kobjt

Definition at line 305 of file synth_if.m.

◆ killnote

METHOD int killnote
Initial value:
{
void *_kobj

Definition at line 203 of file synth_if.m.

◆ noaftertouch

DEFAULT noaftertouch

Definition at line 39 of file synth_if.m.

◆ noalloc

DEFAULT noalloc

Definition at line 54 of file synth_if.m.

◆ noallocvoice

DEFAULT noallocvoice

Definition at line 46 of file synth_if.m.

◆ nobender

DEFAULT nobender

Definition at line 43 of file synth_if.m.

◆ noclose

DEFAULT noclose

Definition at line 51 of file synth_if.m.

◆ nocontroller

DEFAULT nocontroller

Definition at line 41 of file synth_if.m.

◆ nohwcontrol

DEFAULT nohwcontrol

Definition at line 38 of file synth_if.m.

◆ noinsync

DEFAULT noinsync

Definition at line 53 of file synth_if.m.

◆ nokillnote

DEFAULT nokillnote

Definition at line 208 of file synth_if.m.

◆ noopen

DEFAULT noopen

Definition at line 50 of file synth_if.m.

◆ nopanning

DEFAULT nopanning

Definition at line 40 of file synth_if.m.

◆ noquery

DEFAULT noquery

Definition at line 52 of file synth_if.m.

◆ noreset

DEFAULT noreset

Definition at line 48 of file synth_if.m.

◆ nosendsysex

DEFAULT nosendsysex

Definition at line 45 of file synth_if.m.

◆ nosetinstr

DEFAULT nosetinstr

Definition at line 37 of file synth_if.m.

◆ nosetupvoice

DEFAULT nosetupvoice

Definition at line 44 of file synth_if.m.

◆ noshortname

DEFAULT noshortname

Definition at line 49 of file synth_if.m.

◆ nostartnote

DEFAULT nostartnote

Definition at line 36 of file synth_if.m.

◆ novolumemethod

DEFAULT novolumemethod

Definition at line 42 of file synth_if.m.

◆ nowriteraw

DEFAULT nowriteraw

Definition at line 47 of file synth_if.m.

◆ open

METHOD int open
Initial value:
{
void *_kobjt

Definition at line 291 of file synth_if.m.

◆ panning

METHOD int panning
Initial value:
{
void *_kobj

Definition at line 234 of file synth_if.m.

◆ query

METHOD int query
Initial value:
{
void *_kobjt

Definition at line 301 of file synth_if.m.

◆ reset

METHOD int reset
Initial value:
{
void *_kobjt

Definition at line 283 of file synth_if.m.

Referenced by chn_vpc_proc().

◆ sendsysex

METHOD int sendsysex
Initial value:
{
void *_kobj

Definition at line 264 of file synth_if.m.

◆ setinstr

METHOD int setinstr
Initial value:
{
void *_kobj

Definition at line 217 of file synth_if.m.

◆ setupvoice

METHOD int setupvoice
Initial value:
{
void *_kobj

Definition at line 258 of file synth_if.m.

◆ shortname

METHOD char* shortname
Initial value:
{
void *_kobjt

Definition at line 287 of file synth_if.m.

◆ startnote

METHOD int startnote
Initial value:
{
void *_kobj

Definition at line 210 of file synth_if.m.

◆ synth

INTERFACE synth

Definition at line 29 of file synth_if.m.

◆ volumemethod

METHOD int volumemethod
Initial value:
{
void *_kobj

Definition at line 247 of file synth_if.m.

◆ writeraw

METHOD int writeraw
Initial value:
{
void *_kobjt

Definition at line 277 of file synth_if.m.