X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=alsa_output.h;fp=alsa_output.h;h=90223b75baa71d9438cf3ce2c8580f797c347a48;hb=b6dd6ef68b91fc8af13ff7173b7338f449cf923a;hp=12af16ecbfdd9ade616805fea169f7004899b0ff;hpb=2dfee85a4cba5685dcc8f88045084fc3f1a64032;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)