Skip to content

File driver-alsa.cc

FileList > ase > driver-alsa.cc

  • #include "driver.hh"
  • #include "datautils.hh"
  • #include "platform.hh"
  • #include "strings.hh"
  • #include "internal.hh"
  • #include <limits.h>
  • #include <atomic>
  • #include <cmath>

Macros

Type Name
define ALSAQUIET (expr) ({ silence\_error\_handler++; auto \_\_ret\_ = (expr); silence\_error\_handler--; \_\_ret\_; })
define MDEBUG (...) Ase::debug ("alsa", "MIDI: " \_\_VA\_ARGS\_\_)
define PDEBUG (...) Ase::debug ("alsa", "PCM: " \_\_VA\_ARGS\_\_)
define WITH_MIDI_POLL 0
define alsa_alloca0 (struc) ({ struc##\_t \*ptr = (struc##\_t\*) alloca (struc##\_sizeof()); memset (ptr, 0, struc##\_sizeof()); ptr; })
define return_error (reason, aerror, ERRMEMB) /* multi line expression */

Macro Definition Documentation

define ALSAQUIET

#define ALSAQUIET (
    expr
) `({ silence_error_handler++; auto __ret_ = (expr); silence_error_handler--; __ret_; })`

define MDEBUG

#define MDEBUG (
    ...
) `Ase::debug ("alsa", "MIDI: " __VA_ARGS__)`

define PDEBUG

#define PDEBUG (
    ...
) `Ase::debug ("alsa", "PCM: " __VA_ARGS__)`

define WITH_MIDI_POLL

#define WITH_MIDI_POLL `0`

define alsa_alloca0

#define alsa_alloca0 (
    struc
) `({ struc##_t *ptr = (struc##_t*) alloca (struc##_sizeof()); memset (ptr, 0, struc##_sizeof()); ptr; })`

define return_error

#define return_error (
    reason,
    aerror,
    ERRMEMB
) `/* multi line expression */`


The documentation for this class was generated from the following file /__w/anklang/anklang/ase/driver-alsa.cc