This is an audio recording and playback project based on SDL2 and ASIO, including client and server sides. The client is responsible for recording audio and sending it to the server over the network, and the server receives and plays the audio.
- Audio Recording and Playback: Uses the SDL2 library to manage audio devices, record, and play audio.
- Network Communication: Uses the ASIO library to transmit audio data between the client and server.
- Multithreading: Supports multithreading to ensure real-time audio recording and playback.
.gitignore
client/
.gitignore
build_release.bat
build.bat
CMakeLists.txt
conan_profile_win64_debug
conan_profile_win64_release
conanfile.py
include/
SDLMic.h
SDLSpeaker.h
src/
audio/
SDLAudio.cpp
SDLMic.cpp
SDLSpeaker.cpp
main.cpp
net/
netTest.cpp
remark.txt
server/
build_release.bat
build.bat
CMakeLists.txt
conan_profile_win64_debug
conan_profile_win64_release
conanfile.py
src/
main.cpp
- Windows
- Visual Studio 2022
- Conan
- CMake 3.28 or higher
-
Navigate to the
client
directory:cd client
-
Install dependencies:
conan install . --profile="conan_profile_win64_debug" --output-folder=build-debug --build=missing --remote=conancenter
-
Navigate to the
server
directory:cd server
-
Install dependencies:
conan install . --profile="conan_profile_win64_debug" --output-folder=build-debug --build=missing --remote=conancenter
-
Navigate to the
client
directory:cd client
-
Run the build script:
build.bat
-
Navigate to the
server
directory:cd server
-
Run the build script:
build.bat
-
Navigate to the
client/build-debug
directory:cd client/build-debug
-
Run the executable:
myKook-client.exe
-
Navigate to the
server/build-debug
directory:cd server/build-debug
-
Run the executable:
myKook-server.exe
This project uses the Boost Software License, Version 1.0. For more details, see LICENSE_1_0.txt.