annotate libao2/audio_plugin_internal.h @ 8534:922ce27eb683

This patch adds support for vertical subtitle alignment control. Possible values are top, center, and bottom, with bottom being the default. Alignment is relevant when it comes to positioning subtitles with one line (or fewer lines) of text relative to multi-line subtitles. It is implemented as a new command (sub_alignment) that without an argument cycles the alignment (between top, center, and bottom), or with an argument sets the alignment (0 for top, 1 for center, 2 for bottom). The key 'i' is bound to this command. patch by Oskar Liljeblad (oskar@osk.mine.nu)
author arpi
date Mon, 23 Dec 2002 01:37:43 +0000
parents bb1d608c73ae
children 12b1790038b0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3096
15abd9121737 ao_plugin.c and plugin headers added
anders
parents:
diff changeset
1 // prototypes:
15abd9121737 ao_plugin.c and plugin headers added
anders
parents:
diff changeset
2 static int control(int cmd,int arg);
3107
ef2287ccc42b Changes to audio out plugin, first plugin added
anders
parents: 3096
diff changeset
3 static int init();
3096
15abd9121737 ao_plugin.c and plugin headers added
anders
parents:
diff changeset
4 static void uninit();
15abd9121737 ao_plugin.c and plugin headers added
anders
parents:
diff changeset
5 static void reset();
3107
ef2287ccc42b Changes to audio out plugin, first plugin added
anders
parents: 3096
diff changeset
6 static int play();
3096
15abd9121737 ao_plugin.c and plugin headers added
anders
parents:
diff changeset
7
3316
bb1d608c73ae LIBAO_PLUGIN_EXTERN expansion uses wrong type
steve
parents: 3107
diff changeset
8 #define LIBAO_PLUGIN_EXTERN(x) ao_plugin_functions_t audio_plugin_##x =\
3096
15abd9121737 ao_plugin.c and plugin headers added
anders
parents:
diff changeset
9 {\
15abd9121737 ao_plugin.c and plugin headers added
anders
parents:
diff changeset
10 &info,\
15abd9121737 ao_plugin.c and plugin headers added
anders
parents:
diff changeset
11 control,\
15abd9121737 ao_plugin.c and plugin headers added
anders
parents:
diff changeset
12 init,\
15abd9121737 ao_plugin.c and plugin headers added
anders
parents:
diff changeset
13 uninit,\
15abd9121737 ao_plugin.c and plugin headers added
anders
parents:
diff changeset
14 reset,\
15abd9121737 ao_plugin.c and plugin headers added
anders
parents:
diff changeset
15 play,\
15abd9121737 ao_plugin.c and plugin headers added
anders
parents:
diff changeset
16 };