Max Kellermann
|
3aa4564b56
|
output: removed audio_output.sameInAndOutFormats
Eliminate sameInAndOutFormats and check with audio_format_equals()
each time it this information is needed. Another 4 bytes saved.
|
2008-09-11 07:48:30 +02:00 |
|
Max Kellermann
|
56cf54e880
|
output: removed audio_output.convertAudioFormat
Instead of checking convertAudioFormat, we can simply check if
reqAudioFormat is defined. This saves 4 bytes in the struct.
|
2008-09-11 07:47:28 +02:00 |
|
Max Kellermann
|
755d55075d
|
output: renamed method names
No CamelCase. Also don't declare typedefs for the methods.
|
2008-09-09 10:01:34 +02:00 |
|
Max Kellermann
|
3f6fe915eb
|
output: const plugin structures
Since the plugin struct is never modified, we should store it in
constant locations.
|
2008-09-08 11:43:38 +02:00 |
|
Max Kellermann
|
a0103dd05c
|
output: replace audio_output.*Func with audio_output.plugin
Instead of copying all that stuff from the audio output plugin to the
audio output structure, store a pointer to the plugin.
|
2008-09-07 22:42:51 +02:00 |
|
Max Kellermann
|
3b09c54b67
|
output: renamed typedef AudioOutput to struct audio_output
Also rename AudioOutputPlugin to struct audio_output_plugin, and use
forward declarations to reduce include dependencies.
|
2008-09-07 22:41:22 +02:00 |
|
Max Kellermann
|
bed2a49fe9
|
output: added output_api.h
Just like decoder_api.h, output_api.h provides the audio output API
which is used by the plugins.
|
2008-09-07 22:41:17 +02:00 |
|