X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=alsa_output.h;h=90223b75baa71d9438cf3ce2c8580f797c347a48;hb=7895dde165b0586eea324b4c9e07f8f0a2b7e1ba;hp=12af16ecbfdd9ade616805fea169f7004899b0ff;hpb=194872611b21bb070f4dfcf5beda6c36d25459ea;p=nageru diff --git a/alsa_output.h b/alsa_output.h index 12af16e..90223b7 100644 --- a/alsa_output.h +++ b/alsa_output.h @@ -21,7 +21,7 @@ private: snd_pcm_t *pcm_handle; std::vector buffer; snd_pcm_uframes_t period_size; - int num_channels; + int sample_rate, num_channels; }; #endif // !defined(_ALSA_OUTPUT_H)