Method

SpeechProviderStreamReaderget_audio

since: 1.0

Declaration [src]

gboolean
speech_provider_stream_reader_get_audio (
  SpeechProviderStreamReader* self,
  guint8** chunk,
  guint32* chunk_size
)

Description [src]

Retrieves audio data.

Available since: 1.0

Parameters

chunk

Type: An array of guint8*

   Location to store audio data.

The argument will be set by the function.
The length of the array is specified in the chunk_size argument.
The instance takes ownership of the data, and is responsible for freeing it.
chunk_size

Type: guint32*

Location to store size of chunk.

The argument will be set by the function.

Return value

Type: gboolean

TRUE if the call succeeds.