Skip to content

Commit

Permalink
Disable audioipc
Browse files Browse the repository at this point in the history
  • Loading branch information
Fedor committed Oct 6, 2023
1 parent 7b3dbae commit 74df208
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions dom/media/CubebUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,6 @@
#define PREF_AUDIOIPC_POOL_SIZE "media.audioipc.pool_size"
#define PREF_AUDIOIPC_STACK_SIZE "media.audioipc.stack_size"

#if (defined(XP_LINUX) && !defined(MOZ_WIDGET_ANDROID)) || \
defined(XP_MACOSX) || (defined(XP_WIN) && !defined(_ARM64_))
# define MOZ_CUBEB_REMOTING
#endif

extern "C" {

// This must match AudioIpcInitParams in media/audioipc/client/src/lib.rs.
Expand Down
2 changes: 1 addition & 1 deletion toolkit/library/rust/gkrust-features.mozbuild
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ if CONFIG['MOZ_RUST_SIMD']:

# This feature is not yet supported on all platforms, and this check needs to
# match MOZ_CUBEB_REMOTING in CubebUtils.cpp.
if (CONFIG['OS_ARCH'] == 'Linux' and CONFIG['OS_TARGET'] != 'Android') or CONFIG['OS_ARCH'] == 'Darwin' or (CONFIG['OS_ARCH'] == 'WINNT' and CONFIG['CPU_ARCH'] != 'aarch64'):
if ((CONFIG['OS_ARCH'] == 'Linux' and CONFIG['OS_TARGET'] != 'Android') or CONFIG['OS_ARCH'] == 'Darwin' or (CONFIG['OS_ARCH'] == 'WINNT' and CONFIG['CPU_ARCH'] != 'aarch64')) and CONFIG['MOZ_CUBEB_REMOTING']:
gkrust_features += ['cubeb-remoting']

if CONFIG['MOZ_MEMORY']:
Expand Down

0 comments on commit 74df208

Please sign in to comment.