Files
BPI-CM9-Linux/aml-comp/vendor/amlogic/aml_commonlib/aml_btmgr/utils.h
T
2026-08-24 10:03:24 +08:00

20 lines
582 B
C

/*
* Copyright (c) 2025 Amlogic, Inc. All rights reserved.
*
* This source code is subject to the terms and conditions defined in the
* file 'LICENSE' which is part of this source code package.
*
*
*/
#ifndef __LEA_APP_UTILS_H__
#define __LEA_APP_UTILS_H__
#include <stdbool.h>
bool alsa_is_audio_playing(const char *device_name);
bool is_process_running(const char *process_name);
int lea_util_file_create(char *filename, const char *text);
int lea_util_file_read(char *filename, char *buffer, int size);
int lea_util_file_get_size(char *filename);
#endif // __LEA_APP_UTILS_H__