ModemManager.CallAudioFormat¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class ModemManager.CallAudioFormat(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
The
ModemManager.CallAudioFormat
structure contains private data and should only be accessed using the provided API.- get_encoding()¶
- Returns:
a string with the encoding, or
None
if unknown. Do not free the returned value, it is owned by self.- Return type:
Gets the encoding of the audio format. For example, “pcm” for PCM-encoded audio.
New in version 1.10.
- get_rate()¶
- Returns:
the sampling rate, or 0 if unknown.
- Return type:
Gets the sampling rate of the audio format. For example, 8000 for an 8000hz sampling rate.
New in version 1.10.