obviously, some steps missing here. are you doing
AUDIO_INITINFO(&Inf);
AUDIO_GETINFO(&Inf);
Inf.foo = bar;
AUDIO_SETINFO(&Inf);
or just
AUDIO_INITINFO(&Inf);
Inf.foo = bar;
AUDIO_SETINFO(&Inf);
if you are doing the first, like audioctl does, try the second. does that
work properly?
I was doing this (assumming that GETINFO initializes the struct):
AUDIO_GETINFO(&Inf);
Inf.foo = bar;
AUDIO_SETINFO(&Inf);
Adding "AUDIO_INITINFO(&Inf);" before GETINFO doesn't gave any results, and
AUDIO_INITINFO(&Inf);
Inf.foo = bar;
AUDIO_SETINFO(&Inf);
works fine.