diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-01-31 04:52:15 +0200 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-01-31 04:52:15 +0200 |
commit | ccf4d9e96cd7aa8506e6632d2a7352ec89b2b9e3 (patch) | |
tree | a5f3a6d636e96f05bb52f0b2407107a7f0c8b443 /libao2 | |
parent | 03aa64687fc109c5f2346a3c191b70698b333509 (diff) | |
parent | 0e77da241da8b911c96a0e22898e84d7f7b74678 (diff) | |
download | mpv-ccf4d9e96cd7aa8506e6632d2a7352ec89b2b9e3.tar.bz2 mpv-ccf4d9e96cd7aa8506e6632d2a7352ec89b2b9e3.tar.xz |
Merge svn changes up to r28403
Diffstat (limited to 'libao2')
-rw-r--r-- | libao2/ao_alsa.c | 42 | ||||
-rw-r--r-- | libao2/ao_alsa5.c | 26 | ||||
-rw-r--r-- | libao2/ao_dxr2.c | 20 | ||||
-rw-r--r-- | libao2/ao_esd.c | 3 | ||||
-rw-r--r-- | libao2/ao_mpegpes.c | 20 | ||||
-rw-r--r-- | libao2/ao_nas.c | 31 | ||||
-rw-r--r-- | libao2/ao_null.c | 20 | ||||
-rw-r--r-- | libao2/ao_oss.c | 20 | ||||
-rw-r--r-- | libao2/ao_pcm.c | 20 | ||||
-rw-r--r-- | libao2/ao_sgi.c | 25 | ||||
-rw-r--r-- | libao2/ao_sun.c | 20 | ||||
-rw-r--r-- | libao2/audio_out.c | 18 | ||||
-rw-r--r-- | libao2/audio_out.h | 18 | ||||
-rw-r--r-- | libao2/audio_out_internal.h | 18 |
14 files changed, 269 insertions, 32 deletions
diff --git a/libao2/ao_alsa.c b/libao2/ao_alsa.c index 1ea974f6c1..194890ff9a 100644 --- a/libao2/ao_alsa.c +++ b/libao2/ao_alsa.c @@ -1,16 +1,30 @@ /* - ao_alsa9/1.x - ALSA-0.9.x-1.x output plugin for MPlayer - - (C) Alex Beregszaszi - - modified for real alsa-0.9.0-support by Zsolt Barat <joy@streamminister.de> - additional AC3 passthrough support by Andy Lo A Foe <andy@alsaplayer.org> - 08/22/2002 iec958-init rewritten and merged with common init, zsolt - 04/13/2004 merged with ao_alsa1.x, fixes provided by Jindrich Makovicka - 04/25/2004 printfs converted to mp_msg, Zsolt. - - Any bugreports regarding to this driver are welcome. -*/ + * ALSA 0.9.x-1.x audio output driver + * + * Copyright (C) 2004 Alex Beregszaszi + * + * modified for real ALSA 0.9.0 support by Zsolt Barat <joy@streamminister.de> + * additional AC-3 passthrough support by Andy Lo A Foe <andy@alsaplayer.org> + * 08/22/2002 iec958-init rewritten and merged with common init, zsolt + * 04/13/2004 merged with ao_alsa1.x, fixes provided by Jindrich Makovicka + * 04/25/2004 printfs converted to mp_msg, Zsolt. + * + * This file is part of MPlayer. + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ #include <errno.h> #include <sys/time.h> @@ -30,9 +44,9 @@ #define ALSA_PCM_NEW_HW_PARAMS_API #define ALSA_PCM_NEW_SW_PARAMS_API -#if HAVE_SYS_ASOUNDLIB_H +#ifdef HAVE_SYS_ASOUNDLIB_H #include <sys/asoundlib.h> -#elif HAVE_ALSA_ASOUNDLIB_H +#elif defined(HAVE_ALSA_ASOUNDLIB_H) #include <alsa/asoundlib.h> #else #error "asoundlib.h is not in sys/ or alsa/ - please bugreport" diff --git a/libao2/ao_alsa5.c b/libao2/ao_alsa5.c index 7bec0371e6..abf2eff827 100644 --- a/libao2/ao_alsa5.c +++ b/libao2/ao_alsa5.c @@ -1,10 +1,24 @@ /* - ao_alsa5 - ALSA-0.5.x output plugin for MPlayer - - (C) Alex Beregszaszi - - Thanks to Arpi for helping me ;) -*/ + * ALSA 0.5.x audio output driver + * + * Copyright (C) 2001 Alex Beregszaszi + * + * Thanks to Arpi for helping me ;) + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ #include <errno.h> #include <sys/asoundlib.h> diff --git a/libao2/ao_dxr2.c b/libao2/ao_dxr2.c index b58323613d..cd92ea325c 100644 --- a/libao2/ao_dxr2.c +++ b/libao2/ao_dxr2.c @@ -1,3 +1,23 @@ +/* + * DXR2 audio output driver + * + * This file is part of MPlayer. + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + #include <math.h> #include <stdio.h> #include <stdlib.h> diff --git a/libao2/ao_esd.c b/libao2/ao_esd.c index 56a73ff555..a5602ff894 100644 --- a/libao2/ao_esd.c +++ b/libao2/ao_esd.c @@ -54,7 +54,8 @@ #include "help_mp.h" -#undef ESD_DEBUG +#define ESD_RESAMPLES 0 +#define ESD_DEBUG 0 #if ESD_DEBUG #define dprintf(...) printf(__VA_ARGS__) diff --git a/libao2/ao_mpegpes.c b/libao2/ao_mpegpes.c index 583ca44cf5..5af124fd42 100644 --- a/libao2/ao_mpegpes.c +++ b/libao2/ao_mpegpes.c @@ -1,3 +1,23 @@ +/* + * MPEG-PES audio output driver + * + * This file is part of MPlayer. + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/libao2/ao_nas.c b/libao2/ao_nas.c index 92ca56a35f..9394649cc0 100644 --- a/libao2/ao_nas.c +++ b/libao2/ao_nas.c @@ -1,15 +1,34 @@ /* - * NAS output plugin for mplayer + * NAS audio output driver * - * based on the libaudiooss parts rewritten by me, which were - * originally based on the NAS output plugin for xmms. + * copyright (c) 2001 Tobias Diedrich <ranma@gmx.at> * - * xmms plugin by Willem Monsuwe + * Based on the libaudiooss parts rewritten by me, which were + * originally based on the NAS output plugin for XMMS. + * + * XMMS plugin by Willem Monsuwe * adapted for libaudiooss by Jon Trulson * further modified by Erik Inge Bolsø - * largely rewritten and used for this - * plugin by Tobias Diedrich + * largely rewritten and used for this ao driver by Tobias Diedrich + * + * This file is part of MPlayer. + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + +/* * Theory of operation: * * The NAS consists of two parts, a server daemon and a client. diff --git a/libao2/ao_null.c b/libao2/ao_null.c index fc81af6588..2e28b8f1e8 100644 --- a/libao2/ao_null.c +++ b/libao2/ao_null.c @@ -1,3 +1,23 @@ +/* + * null audio output driver + * + * This file is part of MPlayer. + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + #include <stdio.h> #include <stdlib.h> #include <sys/time.h> diff --git a/libao2/ao_oss.c b/libao2/ao_oss.c index ed70152077..44f0c7d857 100644 --- a/libao2/ao_oss.c +++ b/libao2/ao_oss.c @@ -1,3 +1,23 @@ +/* + * OSS audio output driver + * + * This file is part of MPlayer. + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + #include <stdio.h> #include <stdlib.h> diff --git a/libao2/ao_pcm.c b/libao2/ao_pcm.c index ad0e0626b1..bd66ed0dab 100644 --- a/libao2/ao_pcm.c +++ b/libao2/ao_pcm.c @@ -1,3 +1,23 @@ +/* + * PCM audio output driver + * + * This file is part of MPlayer. + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + #include "config.h" #include <stdio.h> diff --git a/libao2/ao_sgi.c b/libao2/ao_sgi.c index 1ca52ee8e4..db7c486c83 100644 --- a/libao2/ao_sgi.c +++ b/libao2/ao_sgi.c @@ -1,9 +1,24 @@ /* - ao_sgi - sgi/irix output plugin for MPlayer - - 22oct2001 oliver.schoenbrunner@jku.at - -*/ + * SGI/IRIX audio output driver + * + * copyright (c) 2001 oliver.schoenbrunner@jku.at + * + * This file is part of MPlayer. + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ #include <stdio.h> #include <stdlib.h> diff --git a/libao2/ao_sun.c b/libao2/ao_sun.c index 55691705bd..ebe17c7926 100644 --- a/libao2/ao_sun.c +++ b/libao2/ao_sun.c @@ -1,3 +1,23 @@ +/* + * SUN audio output driver + * + * This file is part of MPlayer. + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/libao2/audio_out.c b/libao2/audio_out.c index 71ebf94c82..ee62ebc016 100644 --- a/libao2/audio_out.c +++ b/libao2/audio_out.c @@ -1,3 +1,21 @@ +/* + * This file is part of MPlayer. + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/libao2/audio_out.h b/libao2/audio_out.h index 59811f2754..e7494c89da 100644 --- a/libao2/audio_out.h +++ b/libao2/audio_out.h @@ -1,3 +1,21 @@ +/* + * This file is part of MPlayer. + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + #ifndef MPLAYER_AUDIO_OUT_H #define MPLAYER_AUDIO_OUT_H diff --git a/libao2/audio_out_internal.h b/libao2/audio_out_internal.h index b0385411b1..e702430cc5 100644 --- a/libao2/audio_out_internal.h +++ b/libao2/audio_out_internal.h @@ -1,3 +1,21 @@ +/* + * This file is part of MPlayer. + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + #ifndef MPLAYER_AUDIO_OUT_INTERNAL_H #define MPLAYER_AUDIO_OUT_INTERNAL_H |