Commit 727086e2 authored by Michael Smith's avatar Michael Smith
Browse files

Add CVS Id tags to all files. Fix copyright notice in one of them. Reindent

two lines.

svn path=/trunk/ices/; revision=2087
parent d7ac0561
/* config.c
* - config file reading code, plus default settings.
*
* $Id: config.c,v 1.2 2001/09/25 12:04:21 msmith Exp $
*
* Copyright (c) 2001 Michael Smith <msmith@labyrinth.net.au>
*
* This program is distributed under the terms of the GNU General
......
/* config.h
* - configuration, and global structures built from config
*
* $Id: config.h,v 1.5 2001/09/25 12:04:21 msmith Exp $
*
* Copyright (c) 2001 Michael Smith <msmith@labyrinth.net.au>
*
* This program is distributed under the terms of the GNU General
......
/* encode.c
* - runtime encoding of PCM data.
*
* $Id: encode.c,v 1.2 2001/09/25 12:04:21 msmith Exp $
*
* Copyright (c) 2001 Michael Smith <msmith@labyrinth.net.au>
*
* This program is distributed under the terms of the GNU General
......
/* encode.h
* - encoding functions
*
* $Id: encode.h,v 1.2 2001/09/25 12:04:21 msmith Exp $
*
* Copyright (c) 2001 Michael Smith <msmith@labyrinth.net.au>
*
* This program is distributed under the terms of the GNU General
......
/* event.h
* - Generic interface for passing events to modules.
*
* $Id: event.h,v 1.2 2001/09/25 12:04:21 msmith Exp $
*
* Copyright (c) 2001 Michael Smith <msmith@labyrinth.net.au>
*
* This program is distributed under the terms of the GNU General
......
/* ices.c
* - Main startup, thread launching, and cleanup code.
*
* $Id: ices.c,v 1.2 2001/09/25 12:04:21 msmith Exp $
*
* Copyright (c) 2001 Michael Smith <msmith@labyrinth.net.au>
*
* This program is distributed under the terms of the GNU General
......
/* im_oss.c
* - Raw PCM input from OSS devices
*
* $Id: im_oss.c,v 1.3 2001/09/25 12:04:21 msmith Exp $
*
* Copyright (c) 2001 Michael Smith <msmith@labyrinth.net.au>
*
* This program is distributed under the terms of the GNU General
......
/* im_oss.h
* - read pcm data from oss devices
*
* $Id: im_oss.h,v 1.2 2001/09/25 12:04:21 msmith Exp $
*
* Copyright (c) 2001 Michael Smith <msmith@labyrinth.net.au>
*
* This program is distributed under the terms of the GNU General
......
/* playlist.c
* - Basic playlist functionality
*
* $Id: im_playlist.c,v 1.2 2001/09/25 12:04:21 msmith Exp $
*
* Copyright (c) 2001 Michael Smith <msmith@labyrinth.net.au>
*
* This program is distributed under the terms of the GNU General
......
/* im_playlist.h
* - Basic playlist functionality
*
* $Id: im_playlist.h,v 1.2 2001/09/25 12:04:21 msmith Exp $
*
* Copyright (c) 2001 Michael Smith <msmith@labyrinth.net.au>
*
* This program is distributed under the terms of the GNU General
......
/* im_stdinpcm.c
* - Raw PCM input from stdin
*
* $Id: im_stdinpcm.c,v 1.2 2001/09/25 12:04:21 msmith Exp $
*
* Copyright (c) 2001 Michael Smith <msmith@labyrinth.net.au>
*
* This program is distributed under the terms of the GNU General
......
/* im_stdinpcm.h
* - stdin reading
*
* $Id: im_stdinpcm.h,v 1.2 2001/09/25 12:04:21 msmith Exp $
*
* Copyright (c) 2001 Michael Smith <msmith@labyrinth.net.au>
*
* This program is distributed under the terms of the GNU General
......
/* im_sun.c
* - Raw PCM input from Solaris audio devices
*
* $Id: im_sun.c,v 1.3 2001/09/25 12:04:21 msmith Exp $
*
* by Ciaran Anscomb <ciarana@rd.bbc.co.uk>, based
* on im_oss.c which is...
* Copyright (c) 2001 Michael Smith <msmith@labyrinth.net.au>
......
/* im_sun.h
* - read pcm data from sun devices
*
* $Id: im_sun.h,v 1.2 2001/09/25 12:04:21 msmith Exp $
*
* by Ciaran Anscomb <ciarana@rd.bbc.co.uk>, based
* on im_oss.c which is...
* Copyright (c) 2001 Michael Smith <msmith@labyrinth.net.au>
......
/* input.c
* - Main producer control loop. Fetches data from input modules, and controls
* submission of these to the instance threads. Timing control happens here.
*
* $Id: input.c,v 1.4 2001/09/25 12:04:21 msmith Exp $
*
* Main producer control loop. Fetches data from input modules, and controls
* submission of these to the instance threads. Timing control happens here.
* Copyright (c) 2001 Michael Smith <msmith@labyrinth.net.au>
*
* This program is distributed under the terms of the GNU General
* Public License, version 2. You may use, modify, and redistribute
* it under the terms of this license. A copy should be included
* with this source.
*/
#ifndef __INPUT_H__
#define __INPUT_H__
#include <shout/shout.h>
#include <vorbis/codec.h>
#include "config.h"
#include "inputmodule.h"
#include "stream.h"
#include "reencode.h"
#include "encode.h"
typedef struct {
instance_t *stream;
input_module_t *input;
reencode_state *reenc;
encoder_state *enc;
shout_conn_t conn;
vorbis_comment vc;
} stream_description;
void input_loop(void);
void input_flush_queue(buffer_queue *queue, int keep_critical);
#endif /* __INPUT_H__ */
#include <stdio.h>
#include <stdlib.h>
#include <ogg/ogg.h>
......
/* input.h
* - Input functions
*
* $Id: input.h,v 1.3 2001/09/25 12:04:21 msmith Exp $
*
* Copyright (c) 2001 Michael Smith <msmith@labyrinth.net.au>
*
* This program is distributed under the terms of the GNU General
......
/* inputmodule.h
* - the interface for input modules to implement.
*
* $Id: inputmodule.h,v 1.2 2001/09/25 12:04:21 msmith Exp $
*
* Copyright (c) 2001 Michael Smith <msmith@labyrinth.net.au>
*
* This program is distributed under the terms of the GNU General
......
/* logging.h
* - macros used for logging. #define MODULE before including
*
* $Id: logging.h,v 1.2 2001/09/25 12:04:22 msmith Exp $
*
* Copyright (c) 2001 Michael Smith <msmith@labyrinth.net.au>
*
* This program is distributed under the terms of the GNU General
......
/* metadata.c
* - Metadata manipulation
*
* $Id: metadata.c,v 1.5 2001/09/25 12:04:22 msmith Exp $
*
* Copyright (c) 2001 Michael Smith <msmith@labyrinth.net.au>
*
* This program is distributed under the terms of the GNU General
......
/* metadata.h
* - metadata stuff.
*
* $Id: metadata.h,v 1.3 2001/09/25 12:04:22 msmith Exp $
*
* Copyright (c) 2001 Michael Smith <msmith@labyrinth.net.au>
*
* This program is distributed under the terms of the GNU General
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment