diff --git a/Include/SRAL.h b/Include/SRAL.h index 98ba69f..e9de089 100644 --- a/Include/SRAL.h +++ b/Include/SRAL.h @@ -1,3 +1,24 @@ +/* + SRAL (Screen Reader Abstraction Library) + Copyright (c) 2024-2025 [m1maker] + + + @file SRAL.h + @brief This header file defines the Screen Reader Abstraction Library (SRAL). + + SRAL provides a unified interface for interacting with various screen reader engines. + It abstracts the differences between multiple speech engines, allowing developers to + implement accessibility features in their applications without needing to handle the + specifics of each engine. + + This library supports multiple speech engines and offers a variety of features, + enabling applications to provide auditory feedback, braille output, and control + over speech parameters such as rate and volume. + + @note Ensure that the appropriate engine is installed and configured on the system + where the application utilizing this library is run. + + #ifndef SRAL_H_ #define SRAL_H_ #pragma once diff --git a/SRC/SAPI.cpp b/SRC/SAPI.cpp index 7bc2bee..6bbeb59 100644 --- a/SRC/SAPI.cpp +++ b/SRC/SAPI.cpp @@ -5,7 +5,7 @@ #include -WasapiPlayer* g_player = nullptr; // Make it global to avoid multiple voices when reinitializing +static WasapiPlayer* g_player = nullptr; // Make it global to avoid multiple voices when reinitializing static char* trim(char* data, unsigned long* size, WAVEFORMATEX* wfx, int threshold) {