alsa: add option to force a samplerate

This commit is contained in:
Wim Taymans 2020-09-16 15:14:26 +02:00
parent e5f7e040dc
commit 1bf6dead10
5 changed files with 13 additions and 0 deletions

View file

@ -104,6 +104,7 @@ struct state {
struct spa_audio_info current_format;
unsigned int default_channels;
unsigned int default_rate;
snd_pcm_uframes_t buffer_frames;
snd_pcm_uframes_t period_frames;