20 lines
582 B
C
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__
|