Commit Graph
42 Commits
Author SHA1 Message Date
Paul LietarandJames Laird ce77feecef Add a new mDNS backend which uses mDNSResponder
This backend uses mDNSResponder, like the external-dns-sd one. However,
this one uses the dns-sd library instead of relying on an external
program.
2013-10-22 10:33:41 +11:00
Paul LietarandJames Laird 592119bc4d Add a new mDNS backend based on tinysvcmdns
This backend allows shairport to run without having a heavy daemon such
as avahi or mDNSResponder running in the background.
ipv6 support is more or less experimental right now.
2013-10-22 10:33:41 +11:00
Paul LietarandJames Laird 3896909080 Reorganize mDNS advertisement
mDNS is now handled more or less in the same way audio is.
Multiple mDNS backends are available, shairport tries them all until one
works.

This makes it, IMHO, cleaner, and easier to add other mDNS backends in
the future, such as using tinysvcmdns or dns-sd library.
Also it will also allow to define mDNS backends as plugins, in a similar
way it is done in PR #230.
2013-10-22 10:33:41 +11:00
Dimitri Sokolyuk 629e202f1b add support for openbsd sndio sound daemon 2013-09-05 03:24:23 +02:00
James Laird affeab54c9 Makefile: force rebuild after reconfigure 2013-06-20 18:33:51 +10:00
MuffinmanandJames Laird 95035f3389 Alsa output driver
Based on a bit of code of @Skaman and bit of mine, I've added support
for mixer and audio Alsa support.
2013-06-20 18:30:42 +10:00
Paul LietarandJames Laird c404660122 Move daemon related code to a separate file. 2013-06-20 17:02:56 +10:00
James Laird cb14d56a5b Merge pull request #223 from plietar/pulseaudio
Add a PulseAudio output driver, courtesy of Paul Lietar
2013-06-19 08:37:09 -07:00
James Laird 3aa8bab70b add getopt_long implementation and detection 2013-06-20 00:23:00 +10:00
Paul Lietar a69c5f20f5 Add a PulseAudio output driver.
It uses libpulse's synchronous API, to output to PulseAudio
without using libao.
2013-06-10 15:44:27 +02:00
James Laird f6eddb84fd add native avahi-client support
requires extra packages on some systems, eg. libavahi-client-dev on
Debian/Ubuntu.
2013-06-04 01:31:46 +10:00
James Laird 0129db088f add a pipe/FIFO audio backend 2013-06-04 00:30:17 +10:00
James Laird 5f041a5adb Makefile: create target directory if needs be 2013-04-08 18:58:38 +10:00
James Laird 0ee4efb002 Makefile: add install target 2013-04-08 18:54:39 +10:00
MaZderMind 6e04651392 don't fail clean target, when binary does not exist 2013-04-02 22:11:56 +02:00
MaZderMind bb80721846 add default target w/ name 'all' 2013-04-02 22:11:24 +02:00
James Laird cb1bfbad95 Makefile: configure for libraries properly 2013-04-02 00:16:03 +11:00
James Laird 9b33878c59 audio: output selection functionality 2013-04-01 21:43:24 +11:00
James Laird 04b142dbe3 rewrite: add mDNS registration 2013-04-01 20:08:05 +11:00
James Laird a2fb5d219d Refactor and rewrite.
Perl script is removed in favour of C. Stale documentation and initfiles
are removed for now also.

C interface works, but still needs work (for example, mDNS is missing) -
see TODO.
2013-04-01 18:57:08 +11:00
Alfred Perlstein f42a026731 Handle FreeBSD having openssl in base. 2012-12-23 12:22:31 -08:00
Dan McGee 82e7cf8490 Fix dependency issue in Makefile
Make the dependency and compile command match in the resources used.
2012-02-24 14:24:10 -06:00
B. van BerkumandDan McGee be145fa704 Removed typo in Makefile 2012-02-24 14:20:06 -06:00
Falk Stern 16b349690e Some fixes on the install target 2011-05-28 00:18:06 +02:00
Falk Stern 9516852b14 Added $(DESTDIR) to install target, makes packaging easier 2011-05-27 23:35:47 +02:00
Walter Goossens 01d9918ab6 Alter Makefile to build seperate objects and remove inclusion of c file 2011-05-10 01:04:04 +02:00
Andrew Webster 53d89bd1a1 Missing Makefile mods. 2011-04-30 05:36:31 -04:00
Albert Zeyer 818a70987a cleanup 2011-04-18 11:09:43 +02:00
Pepijn de Vos 83d83faf35 reorder in Makefile 2011-04-16 11:45:45 +02:00
okertanov 532a468a11 formatting fix: trailing spaces 2011-04-16 00:00:26 +03:00
Albert Zeyer 19d330efd9 small fix for Makefile
This fails if for example only hairtunes.c was changed but not alac.c.
2011-04-15 15:29:33 +02:00
okertanov 2fbfd2782b Compilation fixes: -Wall warnings.
unistd.h included, forward function ptototypes, loop/assignment
parentheses, proper return pathes, buffers signed/unsigned
__attribute__((unused))
2011-04-15 16:01:10 +03:00
Albert Zeyer d571351c90 Merge commit 'e5a1efe44060df46288a' 2011-04-15 13:36:22 +02:00
okertanov e5a1efe440 fix O2 optimization distorsions 2011-04-15 14:12:32 +03:00
Rafał Kwaśny bd263d7b5d - add install target to Makefile
- add sample init script (shairport.init.sample)
2011-04-14 21:17:14 +02:00
Martin Spasov a4e0a53d9d Disable compile time optimisation
-O2 Causes just noise, when playing on my debian box. Compiled with gcc (Debian 4.4.5-8) 4.4.5
2011-04-14 14:03:52 +03:00
okertanov 2a0023880d Merged with ShairPort 0.04 update.
http://mafipulation.org/blagoblig/2011/04/08
    shairport-0.04.tar.gz
    12/4: Updated to 0.04 - compile fixed on non-x86 platforms
2011-04-14 00:54:46 +03:00
okertanov ed13e78700 Makefile changes: .SILENT & .PHONY targets, pkg-config with the shell cmd.
New targets: .SILENT, .PHONY, clean. CC & other vars were defined.
-lportaudio is preserved but unused for now.
2011-04-13 22:50:53 +03:00
Albert Zeyer e2dd3e9151 make libao default again 2011-04-11 19:17:21 +02:00
Albert Zeyer 035e42bf84 small libao fix 2011-04-11 14:11:50 +02:00
Albert Zeyer 2abcf7ccc8 added PortAudio support (and make it default) 2011-04-11 12:32:26 +02:00
Preston Marshall 31cf954da5 first commit 2011-04-11 00:09:42 -05:00