Top |
const gchar * | mm_call_audio_format_get_encoding () |
const gchar * | mm_call_audio_format_get_resolution () |
guint | mm_call_audio_format_get_rate () |
The MMCallAudioFormat is an object handling the voice call audio format which describes how to send/receive voice call audio from the host.
This object is retrieved with either mm_call_get_audio_format()
or
mm_call_peek_audio_format()
.
const gchar *
mm_call_audio_format_get_encoding (MMCallAudioFormat *self
);
Gets the encoding of the audio format. For example, "pcm" for PCM-encoded audio.
a string with the encoding, or NULL if unknown. Do not free the returned value, it is owned by self
.
const gchar *
mm_call_audio_format_get_resolution (MMCallAudioFormat *self
);
Gets the resolution of the audio format. For example, "s16le" for signed 16-bit little-endian audio sampling resolution.
a string with the resolution, or NULL if unknown. Do not free the returned value, it is owned by self
.
guint
mm_call_audio_format_get_rate (MMCallAudioFormat *self
);
Gets the sampling rate of the audio format. For example, 8000 for an 8000hz sampling rate.
struct MMCallAudioFormat;
The MMCallAudioFormat structure contains private data and should only be accessed using the provided API.