comparison libao2/ao_nas.c @ 28343:e45b08f2f5d3

Add standard license headers.
author diego
date Mon, 26 Jan 2009 15:06:44 +0000
parents bc49998d5745
children 9a5b8c2ed6de
comparison
equal deleted inserted replaced
28342:457eb94aaf59 28343:e45b08f2f5d3
1 /* 1 /*
2 * NAS output plugin for mplayer 2 * NAS audio output driver
3 * 3 *
4 * based on the libaudiooss parts rewritten by me, which were 4 * copyright (c) 2001 Tobias Diedrich <ranma@gmx.at>
5 * originally based on the NAS output plugin for xmms. 5 *
6 * 6 * Based on the libaudiooss parts rewritten by me, which were
7 * xmms plugin by Willem Monsuwe 7 * originally based on the NAS output plugin for XMMS.
8 *
9 * XMMS plugin by Willem Monsuwe
8 * adapted for libaudiooss by Jon Trulson 10 * adapted for libaudiooss by Jon Trulson
9 * further modified by Erik Inge Bolsø 11 * further modified by Erik Inge Bolsø
10 * largely rewritten and used for this 12 * largely rewritten and used for this ao driver by Tobias Diedrich
11 * plugin by Tobias Diedrich 13 *
12 * 14 * This file is part of MPlayer.
15 *
16 * MPlayer is free software; you can redistribute it and/or modify
17 * it under the terms of the GNU General Public License as published by
18 * the Free Software Foundation; either version 2 of the License, or
19 * (at your option) any later version.
20 *
21 * MPlayer is distributed in the hope that it will be useful,
22 * but WITHOUT ANY WARRANTY; without even the implied warranty of
23 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 * GNU General Public License for more details.
25 *
26 * You should have received a copy of the GNU General Public License along
27 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
28 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
29 */
30
31 /*
13 * Theory of operation: 32 * Theory of operation:
14 * 33 *
15 * The NAS consists of two parts, a server daemon and a client. 34 * The NAS consists of two parts, a server daemon and a client.
16 * We setup the server to use a buffer of size bytes_per_second 35 * We setup the server to use a buffer of size bytes_per_second
17 * with a low watermark of buffer_size - NAS_FRAG_SIZE. 36 * with a low watermark of buffer_size - NAS_FRAG_SIZE.