[flac-dev] [PATCH] support 7 and 8 channel wav files as input

Erik de Castro Lopo mle+la at mega-nerd.com
Fri Mar 1 14:17:17 PST 2013


Ralph Giles wrote:

> @@ -354,6 +354,11 @@ FLAC__bool DecoderSession_process(DecoderSession *d)
>  		else if(d->channels == 6) {
>  			d->channel_mask = 0x060f;
>  		}
> +                else if(d->channels == 7) {
> +                        d->channel_mask = 0x070f;
> +                }
> +                else if(d->channels == 8) {
> +                        d->channel_mask = 0x063f;
>  	}
>  
>  	/* write the WAVE/AIFF headers if necessary */

Ralph, looks like there's a missing closing brace there. Do you want to fix
it and resubmit or should I fix it?

Cheers,
Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/


More information about the flac-dev mailing list