diff options
author | Jeremy White <jwhite@codeweavers.com> | 2013-11-30 09:19:21 -0600 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2014-01-02 12:36:59 +0100 |
commit | ce9b714137a767b81f2d3c40b5f3ce0d5cf70fc8 (patch) | |
tree | d0d0c87004994d5d037fb63a7c1d588bafe11226 /client/x11/platform.cpp | |
parent | 4c7c0ef3a70001b1bc9011ef824d3c6fcccd9ca0 (diff) | |
download | spice-ce9b714137a767b81f2d3c40b5f3ce0d5cf70fc8.tar.gz spice-ce9b714137a767b81f2d3c40b5f3ce0d5cf70fc8.tar.xz spice-ce9b714137a767b81f2d3c40b5f3ce0d5cf70fc8.zip |
Add support for the Opus codec
Signed-off-by: Jeremy White <jwhite@codeweavers.com>
Diffstat (limited to 'client/x11/platform.cpp')
-rw-r--r-- | client/x11/platform.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/client/x11/platform.cpp b/client/x11/platform.cpp index b8563b3f..bb8704c4 100644 --- a/client/x11/platform.cpp +++ b/client/x11/platform.cpp @@ -3433,16 +3433,18 @@ void Platform::reset_cursor_pos() WaveRecordAbstract* Platform::create_recorder(RecordClient& client, uint32_t sampels_per_sec, uint32_t bits_per_sample, - uint32_t channels) + uint32_t channels, + uint32_t frame_size) { - return new WaveRecorder(client, sampels_per_sec, bits_per_sample, channels); + return new WaveRecorder(client, sampels_per_sec, bits_per_sample, channels, frame_size); } WavePlaybackAbstract* Platform::create_player(uint32_t sampels_per_sec, uint32_t bits_per_sample, - uint32_t channels) + uint32_t channels, + uint32_t frame_size) { - return new WavePlayer(sampels_per_sec, bits_per_sample, channels); + return new WavePlayer(sampels_per_sec, bits_per_sample, channels, frame_size); } void XPlatform::on_focus_in() |