disable key

This commit is contained in:
Dan-guanghua
2025-12-16 13:32:58 +08:00
parent dee4562d40
commit 1a25a15695

View File

@@ -67,7 +67,7 @@ void key_receiver(chanend_t c)
// tile0 // tile0
// load the license key // load the license key
// This function must be called before audio_ex3d_activate_key. // This function must be called before audio_ex3d_activate_key.
audio_ex3d_load_key(c); // audio_ex3d_load_key(c);
} }
void key_sender(chanend_t c) void key_sender(chanend_t c)
@@ -77,12 +77,14 @@ void key_sender(chanend_t c)
// tile1 // tile1
// activate the license key // activate the license key
// if the keys match, the function returns 0. // if the keys match, the function returns 0.
#if 0
int ret = audio_ex3d_activate_key(c); int ret = audio_ex3d_activate_key(c);
if (ret == NO_ERR) { if (ret == NO_ERR) {
debug_printf("License keys match.\n"); debug_printf("License keys match.\n");
} else { } else {
debug_printf("License keys do not match. Error code: %d\n", ret); debug_printf("License keys do not match. Error code: %d\n", ret);
} }
#endif
} }
void UserBufferManagementInit(unsigned sampFreq) void UserBufferManagementInit(unsigned sampFreq)