Skip to content
This repository has been archived by the owner on Jun 8, 2021. It is now read-only.

Commit

Permalink
Add readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Soreepeong committed Aug 9, 2017
1 parent c5636d4 commit 581d35b
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 1 deletion.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# WifiAudioSender & AudioReceivePlayer

![Windows Sender/Receiver](https://raw.githubusercontent.com/Soreepeong/WifiAudioSender/master/readme-images/Win.png)
![Android Receiver](https://raw.githubusercontent.com/Soreepeong/WifiAudioSender/master/readme-images/Android.jpg)

WifiAudioSender captures your Windows system's audio device's output, and copies it to another audio device or sends it to specific client by UDP.

By using USB Tether with your Android device's native sampling rate as your PC's sound device's sampling rate, you can *probably* achieve <10ms latency, provided that your phone supports [Pro Audio](https://developer.android.com/ndk/guides/audio/audio-latency.html).

# What it can do
- Capture audio output
- Copy to another audio device
- Send it to another PC or Android device via UDP
- (Android side) Uses OpenSLES latency output (if the device supports current sampling rate)

# What it can't do (=TODO)
- Resample
- Reset the task when audio device's configuration changes
- Encrypt audio stream

# Referenced codes
- [Android OpenSL input/output module by Victor Lazzarini](https://audioprograming.wordpress.com/2012/10/29/lock-free-audio-io-with-opensl-es-on-android/)
- [MSDN Article "Capturing a Stream"](https://msdn.microsoft.com/en-us/library/windows/desktop/dd370800.aspx)
Binary file removed WifiAudioSender.VC.db
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "WifiAudioSender", "WifiAudioSender\WifiAudioSender.vcxproj", "{0CDA4EE1-3CAD-4ADE-8010-386D8C0FCD63}"
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "WifiAudioSender", "WifiAudioSender.vcxproj", "{0CDA4EE1-3CAD-4ADE-8010-386D8C0FCD63}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
2 changes: 2 additions & 0 deletions WifiAudioSender/WifiAudioSender.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
Expand All @@ -67,6 +68,7 @@
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
Expand Down
Binary file added readme-images/Android.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added readme-images/Win.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 581d35b

Please sign in to comment.