Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
DSP

DSP (audio/MIDI signal processing) code. More...

Collaboration diagram for DSP:

Namespaces

namespace  zrythm::utils
 String utilities.

Data Structures

struct  SamplePlayback
 A sample playback handle to be used by the engine. More...

Macros

#define sample_playback_init(self, _buf, _buf_size, _channels, _vol, _start_offset)
 Initializes a SamplePlayback with a sample to play back.

Detailed Description

DSP (audio/MIDI signal processing) code.

Macro Definition Documentation

◆ sample_playback_init

#define sample_playback_init ( self,
_buf,
_buf_size,
_channels,
_vol,
_start_offset )
Value:
if (_channels <= 0) \
{ \
z_error ("channels: {}", _channels); \
} \
(self)->buf = _buf; \
(self)->buf_size = _buf_size; \
(self)->volume = _vol; \
(self)->offset = 0; \
(self)->channels = _channels; \
(self)->start_offset = _start_offset; \
(self)->file = __FILE__; \
(self)->func = __func__; \
(self)->lineno = __LINE__

Initializes a SamplePlayback with a sample to play back.

Definition at line 78 of file sample_playback.h.