how can I set a pointer for many frames?

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
Micha2223
New Cone
New Cone
Posts: 5
Joined: 12 Aug 2015 09:42

how can I set a pointer for many frames?

Postby Micha2223 » 10 Dec 2015 15:00

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?

Rémi Denis-Courmont
Developer
Developer
Posts: 15318
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

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

Postby Rémi Denis-Courmont » 10 Dec 2015 15:08

You can store internal filter state in filter_sys_t.p_sys
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Micha2223
New Cone
New Cone
Posts: 5
Joined: 12 Aug 2015 09:42

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

Postby Micha2223 » 10 Dec 2015 15:32

Great !!

thanks a lot!

Micha2223
New Cone
New Cone
Posts: 5
Joined: 12 Aug 2015 09:42

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

Postby Micha2223 » 14 Dec 2015 21:56

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


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 99 guests