X-Git-Url: https://git.sesse.net/?p=nageru;a=blobdiff_plain;f=alsa_output.h;h=3d1d2ca4add8e5735b046720e612203780b27302;hp=12af16ecbfdd9ade616805fea169f7004899b0ff;hb=refs%2Fheads%2Fffmpeg-audio-only;hpb=194872611b21bb070f4dfcf5beda6c36d25459ea diff --git a/alsa_output.h b/alsa_output.h index 12af16e..3d1d2ca 100644 --- a/alsa_output.h +++ b/alsa_output.h @@ -9,7 +9,6 @@ // probably drift out of sync enough to make a little pop. #include - #include class ALSAOutput { @@ -21,7 +20,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)