annotate libvo/vo_zr.h @ 33672:e576232a39d5

Prevent balance from hopping. Only recalculate the balance if the balance has changed, not if just the volume has changed. Because (at least with my soundcard) not all volume values can be stored, but seem to be mapped onto a discrete value set, recalculation the balance from the volume isn't accurate enough.
author ib
date Tue, 28 Jun 2011 18:16:06 +0000
parents 8fccdda74db0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
30593
8fccdda74db0 Add header for functions exported from vo_zr.c and use it appropriately.
diego
parents:
diff changeset
1 /*
8fccdda74db0 Add header for functions exported from vo_zr.c and use it appropriately.
diego
parents:
diff changeset
2 * playback on Zoran cards
8fccdda74db0 Add header for functions exported from vo_zr.c and use it appropriately.
diego
parents:
diff changeset
3 *
8fccdda74db0 Add header for functions exported from vo_zr.c and use it appropriately.
diego
parents:
diff changeset
4 * This file is part of MPlayer.
8fccdda74db0 Add header for functions exported from vo_zr.c and use it appropriately.
diego
parents:
diff changeset
5 *
8fccdda74db0 Add header for functions exported from vo_zr.c and use it appropriately.
diego
parents:
diff changeset
6 * MPlayer is free software; you can redistribute it and/or modify
8fccdda74db0 Add header for functions exported from vo_zr.c and use it appropriately.
diego
parents:
diff changeset
7 * it under the terms of the GNU General Public License as published by
8fccdda74db0 Add header for functions exported from vo_zr.c and use it appropriately.
diego
parents:
diff changeset
8 * the Free Software Foundation; either version 2 of the License, or
8fccdda74db0 Add header for functions exported from vo_zr.c and use it appropriately.
diego
parents:
diff changeset
9 * (at your option) any later version.
8fccdda74db0 Add header for functions exported from vo_zr.c and use it appropriately.
diego
parents:
diff changeset
10 *
8fccdda74db0 Add header for functions exported from vo_zr.c and use it appropriately.
diego
parents:
diff changeset
11 * MPlayer is distributed in the hope that it will be useful,
8fccdda74db0 Add header for functions exported from vo_zr.c and use it appropriately.
diego
parents:
diff changeset
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
8fccdda74db0 Add header for functions exported from vo_zr.c and use it appropriately.
diego
parents:
diff changeset
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8fccdda74db0 Add header for functions exported from vo_zr.c and use it appropriately.
diego
parents:
diff changeset
14 * GNU General Public License for more details.
8fccdda74db0 Add header for functions exported from vo_zr.c and use it appropriately.
diego
parents:
diff changeset
15 *
8fccdda74db0 Add header for functions exported from vo_zr.c and use it appropriately.
diego
parents:
diff changeset
16 * You should have received a copy of the GNU General Public License along
8fccdda74db0 Add header for functions exported from vo_zr.c and use it appropriately.
diego
parents:
diff changeset
17 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
8fccdda74db0 Add header for functions exported from vo_zr.c and use it appropriately.
diego
parents:
diff changeset
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
8fccdda74db0 Add header for functions exported from vo_zr.c and use it appropriately.
diego
parents:
diff changeset
19 */
8fccdda74db0 Add header for functions exported from vo_zr.c and use it appropriately.
diego
parents:
diff changeset
20
8fccdda74db0 Add header for functions exported from vo_zr.c and use it appropriately.
diego
parents:
diff changeset
21 #ifndef MPLAYER_VO_ZR_H
8fccdda74db0 Add header for functions exported from vo_zr.c and use it appropriately.
diego
parents:
diff changeset
22 #define MPLAYER_VO_ZR_H
8fccdda74db0 Add header for functions exported from vo_zr.c and use it appropriately.
diego
parents:
diff changeset
23
8fccdda74db0 Add header for functions exported from vo_zr.c and use it appropriately.
diego
parents:
diff changeset
24 #include "m_option.h"
8fccdda74db0 Add header for functions exported from vo_zr.c and use it appropriately.
diego
parents:
diff changeset
25
8fccdda74db0 Add header for functions exported from vo_zr.c and use it appropriately.
diego
parents:
diff changeset
26 int vo_zr_parseoption(const m_option_t *conf, const char *opt, const char *param);
8fccdda74db0 Add header for functions exported from vo_zr.c and use it appropriately.
diego
parents:
diff changeset
27 void vo_zr_revertoption(const m_option_t *opt, const char *param);
8fccdda74db0 Add header for functions exported from vo_zr.c and use it appropriately.
diego
parents:
diff changeset
28
8fccdda74db0 Add header for functions exported from vo_zr.c and use it appropriately.
diego
parents:
diff changeset
29 #endif /* MPLAYER_VO_ZR_H */