summaryrefslogtreecommitdiffstats
path: root/third_party/rust/cubeb-sys/src/error.rs
blob: 5b93604d20232707f662d5e5ed21c36c6fcbf80a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright © 2017-2018 Mozilla Foundation
//
// This program is made available under an ISC-style license.  See the
// accompanying file LICENSE for details.

use std::os::raw::c_int;

pub const CUBEB_OK: c_int = 0;
pub const CUBEB_ERROR: c_int = -1;
pub const CUBEB_ERROR_INVALID_FORMAT: c_int = -2;
pub const CUBEB_ERROR_INVALID_PARAMETER: c_int = -3;
pub const CUBEB_ERROR_NOT_SUPPORTED: c_int = -4;
pub const CUBEB_ERROR_DEVICE_UNAVAILABLE: c_int = -5;