Method
AgsAudioSoundResourcewrite
since: 3.0.0
Declaration [src]
void
ags_sound_resource_write (
AgsSoundResource* sound_resource,
void* sbuffer,
guint saudio_channels,
guint audio_channel,
guint frame_count,
AgsSoundcardFormat format
)
Description [src]
Write sbuffer
to sound_resource
frame_count
number of
frames having format
by skipping saudio_channels
.
Available since: 3.0.0
Parameters
sbuffer
-
Type:
void*
The source buffer.
The argument can be NULL
.The data is owned by the caller of the method. saudio_channels
-
Type:
guint
Source buffer audio channel count.
audio_channel
-
Type:
guint
The audio channel.
frame_count
-
Type:
guint
The frame count to write.
format
-
Type:
AgsSoundcardFormat
The format to write.