-
|
Hi everyone, In file File Debug log: Why the data is lost when |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
|
Hi, sorry for the delay. When I build 1299, the build breaks: The incompatible pointer types easily could cause empty values. |
Beta Was this translation helpful? Give feedback.
-
|
As @christf pointed out the compiler already wants you that the types are not compatible. You are passing a voice struct where you need to pass a attr struct. In fc009f7 I fixed exactly this by using a intermediate attr which gets the right type and the voice data you already wanted to set. Why does it look like the data is lost? |
Beta Was this translation helpful? Give feedback.
-
|
@jkoan Thanks for solving this last step. |
Beta Was this translation helpful? Give feedback.
As @christf pointed out the compiler already wants you that the types are not compatible. You are passing a voice struct where you need to pass a attr struct. In fc009f7 I fixed exactly this by using a intermediate attr which gets the right type and the voice data you already wanted to set.
Why does it look like the data is lost?
Inside the set attr function thers a switch on the type of the attr, which is null because it's not an attr at all. Not the data is null, but it's type because the data is wrong in the first place