mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
Fix up audio formats as well
This commit is contained in:
parent
b67c216a04
commit
a973007a49
12 changed files with 82 additions and 58 deletions
|
|
@ -105,7 +105,7 @@ spa_alsa_format_to_alsa (SpaAudioFormat format)
|
|||
}
|
||||
|
||||
static int
|
||||
alsa_set_format (SpaALSASink *this, SpaAudioRawFormat *fmt, bool try_only)
|
||||
alsa_set_format (SpaALSASink *this, SpaFormatAudio *fmt, bool try_only)
|
||||
{
|
||||
unsigned int rrate;
|
||||
snd_pcm_uframes_t size;
|
||||
|
|
@ -113,7 +113,7 @@ alsa_set_format (SpaALSASink *this, SpaAudioRawFormat *fmt, bool try_only)
|
|||
snd_pcm_hw_params_t *params;
|
||||
snd_pcm_format_t format;
|
||||
SpaALSAState *state = &this->state;
|
||||
SpaAudioRawInfo *info = &fmt->info;
|
||||
SpaAudioInfoRaw *info = &fmt->info.raw;
|
||||
snd_pcm_t *handle;
|
||||
unsigned int buffer_time;
|
||||
unsigned int period_time;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue