Page 1 of 1

how can I set a pointer for many frames?

Posted: 10 Dec 2015 15:00
by Micha2223
Hi

i write a audio denoiser for the vlc player.
So i need a to save analytic data for all another frames.

How can I do this?

Situation::

When a audio module start then get the "Process - Methode" a size of samples.
this samples are a frame of the track and all frames are a track.

Now i need to save or set data only one time for all frames.
How can i do this?

Re: how can I set a pointer for many frames?

Posted: 10 Dec 2015 15:08
by RĂ©mi Denis-Courmont
You can store internal filter state in filter_sys_t.p_sys

Re: how can I set a pointer for many frames?

Posted: 10 Dec 2015 15:32
by Micha2223
Great !!

thanks a lot!

Re: how can I set a pointer for many frames?

Posted: 14 Dec 2015 21:56
by Micha2223
Hello,

i think i was little bit to rash.
Because i don't know how can i set a "float Pointer" to p_sys?
and get back it from there?

I found in filter_t the member p_sys from typ of filter_sys_t but i don't
found a document about filter_sys_t...

I looked in the the equalizer.c model for a solution but it doesn't works in my case und my
the vlc player fall down when i will start it.

Hope you can help me !!

Cheers
Micha