Mercurial > mplayer.hg
comparison liba52/test.c @ 25526:8b013fe0f842
Add proper license header.
author | diego |
---|---|
date | Sun, 30 Dec 2007 22:15:45 +0000 |
parents | 853622d14aa4 |
children | f20a11161e62 |
comparison
equal
deleted
inserted
replaced
25525:0918f2b6aca0 | 25526:8b013fe0f842 |
---|---|
1 // liba52 sample by A'rpi/ESP-team | 1 /* |
2 // Reads an AC-3 stream from stdin, decodes and downmixes to s16 stereo PCM | 2 * liba52 sample by A'rpi/ESP-team |
3 // and writes it to stdout. The resulting stream is playable with sox: | 3 * Reads an AC-3 stream from stdin, decodes and downmixes to s16 stereo PCM |
4 // play -c2 -r48000 -sw -fs out.sw | 4 * and writes it to stdout. The resulting stream is playable with sox: |
5 * play -c2 -r48000 -sw -fs out.sw | |
6 * | |
7 * Copyright (C) 2001 Árpád Gereöffy | |
8 * | |
9 * This program is free software; you can redistribute it and/or modify | |
10 * it under the terms of the GNU General Public License as published by | |
11 * the Free Software Foundation; either version 2 of the License, or | |
12 * (at your option) any later version. | |
13 * | |
14 * This program is distributed in the hope that it will be useful, | |
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
17 * GNU General Public License for more details. | |
18 * | |
19 * You should have received a copy of the GNU General Public License | |
20 * along with this program; if not, write to the Free Software | |
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
22 */ | |
5 | 23 |
6 //#define TIMING //needs Pentium or newer | 24 //#define TIMING //needs Pentium or newer |
7 | 25 |
8 #include <stdio.h> | 26 #include <stdio.h> |
9 #include <stdlib.h> | 27 #include <stdlib.h> |