bg_fa_plugin_s Struct Reference
[A/V Filters]
Audio filter plugin.
More...
#include <plugin.h>
Detailed Description
Audio filter plugin.
Field Documentation
Infos and functions common to all plugin types.
Set input callback.
- Parameters:
-
| priv | The handle returned by the create() method - Parameters:
-
| func | The function to call - Parameters:
-
| data | The private handle to pass to func - Parameters:
-
| stream | The stream argument to pass to func - Parameters:
-
| port | The input port of the plugin |
|
|
|
|
Set input format.
- Parameters:
-
| priv | The handle returned by the create() method - Parameters:
-
| format | Format - Parameters:
-
| port | The input port of the plugin |
The input format can be changed by the plugin. Make sure that you have a format converter before the filter. |
|
Reset.
- Parameters:
-
| priv | The handle returned by the create() method |
Optional, resets internal state, as if no frame has been processed before.
Get output format.
- Parameters:
-
| priv | The handle returned by the create() method - Parameters:
-
| format | Returns the output format |
These must be called after init(). |
Report, if the plugin must be reinitialized.
- Parameters:
-
| priv | The handle returned by the create() method - Returns:
- 1 if the plugin must be reinitialized, 0 else
Optional, must be called after set_parameter() to check, if the filter must be reinitialized. Note, that the input and output formats can be changed in this case as well. |
Read audio samples from the plugin.
The documentation for this struct was generated from the following file:
- /usr/src/packages/BUILD/gmerlin-1.0.0/include/gmerlin/plugin.h