upipe-modules/upipe_audiocont.h header reference
Upipe module audio continuity More
Header inclusion [link]
Members [link]
Types [link]
Functions [link]
- int upipe_audiocont_get_crossblend(struct upipe *upipe, uint64_t *crossblend_p)
- int upipe_audiocont_get_current_input(struct upipe *upipe, const char **name_p)
- int upipe_audiocont_get_input(struct upipe *upipe, const char **name_p)
- int upipe_audiocont_get_latency(struct upipe *upipe, uint64_t *latency_p)
- struct upipe_mgr * upipe_audiocont_mgr_alloc(void )
- int upipe_audiocont_set_crossblend(struct upipe *upipe, uint64_t crossblend)
- int upipe_audiocont_set_input(struct upipe *upipe, const char *name)
- int upipe_audiocont_set_latency(struct upipe *upipe, uint64_t latency)
- int upipe_audiocont_sub_set_input(struct upipe *upipe)
Description [link]
Upipe module audio continuity
Members detail [link]
#define UPIPE_AUDIOCONT_SIGNATURE [link]
This macro is declared in upipe-modules/upipe_audiocont.h source file, line 40.
#define UPIPE_AUDIOCONT_SUB_SIGNATURE [link]
This macro is declared in upipe-modules/upipe_audiocont.h source file, line 41.
#define _UPIPE_MODULES_UPIPE_AUDIOCONT_H_ [link]
This macro is declared in upipe-modules/upipe_audiocont.h source file, line 33.
enum upipe_audiocont_command [link]
This enum is declared in upipe-modules/upipe_audiocont.h source file, line 46.
This enum extends upipe_command with specific commands for upipe_audiocont pipes.
| Identifier | Value | Description |
|---|---|---|
| UPIPE_AUDIOCONT_SENTINEL | 0x8000 | |
| UPIPE_AUDIOCONT_GET_CURRENT_INPUT | 1 | returns the current input name if any (const char **) |
| UPIPE_AUDIOCONT_GET_INPUT | 2 | returns the (next) input name (const char **) |
| UPIPE_AUDIOCONT_SET_INPUT | 3 | sets the grid input by its name (const char *) |
| UPIPE_AUDIOCONT_GET_LATENCY | 4 | returns the current pts latency (uint64_t *) |
| UPIPE_AUDIOCONT_SET_LATENCY | 5 | sets the pts latency (uint64_t) |
| UPIPE_AUDIOCONT_GET_CROSSBLEND | 6 | returns the current crossblend period (uint64_t *) |
| UPIPE_AUDIOCONT_SET_CROSSBLEND | 7 | sets the crossblend period (uint64_t) |
This function is declared in upipe-modules/upipe_audiocont.h source file, line 147.
This function returns the current crossblend period.
Parameter list:
- upipe: description structure of the pipe
- crossblend_p: filled with current crossblend period
The return value is an error code
This function is declared in upipe-modules/upipe_audiocont.h source file, line 82.
This function returns the current input name if any.
Parameter list:
- upipe: description structure of the pipe
- name_p: filled with current input name pointer or NULL
The return value is an error code
This function is declared in upipe-modules/upipe_audiocont.h source file, line 95.
This function returns the (next) input name.
Parameter list:
- upipe: description structure of the pipe
- name_p: filled with (next) input name pointer or NULL
The return value is an error code
This function is declared in upipe-modules/upipe_audiocont.h source file, line 121.
This function returns the current pts latency.
Parameter list:
- upipe: description structure of the pipe
- latency_p: filled with current pts latency
The return value is an error code
This function is declared in upipe-modules/upipe_audiocont.h source file, line 180.
This function returns the management structure for all ts_join pipes.
The return value is pointer to manager
This function is declared in upipe-modules/upipe_audiocont.h source file, line 160.
This function sets the crossblend period.
Parameter list:
- upipe: description structure of the pipe
- crossblend: crossblend period
The return value is an error code
This function is declared in upipe-modules/upipe_audiocont.h source file, line 108.
This function sets the grid input by its name.
Parameter list:
- upipe: description structure of the pipe
- name: input name
The return value is an error code
This function is declared in upipe-modules/upipe_audiocont.h source file, line 134.
This function sets the pts latency.
Parameter list:
- upipe: description structure of the pipe
- latency: pts latency
The return value is an error code
enum upipe_audiocont_sub_command [link]
This enum is declared in upipe-modules/upipe_audiocont.h source file, line 67.
This enum extends upipe_command with specific commands for upipe_audiocont subpipes.
| Identifier | Value | Description |
|---|---|---|
| UPIPE_AUDIOCONT_SUB_SENTINEL | 0x8000 | |
| UPIPE_AUDIOCONT_SUB_SET_INPUT | 1 | This sets a audiocont subpipe as its grandpipe input (void) |
This function is declared in upipe-modules/upipe_audiocont.h source file, line 171.
This function sets a audiocont subpipe as its grandpipe input.
Parameter list:
- upipe: description structure of the (sub)pipe
The return value is an error code