Debian Codegraph @

third_party/rust/cubeb-sys/src/error.rs

raw
1 // Copyright © 2017-2018 Mozilla Foundation
2 //
3 // This program is made available under an ISC-style license. See the
4 // accompanying file LICENSE for details.
5
6 use std::os::raw::c_int;
7
8 pub const CUBEB_OK: c_int = 0;
9 pub const CUBEB_ERROR: c_int = -1;
10 pub const CUBEB_ERROR_INVALID_FORMAT: c_int = -2;
11 pub const CUBEB_ERROR_INVALID_PARAMETER: c_int = -3;
12 pub const CUBEB_ERROR_NOT_SUPPORTED: c_int = -4;
13 pub const CUBEB_ERROR_DEVICE_UNAVAILABLE: c_int = -5;