Skip to content

Commit

Permalink
Add description into header.
Browse files Browse the repository at this point in the history
  • Loading branch information
m1maker committed Feb 9, 2025
1 parent c0c72ad commit 2043db4
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions Include/SRAL.h
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion SRC/SAPI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include<thread>


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) {
Expand Down

0 comments on commit 2043db4

Please sign in to comment.