[vlc-devel] Starting Scaletempo for VLC

Rafaël Carré 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.

Nice :)

> 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?

looks good

> - 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

-- 
Rafaël Carré
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20080608/26a4ecdd/attachment.sig>


More information about the vlc-devel mailing list