]> git.seodisparate.com - MeterForPulseAudio/commitdiff
Version 1.0 release 1.0
authorStephen Seo <seo.disparate@gmail.com>
Mon, 18 Jun 2018 11:35:42 +0000 (20:35 +0900)
committerStephen Seo <seo.disparate@gmail.com>
Mon, 18 Jun 2018 11:36:52 +0000 (20:36 +0900)
Minor fix in Meter.cpp.

Changelog.md [new file with mode: 0644]
LICENSE [new file with mode: 0644]
README.md [new file with mode: 0644]
src/MfPA/Meter.cpp

diff --git a/Changelog.md b/Changelog.md
new file mode 100644 (file)
index 0000000..3780382
--- /dev/null
@@ -0,0 +1,3 @@
+# Version 1.0
+
+Initial working release. Check the help text for usage.
diff --git a/LICENSE b/LICENSE
new file mode 100644 (file)
index 0000000..5ef8b7a
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2018 Stephen Seo
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/README.md b/README.md
new file mode 100644 (file)
index 0000000..25ab3a5
--- /dev/null
+++ b/README.md
@@ -0,0 +1,24 @@
+# Meter for PulseAudio
+
+## Usage
+
+Run `./MeterForPulseAudio -h` to print usage.
+
+## Compiling
+
+Run `git submodule update --init --recursive` first to get submodules required
+for this project.
+
+Other dependencies for this project are SFML 2 and PulseAudio.
+
+Create a build directory to build in:  
+`mkdir buildRelease; cd buildRelease`
+
+Generate the Makefile:  
+`cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ..`
+
+And build:  
+`make`
+
+Optionally install:  
+`make DESTDIR=installToThisDir install`
index 8010ab83fcbb7c723647bc696b46e6de1bdb3b6d..35191bb7a1b9af0ebbd75e97a193b1951000fc91 100644 (file)
@@ -228,8 +228,8 @@ void MfPA::Meter::get_source_info_callback(
 #ifndef NDEBUG
     std::cout << "Already got source info, end get_source_info_callback"
         << std::endl;
-        return;
 #endif
+        return;
     }
     if(eol != PA_OK)
     {