Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sdroege/gst-plugin-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVivia Nikolaidou <vivia@ahiru.eu>2022-10-14 17:50:57 +0300
committerVivia Nikolaidou <vivia@ahiru.eu>2022-10-14 18:21:28 +0300
commitb68832638313c1e659240881a023a3775ba5d4fe (patch)
tree70047761cfb0e48fc9c330308ae022a5623ddf55 /audio/audiofx
parent9b1361b538ad2c214012571a22d0c871eb75f805 (diff)
audio: Use channel_mask() for AudioCapsBuilder
Diffstat (limited to 'audio/audiofx')
-rw-r--r--audio/audiofx/tests/hrtfrender.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/audiofx/tests/hrtfrender.rs b/audio/audiofx/tests/hrtfrender.rs
index 1b0abd66..ac27c29c 100644
--- a/audio/audiofx/tests/hrtfrender.rs
+++ b/audio/audiofx/tests/hrtfrender.rs
@@ -44,7 +44,7 @@ fn test_hrtfrender_samples_in_samples_out() {
.format(gst_audio::AUDIO_FORMAT_F32)
.rate(44_100)
.channels(1)
- .field("channel-mask", gst::Bitmask::new(0x1))
+ .channel_mask(0x1)
.build();
let sink_caps = gst_audio::AudioCapsBuilder::new_interleaved()
@@ -99,7 +99,7 @@ fn test_hrtfrender_implicit_spatial_objects() {
.format(gst_audio::AUDIO_FORMAT_F32)
.rate(44_100)
.channels(8)
- .field("channel-mask", gst::Bitmask::new(0xc3f))
+ .channel_mask(0xc3f)
.build();
let sink_caps = gst_audio::AudioCapsBuilder::new_interleaved()