1 /* Copyright (c) 2012 The Chromium OS Authors. All rights reserved. 2 * Use of this source code is governed by a BSD-style license that can be 3 * found in the LICENSE file. 4 */ 5 6 #ifndef CRAS_CONFIG_H_ 7 #define CRAS_CONFIG_H_ 8 9 #define CRAS_MIN_BUFFER_TIME_IN_US 1000 /* 1 milliseconds */ 10 11 #define CRAS_SERVER_RT_THREAD_PRIORITY 12 12 #define CRAS_CLIENT_RT_THREAD_PRIORITY 10 13 #define CRAS_CLIENT_NICENESS_LEVEL -10 14 #define CRAS_SOCKET_FILE ".cras_socket" 15 16 /* CRAS_CONFIG_FILE_DIR is defined as $sysconfdir/cras by the configure 17 script. */ 18 19 /* Gets the path to save UDS socket files. */ 20 const char *cras_config_get_system_socket_file_dir(); 21 22 #endif /* CRAS_CONFIG_H_ */ 23