From 328abec92543c341723e5ce6882ab43b351f5628 Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Mon, 18 Jun 2018 20:35:42 +0900 Subject: [PATCH] Version 1.0 release Minor fix in Meter.cpp. --- Changelog.md | 3 +++ LICENSE | 21 +++++++++++++++++++++ README.md | 24 ++++++++++++++++++++++++ src/MfPA/Meter.cpp | 2 +- 4 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 Changelog.md create mode 100644 LICENSE create mode 100644 README.md diff --git a/Changelog.md b/Changelog.md new file mode 100644 index 0000000..3780382 --- /dev/null +++ b/Changelog.md @@ -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 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 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` diff --git a/src/MfPA/Meter.cpp b/src/MfPA/Meter.cpp index 8010ab8..35191bb 100644 --- a/src/MfPA/Meter.cpp +++ b/src/MfPA/Meter.cpp @@ -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) { -- 2.49.0