Top |
Functions
#define | AGS_OSS_DEVIN_GET_OBJ_MUTEX() |
|
ags_oss_devin_error_quark () |
|
ags_oss_devin_test_flags () |
|
ags_oss_devin_set_flags () |
|
ags_oss_devin_unset_flags () |
|
ags_oss_devin_switch_buffer_flag () |
|
ags_oss_devin_adjust_delay_and_attack () |
|
ags_oss_devin_realloc_buffer () |
AgsOssDevin * | ags_oss_devin_new () |
#define | AGS_IS_OSS_DEVIN() |
#define | AGS_IS_OSS_DEVIN_CLASS() |
#define | AGS_OSS_DEVIN() |
#define | AGS_OSS_DEVIN_CLASS() |
#define | AGS_OSS_DEVIN_GET_CLASS() |
|
ags_oss_devin_flags_get_type () |
|
ags_oss_devin_get_type () |
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_OSS_DEVIN_DEFAULT_OSS_DEVICE |
#define | AGS_OSS_DEVIN_DEFAULT_OSS_MIXER_DEVICE |
#define | AGS_OSS_DEVIN_DEFAULT_APP_BUFFER_SIZE |
#define | AGS_OSS_DEVIN_DEFAULT_BACKEND_BUFFER_SIZE |
enum | AgsOssDevinFlags |
enum | AgsOssDevinAppBufferMode |
enum | AgsOssDevinBackendBufferMode |
#define | AGS_OSS_DEVIN_ERROR |
enum | AgsOssDevinError |
#define | AGS_TYPE_OSS_DEVIN |
struct | AgsOssDevin |
struct | AgsOssDevinClass |
Functions
AGS_OSS_DEVIN_GET_OBJ_MUTEX()
#define AGS_OSS_DEVIN_GET_OBJ_MUTEX(obj) (&(((AgsOssDevin *) obj)->obj_mutex))
ags_oss_devin_test_flags ()
gboolean ags_oss_devin_test_flags (AgsOssDevin *oss_devin
,);
guint flags
Test flags
to be set on oss_devin
.
Since:
ags_oss_devin_set_flags ()
void ags_oss_devin_set_flags (AgsOssDevin *oss_devin
,);
guint flags
Enable a feature of oss_devin
.
Since:
ags_oss_devin_unset_flags ()
void ags_oss_devin_unset_flags (AgsOssDevin *oss_devin
,);
guint flags
Disable a feature of oss_devin
.
Since:
ags_oss_devin_switch_buffer_flag ()
void ags_oss_devin_switch_buffer_flag (AgsOssDevin *oss_devin
);
The buffer flag indicates the currently recorded buffer.
Since:
ags_oss_devin_adjust_delay_and_attack ()
void ags_oss_devin_adjust_delay_and_attack (AgsOssDevin *oss_devin
);
Calculate delay and attack and reset it.
Since:
ags_oss_devin_realloc_buffer ()
void ags_oss_devin_realloc_buffer (AgsOssDevin *oss_devin
);
Reallocate the internal audio buffer.
Since:
ags_oss_devin_new ()
AgsOssDevin * ags_oss_devin_new ();
Creates a new instance of AgsOssDevin.
Since:
AGS_IS_OSS_DEVIN()
#define AGS_IS_OSS_DEVIN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_OSS_DEVIN))
AGS_IS_OSS_DEVIN_CLASS()
#define AGS_IS_OSS_DEVIN_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_OSS_DEVIN))
AGS_OSS_DEVIN()
#define AGS_OSS_DEVIN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_OSS_DEVIN, AgsOssDevin))
AGS_OSS_DEVIN_CLASS()
#define AGS_OSS_DEVIN_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_OSS_DEVIN, AgsOssDevin))
AGS_OSS_DEVIN_GET_CLASS()
#define AGS_OSS_DEVIN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_OSS_DEVIN, AgsOssDevinClass))
Types and Values
enum AgsOssDevinFlags
Enum values to control the behavior or indicate internal state of AgsOssDevin by enable/disable as flags.
enum AgsOssDevinAppBufferMode
Enum values to indicate internal state of AgsOssDevin application buffer by setting mode.
enum AgsOssDevinBackendBufferMode
Enum values to indicate internal state of AgsOssDevin backend buffer by setting mode.
Property Details
The “attack”
property
“attack”gpointer
Attack of the buffer
Owner: AgsOssDevin
Flags: Read
Since:
The “bpm”
property
“bpm”double
Beats per minute
Owner: AgsOssDevin
Flags: Read / Write
Allowed values: [1,240]
Default value: 120
Since:
The “buffer-size”
property
“buffer-size”guint
The buffer size
Owner: AgsOssDevin
Flags: Read / Write
Allowed values: [16,16384]
Default value: 1024
Since:
The “delay-factor”
property
“delay-factor”double
tact
Owner: AgsOssDevin
Flags: Read / Write
Allowed values: [0,16]
Default value: 1
Since:
The “device”
property
“device”char *
The soundcard indentifier
Owner: AgsOssDevin
Flags: Read / Write
Default value: "/dev/dsp"
Since:
The “dsp-channels”
property
“dsp-channels”guint
The dsp channel count
Owner: AgsOssDevin
Flags: Read / Write
Allowed values: [1,64]
Default value: 2
Since:
The “format”
property
“format”guint
The precision of the buffer
Owner: AgsOssDevin
Flags: Read / Write
Default value: 16
Since:
The “pcm-channels”
property
“pcm-channels”guint
The pcm channel count
Owner: AgsOssDevin
Flags: Read / Write
Allowed values: [1,64]
Default value: 2
Since: