Edit on GitHub

pipewire_python._constants

Here we store constant values, don't expect to see something here in documentation html version.

View Source
"""
Here we store constant values, don't expect
to see something here in documentation html version.
"""

MESSAGES_ERROR = {
    "NotImplementedError": "This function is not yet implemented",
    "ValueError": "The value entered is wrong",
}

RECOMMENDED_RATES = [
    8000,
    11025,
    16000,
    22050,
    44100,
    48000,
    88200,
    96000,
    176400,
    192000,
    352800,
    384000,
]

RECOMMENDED_FORMATS = ["u8", "s8", "s16", "s32", "f32", "f64"]