Top |
Functions
#define | AGS_WASAPI_DEVIN_GET_OBJ_MUTEX() |
|
ags_wasapi_devin_error_quark () |
|
ags_wasapi_devin_test_flags () |
|
ags_wasapi_devin_set_flags () |
|
ags_wasapi_devin_unset_flags () |
|
ags_wasapi_devin_switch_buffer_flag () |
|
ags_wasapi_devin_adjust_delay_and_attack () |
|
ags_wasapi_devin_realloc_buffer () |
AgsWasapiDevin * | ags_wasapi_devin_new () |
Properties
attack | Read | |
bpm | Read / Write | |
buffer | Read | |
buffer-size | Read / Write | |
delay-factor | Read / Write | |
|
device | Read / Write |
dsp-channels | Read / Write | |
format | Read / Write | |
pcm-channels | Read / Write | |
samplerate | Read / Write |
Types and Values
#define | AGS_WASAPI_DEVIN_DEFAULT_WASAPI_BUFFER_SIZE |
enum | AgsWasapiDevinFlags |
#define | AGS_WASAPI_DEVIN_ERROR |
enum | AgsWasapiDevinError |
Functions
AGS_WASAPI_DEVIN_GET_OBJ_MUTEX()
#define AGS_WASAPI_DEVIN_GET_OBJ_MUTEX(obj) (&(((AgsWasapiDevin *) obj)->obj_mutex))
ags_wasapi_devin_test_flags ()
gboolean ags_wasapi_devin_test_flags (AgsWasapiDevin *wasapi_devin
,);
guint flags
Test flags
to be set on wasapi_devin
.
Since:
ags_wasapi_devin_set_flags ()
void ags_wasapi_devin_set_flags (AgsWasapiDevin *wasapi_devin
,);
guint flags
Enable a feature of wasapi_devin
.
Since:
ags_wasapi_devin_unset_flags ()
void ags_wasapi_devin_unset_flags (AgsWasapiDevin *wasapi_devin
,);
guint flags
Disable a feature of wasapi_devin
.
Since:
ags_wasapi_devin_switch_buffer_flag ()
void ags_wasapi_devin_switch_buffer_flag (AgsWasapiDevin *wasapi_devin
);
The buffer flag indicates the currently played buffer.
Since:
ags_wasapi_devin_adjust_delay_and_attack ()
void ags_wasapi_devin_adjust_delay_and_attack (AgsWasapiDevin *wasapi_devin
);
Calculate delay and attack and reset it.
Since:
ags_wasapi_devin_realloc_buffer ()
void ags_wasapi_devin_realloc_buffer (AgsWasapiDevin *wasapi_devin
);
Reallocate the internal audio buffer.
Since:
ags_wasapi_devin_new ()
AgsWasapiDevin * ags_wasapi_devin_new ();
Creates a new instance of AgsWasapiDevin.
Since:
Types and Values
AGS_WASAPI_DEVIN_DEFAULT_WASAPI_BUFFER_SIZE
#define AGS_WASAPI_DEVIN_DEFAULT_WASAPI_BUFFER_SIZE (8192)
enum AgsWasapiDevinFlags
Enum values to control the behavior or indicate internal state of AgsWasapiDevin by enable/disable as flags.
Members
the core-audio devin was added to registry, see |
||
indicates the core-audio devin was connected by calling |
||
ring-buffer 0 |
||
ring-buffer 1 |
||
ring-buffer 2 |
||
ring-buffer 3 |
||
ring-buffer 4 |
||
ring-buffer 5 |
||
ring-buffer 6 |
||
ring-buffer 7 |
||
use first attack, instead of second one |
||
do capture |
||
stop capture |
||
capture starting |
||
do non-blocking calls |
||
the soundcard was initialized |
||
share mode exclusive |
Property Details
The “attack”
property
“attack”gpointer
Attack of the buffer
Owner: AgsWasapiDevin
Flags: Read
Since:
The “bpm”
property
“bpm”gdouble
Beats per minute
Owner: AgsWasapiDevin
Flags: Read / Write
Allowed values: [1,240]
Default value: 120
Since:
The “buffer-size”
property
“buffer-size”guint
The buffer size
Owner: AgsWasapiDevin
Flags: Read / Write
Allowed values: [1,44100]
Default value: 940
Since:
The “delay-factor”
property
“delay-factor”gdouble
tact
Owner: AgsWasapiDevin
Flags: Read / Write
Allowed values: [0,16]
Default value: 1
Since:
The “device”
property
“device”gchar *
The core audio soundcard indentifier
Owner: AgsWasapiDevin
Flags: Read / Write
Default value: "ags-wasapi-devin-0"
Since:
The “dsp-channels”
property
“dsp-channels”guint
The dsp channel count
Owner: AgsWasapiDevin
Flags: Read / Write
Allowed values: [1,64]
Default value: 2
Since:
The “format”
property
“format”guint
The precision of the buffer
Owner: AgsWasapiDevin
Flags: Read / Write
Allowed values: [1,64]
Default value: 16
Since:
The “pcm-channels”
property
“pcm-channels”guint
The pcm channel count
Owner: AgsWasapiDevin
Flags: Read / Write
Allowed values: [1,64]
Default value: 2
Since: