Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
thavlik committed May 24, 2020
1 parent a5e2464 commit 60d1757
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 14 deletions.
2 changes: 1 addition & 1 deletion cli/Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ command = "../device/platform/build.sh"

[tasks.test]
command = "cargo"
args = ["test", "--", "--nocapture"]
args = ["test", "basic_stream", "--", "--nocapture"]
dependencies = ["device"]
7 changes: 5 additions & 2 deletions cli/src/cmd/device/platform/macos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -477,8 +477,11 @@ mod test {
recv_data.recv_timeout(Duration::from_secs(5))
.expect("did not receive data");

// The device should still be visible to cpal until CoreAudio is restarted
device.verify().unwrap();
// There is a discrepancy here between my 2018 Mac Mini and 2016 Macbook Pro.
// On Mac Mini 2018, the device is only removed from the system once
// CoreAudio is restarted. On the Macbook Pro 2016, the device disappears
// as soon as the directory is removed.
//device.verify().unwrap();

send_data.lock().unwrap().1 = true;

Expand Down
25 changes: 14 additions & 11 deletions device/platform/macOS/proxyAudioDevice.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -292,12 +292,12 @@
LastUpgradeCheck = 1010;
TargetAttributes = {
2D7477A81578168D00412279 = {
DevelopmentTeam = 9F38VUKBEB;
DevelopmentTeam = NT8P8N8KB5;
ProvisioningStyle = Automatic;
};
77CAB567221534640092B2B0 = {
CreatedOnToolsVersion = 10.1;
DevelopmentTeam = 9F38VUKBEB;
DevelopmentTeam = NT8P8N8KB5;
ProvisioningStyle = Automatic;
SystemCapabilities = {
com.apple.HardenedRuntime = {
Expand Down Expand Up @@ -604,10 +604,10 @@
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ENABLE_OBJC_WEAK = YES;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_IDENTITY = "Mac Developer";
CODE_SIGN_STYLE = Automatic;
COPY_PHASE_STRIP = NO;
DEVELOPMENT_TEAM = 9F38VUKBEB;
DEVELOPMENT_TEAM = NT8P8N8KB5;
GCC_PREPROCESSOR_DEFINITIONS = (
"$(inherited)",
"DEBUG=0",
Expand All @@ -631,10 +631,10 @@
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ENABLE_OBJC_WEAK = YES;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_IDENTITY = "Mac Developer";
CODE_SIGN_STYLE = Automatic;
COPY_PHASE_STRIP = NO;
DEVELOPMENT_TEAM = 9F38VUKBEB;
DEVELOPMENT_TEAM = NT8P8N8KB5;
GCC_PREPROCESSOR_DEFINITIONS = (
"$(inherited)",
"DEBUG=1",
Expand All @@ -658,10 +658,10 @@
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ENABLE_OBJC_WEAK = YES;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_IDENTITY = "Mac Developer";
CODE_SIGN_STYLE = Automatic;
COPY_PHASE_STRIP = NO;
DEVELOPMENT_TEAM = 9F38VUKBEB;
DEVELOPMENT_TEAM = NT8P8N8KB5;
GCC_PREPROCESSOR_DEFINITIONS = (
"$(inherited)",
"DEBUG=1",
Expand Down Expand Up @@ -700,7 +700,7 @@
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = NO;
DEVELOPMENT_TEAM = 9F38VUKBEB;
DEVELOPMENT_TEAM = NT8P8N8KB5;
ENABLE_HARDENED_RUNTIME = YES;
ENABLE_NS_ASSERTIONS = NO;
GCC_C_LANGUAGE_STANDARD = gnu11;
Expand All @@ -715,6 +715,7 @@
OTHER_LDFLAGS = "-lparadise_device";
PRODUCT_BUNDLE_IDENTIFIER = "net.briankendall.Proxy-Audio-Device-Settings";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
STRIP_INSTALLED_PRODUCT = NO;
STRIP_SWIFT_SYMBOLS = NO;
};
Expand All @@ -740,7 +741,7 @@
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
DEVELOPMENT_TEAM = 9F38VUKBEB;
DEVELOPMENT_TEAM = NT8P8N8KB5;
ENABLE_HARDENED_RUNTIME = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_DYNAMIC_NO_PIC = NO;
Expand All @@ -759,6 +760,7 @@
OTHER_LDFLAGS = "-lparadise_device";
PRODUCT_BUNDLE_IDENTIFIER = "net.briankendall.Proxy-Audio-Device-Settings";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
STRIP_INSTALLED_PRODUCT = NO;
STRIP_SWIFT_SYMBOLS = NO;
};
Expand All @@ -784,7 +786,7 @@
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
DEVELOPMENT_TEAM = 9F38VUKBEB;
DEVELOPMENT_TEAM = NT8P8N8KB5;
ENABLE_HARDENED_RUNTIME = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_DYNAMIC_NO_PIC = NO;
Expand All @@ -803,6 +805,7 @@
OTHER_LDFLAGS = "-lparadise_device";
PRODUCT_BUNDLE_IDENTIFIER = "net.briankendall.Proxy-Audio-Device-Settings";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
STRIP_INSTALLED_PRODUCT = NO;
STRIP_SWIFT_SYMBOLS = NO;
};
Expand Down

0 comments on commit 60d1757

Please sign in to comment.