mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-17 08:56:49 -05:00
node: improve callbacks
Make separate callbacks for events and RT notifications.
This commit is contained in:
parent
fb0919b8b7
commit
3b33e3d362
32 changed files with 557 additions and 481 deletions
|
|
@ -121,7 +121,7 @@ struct _SpaALSAState {
|
|||
snd_pcm_stream_t stream;
|
||||
snd_output_t *output;
|
||||
|
||||
SpaEventNodeCallback event_cb;
|
||||
SpaNodeCallbacks callbacks;
|
||||
void *user_data;
|
||||
|
||||
uint8_t props_buffer[1024];
|
||||
|
|
@ -185,7 +185,7 @@ spa_alsa_enum_format (SpaALSAState *state,
|
|||
|
||||
int spa_alsa_set_format (SpaALSAState *state,
|
||||
SpaAudioInfo *info,
|
||||
SpaPortFormatFlags flags);
|
||||
uint32_t flags);
|
||||
|
||||
SpaResult spa_alsa_start (SpaALSAState *state, bool xrun_recover);
|
||||
SpaResult spa_alsa_pause (SpaALSAState *state, bool xrun_recover);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue