mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-20 08:56:56 -05:00
alsa: make it possible to configure the clock name
When nodes are synchronized to a common clock, the clock name can be set to the same value on the alsa nodes and no resampling will be done.
This commit is contained in:
parent
e1576c53d4
commit
0648297fcb
2 changed files with 26 additions and 18 deletions
|
|
@ -128,7 +128,6 @@ struct state {
|
|||
|
||||
bool opened;
|
||||
snd_pcm_t *hndl;
|
||||
int pcm_card;
|
||||
|
||||
bool have_format;
|
||||
struct spa_audio_info current_format;
|
||||
|
|
@ -142,6 +141,7 @@ struct state {
|
|||
struct channel_map default_pos;
|
||||
unsigned int disable_mmap;
|
||||
unsigned int disable_batch;
|
||||
char clock_name[64];
|
||||
|
||||
snd_pcm_uframes_t buffer_frames;
|
||||
snd_pcm_uframes_t period_frames;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue