In order to avoid confusion between callback functions (called by the low-level module) and callback function pointers (registered by the high-level module), remove the "ondine" prefix from the function pointers (These are local variables). And since there is no more possible conflict between the two of them, let's simplify callback function names (remove the origin of the callback in the function name, for example change ondine_playlist_stream_start_player_callback to ondine_playlist_stream_start_callback). Signed-off-by: Cédric Marie <email@example.com>
|2 weeks ago|
|src||2 weeks ago|
|CHANGELOG.md||3 weeks ago|
|COPYING||1 year ago|
|README.md||3 weeks ago|
|meson.build||2 weeks ago|
Ondine is a lightweight audio player for local files, running in the terminal.
- Version: 1.2.0
- Homepage: https://ondine.hjuvi.fr.eu.org/
- License: GPLv3 or later
- Programming language: C
- Dependencies: glib-2.0, gstreamer-1.0
Copyright © 2020-2021 Cédric Marie firstname.lastname@example.org
Ondine is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Ondine is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with Ondine. If not, see http://www.gnu.org/licenses/.
Ondine uses Meson build system. In order to build the program from the source code, you have to install Meson package, and the development packages for GLib 2.0 and GStreamer 1.0:
- On Debian:
meson libglib2.0-dev libgstreamer1.0-dev
- On Fedora:
meson glib2-devel gstreamer1-devel
Building and installing
You can build and install the program for the current user in its
directory. By default, the build type is "release", and the program is
$ meson --prefix=$HOME/.local build $ ninja -C build install
To play audio files:
$ ondine [file/directory]...
For more information, you can print the help:
$ ondine --help
For debugging purposes, you can also build the program with the "debug" build type (which includes traces):
$ meson --buildtype=debug --prefix=$HOME/.local build $ ninja -C build install
When you're running this version, the traces are sent to stderr. You can record them in a file, so that they won't mix with the output of the program:
$ ondine [file/directory]... 2> /path/to/log.txt
To report a bug, or suggest an improvement, please send an email to the address mentioned at the beginning of this file.