Method
AgsAudioSoundResourceread
since: 3.0.0
Declaration [src]
guint
ags_sound_resource_read (
AgsSoundResource* sound_resource,
void* dbuffer,
guint daudio_channels,
guint audio_channel,
guint frame_count,
AgsSoundcardFormat format
)
Description [src]
Read frame_count number of frames from sound_resource and copy the data
to dbuffer using format by skipping daudio_channels.
Available since: 3.0.0
Parameters
dbuffer-
Type:
void*The destination buffer.
The argument can be NULL.The data is owned by the caller of the method. daudio_channels-
Type:
guintDestination buffer audio channel count.
audio_channel-
Type:
guintThe audio channel to read.
frame_count-
Type:
guintThe frame count to read.
format-
Type:
AgsSoundcardFormatThe format to read.