2021-04-27 02:18:12 +00:00
|
|
|
{ nullOgg, pkgs }:
|
|
|
|
pkgs.writeText
|
|
|
|
"nullOgg.patch"
|
|
|
|
''
|
|
|
|
diff --git a/src/audio/soundcache.rs b/src/audio/soundcache.rs
|
2021-06-23 05:52:04 +00:00
|
|
|
index f08a4bdab..c2036336e 100644
|
2021-04-27 02:18:12 +00:00
|
|
|
--- a/src/audio/soundcache.rs
|
|
|
|
+++ b/src/audio/soundcache.rs
|
2021-06-23 05:52:04 +00:00
|
|
|
@@ -38,7 +38,7 @@ impl OggSound {
|
|
|
|
|
2021-04-27 02:18:12 +00:00
|
|
|
pub fn empty() -> OggSound {
|
2021-06-23 05:52:04 +00:00
|
|
|
SoundLoader::load(
|
|
|
|
- Cow::Borrowed(include_bytes!("../../../assets/voxygen/audio/null.ogg")),
|
|
|
|
+ Cow::Borrowed(include_bytes!("${nullOgg}")),
|
|
|
|
"empty",
|
|
|
|
)
|
|
|
|
.unwrap()
|
2021-04-27 02:18:12 +00:00
|
|
|
''
|
2021-06-23 05:52:04 +00:00
|
|
|
|