Re: Quality resampling code for libasound

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Well, did you take a look at alsa-plugins/rate/rate_samplerate.c?
> That's _much_ easier than rewrting alsa-lib pcm_rate.c.  This is
> another reason I recommended the external plugin as a first attempt.
> (And we can change the default thing later on, for example, after
>  checking whether it gets no performance drawback.)

Here's the plugin code. It's self-contained (includes my Public Parrot
Hack code) and it's based on on the libsamplerate plugin. I've tested it
and it seems to work right, but I'm not sure the code handles
"fractional samples" perfectly. By that I mean that I don't see how the
plugin is supposed to handle the fact that the number of output samples
may vary even with the same number of input samples (e.g. downsampling
1024 samples by a factor of 3 may produce either 341 or 342 samples).

	Jean-Marc

Attachment: pph.tar.gz
Description: GNU Zip compressed data

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux