Skip to content
Discussion options

You must be logged in to vote

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

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by adevoss
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants