Reimar Döffinger a écrit :
On Sat, Jul 10, 2010 at 07:49:31PM +0200, Sebastian Vater wrote:
Particularly uint16_t volume_left; uint8_t volume;
Changing volume_left & volume_right to 16.16 fixed point would be a good idea, though.
Normal single channel volume is from 0-255 since that is the volume range in the trackers.
You'll have to know it in the end, but I think having different representations and ranges for the volume is going to be very confusing for most people trying to understand the code. Also converting 0-255 range to 16.16 should just be something like (v << 8) + (v >> 7)
Hi I have excellent news! libavsequencer now flawlessly integrates into FFmpeg, just check out my latest git. Please do a git pull --rebase, Stefano had problems without using it. Here are the avsequencer.[ch] part of the BSS to review. This version compiles perfectly. -- Best regards, :-) Basty/CDGS (-: