From 095ce46f0ee7cad07d7bafb2d771cac235574d1c Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Wed, 31 May 2017 22:23:15 -0700 Subject: playit: add public playit api The schism stuff isn't really appropriate for external use, its headers want to include its config.h. So this just keeps all the schism interfacing private to libplayit where the schism code resides, and the public api is all new with no dependency on the schism code for a clear separation. While at it I've added a seekable flag which renders the song in-memory for easy and accurate seeking within the rendered output. Note this commit obsoletes the examples in examples/* which were really only intended as examples of how to do rudimentary playback with the stripped down schism code. --- src/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index ba32c52..7da07f1 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -2,7 +2,9 @@ AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip lib_LIBRARIES = libplayit.a -include_HEADERS = \ +include_HEADERS = playit.h + +noinst_HEADERS = \ include/cmixer.h \ include/disko.h \ include/dmoz.h \ @@ -91,6 +93,7 @@ endif ## aaaaaaaaahhhhhhhhhhhhhhhhhhh!!!!!!!1 libplayit_a_SOURCES = \ + playit.c \ fmt/compression.c \ fmt/it.c \ util/util.c \ -- cgit v1.2.3