summaryrefslogtreecommitdiffstats
path: root/client/x11/playback.h
diff options
context:
space:
mode:
authorJeremy White <jwhite@codeweavers.com>2013-11-30 09:19:47 -0600
committerChristophe Fergeau <cfergeau@redhat.com>2014-01-02 12:39:04 +0100
commit530888ad900421ddbf43154fe0f9b916e7cde3c7 (patch)
tree6dc32cd8eab55663dd28f988f3ef7cf407e4fbce /client/x11/playback.h
parentce9b714137a767b81f2d3c40b5f3ce0d5cf70fc8 (diff)
downloadspice-530888ad900421ddbf43154fe0f9b916e7cde3c7.tar.gz
spice-530888ad900421ddbf43154fe0f9b916e7cde3c7.tar.xz
spice-530888ad900421ddbf43154fe0f9b916e7cde3c7.zip
Fix typo; sampel --> sample
Signed-off-by: Jeremy White <jwhite@codeweavers.com>
Diffstat (limited to 'client/x11/playback.h')
-rw-r--r--client/x11/playback.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/x11/playback.h b/client/x11/playback.h
index 383f02d3..c0b8c52e 100644
--- a/client/x11/playback.h
+++ b/client/x11/playback.h
@@ -25,7 +25,7 @@
class WavePlayer: public WavePlaybackAbstract {
public:
- WavePlayer(uint32_t sampels_per_sec, uint32_t bits_per_sample, uint32_t channels, uint32_t frame_size);
+ WavePlayer(uint32_t samples_per_sec, uint32_t bits_per_sample, uint32_t channels, uint32_t frame_size);
virtual ~WavePlayer();
virtual bool write(uint8_t* frame);
@@ -34,14 +34,14 @@ public:
virtual uint32_t get_delay_ms();
private:
- bool init(uint32_t sampels_per_sec, uint32_t bits_per_sample, uint32_t channel, uint32_t frame_size);
+ bool init(uint32_t samples_per_sec, uint32_t bits_per_sample, uint32_t channel, uint32_t frame_size);
void cleanup();
private:
snd_pcm_t* _pcm;
snd_pcm_hw_params_t* _hw_params;
snd_pcm_sw_params_t* _sw_params;
- uint32_t _sampels_per_ms;
+ uint32_t _samples_per_ms;
uint32_t _frame_size;
};