00001 /* 00002 * Copyright (c) 2006-2009 Ed Schouten <ed@80386.nl> 00003 * All rights reserved. 00004 * 00005 * Redistribution and use in source and binary forms, with or without 00006 * modification, are permitted provided that the following conditions 00007 * are met: 00008 * 1. Redistributions of source code must retain the above copyright 00009 * notice, this list of conditions and the following disclaimer. 00010 * 2. Redistributions in binary form must reproduce the above copyright 00011 * notice, this list of conditions and the following disclaimer in the 00012 * documentation and/or other materials provided with the distribution. 00013 * 00014 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 00015 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 00016 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 00017 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 00018 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 00019 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 00020 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 00021 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 00022 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 00023 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 00024 * SUCH DAMAGE. 00025 */ 00026 00027 /* 00028 * Header files which aren't obtained from pkg-config and such. We need 00029 * to check whether they are available on our system. 00030 */ 00031 00032 #include "stdinc.h" 00033 00034 #include CURSES_HEADER 00035 #ifdef BUILD_ALSA 00036 #include <alsa/asoundlib.h> 00037 #endif /* BUILD_ALSA */ 00038 #ifdef BUILD_AO 00039 #include <ao/ao.h> 00040 #endif /* BUILD_AO */ 00041 #ifdef BUILD_DBUS 00042 #include <dbus/dbus-glib-bindings.h> 00043 #endif /* BUILD_DBUS */ 00044 #ifdef BUILD_MODPLUG 00045 #include <sys/mman.h> 00046 #endif /* BUILD_MODPLUG */ 00047 #ifdef BUILD_MP3 00048 #include <id3tag.h> 00049 #include <mad.h> 00050 #endif /* BUILD_MP3 */ 00051 #ifdef BUILD_OSS 00052 #include <sys/ioctl.h> 00053 #include OSS_HEADER 00054 #endif /* BUILD_OSS */ 00055 #ifdef BUILD_SNDFILE 00056 #include <sndfile.h> 00057 #endif /* BUILD_SNDFILE */ 00058 #ifdef BUILD_VORBIS 00059 #include <vorbis/codec.h> 00060 #include <vorbis/vorbisfile.h> 00061 #endif /* BUILD_VORBIS */ 00062 00063 int 00064 main(int argc, char *argv[]) 00065 { 00066 00067 #ifdef BUILD_SNDFILE 00068 sf_get_string(NULL, SF_STR_ALBUM); 00069 #endif /* BUILD_SNDFILE */ 00070 00071 return (0); 00072 }
1.6.3