[vlc-devel] Starting Scaletempo for VLC
funman at videolan.org
Sun Jun 8 23:08:27 CEST 2008
Le Fri, 06 Jun 2008 11:48:14 -0400,
Rov Juvano <rovjuvano at users.sourceforge.net> a écrit :
> I'm working on a patch that maintains the audio pitch when
> the playback rate != 1.0. Similar to SoundTouch but in C and
> with no external dependencies.
> I have the resampling code written but I'll need some help
> gluing it into VLC. Like:
> - Where to hook into the audio stream?
> src/audio_output/input.c:aout_InputPlay? a regular filter?
> - How to determine the current input rate (or when it changes)?
in this function: if( i_input_rate != INPUT_RATE_DEFAULT
> - What's its interface? a module?
> - Any good docs, examples, template for its interface?
> - Would it need to re-timestamp buffers? If so, how?
> - How to get samples as s16 or float?
> - Anything else you think would be helpful as I get started?
For the rest, I can't help you sorry, and I don't know who is familiar
with this part of the code.
If you need help you can try our irc channel: freenode @ #videolan
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 197 bytes
Desc: not available
More information about the vlc-devel