Re: [flac-dev] remove src/libFLAC/ia32 permanently?

2012-04-12 Thread Cristian Rodríguez
El 12/04/12 22:55, Ben Allison escribió:
> No.  It is much faster, measurably.  Anyone who believes the old adage that 
> compilers outperform humans isn't writing math code or is just a lousy 
> assembly programmer.

In which system/compiler did you tried it ?



___
flac-dev mailing list
flac-dev@xiph.org
http://lists.xiph.org/mailman/listinfo/flac-dev


Re: [flac-dev] remove src/libFLAC/ia32 permanently?

2012-04-12 Thread Ben Allison
No.  It is much faster, measurably.  Anyone who believes the old adage that 
compilers outperform humans isn't writing math code or is just a lousy assembly 
programmer.  

On Apr 12, 2012, at 9:32 PM, Cristian Rodríguez  
wrote:

> Hi:
> 
> In my opinion, we should axe all pure asm implementations in 
> src/libFLAC/ia32 and the relevant configure options.
> 
> Reasons are simple:
> 
> - modern compilers plus the use of intrisincs make the code as faster
>   as possible, if you need maximum speed I suggest you to build with 
> profiling enabled. ;)
> 
> - there is no support for x86_64 (that is.. all modern PC ;-) ) or for 
> arm (most modern phones and media players)
> 
> - AFAIK, those assembler optimizations may be even slower than the C 
> code or buggy.
> 
> Thoughts ?
> 
> Cheers!
> ___
> flac-dev mailing list
> flac-dev@xiph.org
> http://lists.xiph.org/mailman/listinfo/flac-dev
___
flac-dev mailing list
flac-dev@xiph.org
http://lists.xiph.org/mailman/listinfo/flac-dev


[flac-dev] remove src/libFLAC/ia32 permanently?

2012-04-12 Thread Cristian Rodríguez
Hi:

In my opinion, we should axe all pure asm implementations in 
src/libFLAC/ia32 and the relevant configure options.

Reasons are simple:

- modern compilers plus the use of intrisincs make the code as faster
   as possible, if you need maximum speed I suggest you to build with 
profiling enabled. ;)

- there is no support for x86_64 (that is.. all modern PC ;-) ) or for 
arm (most modern phones and media players)

- AFAIK, those assembler optimizations may be even slower than the C 
code or buggy.

Thoughts ?

Cheers!
___
flac-dev mailing list
flac-dev@xiph.org
http://lists.xiph.org/mailman/listinfo/flac-dev


[flac-dev] FLAC QUESTION

2012-04-12 Thread Rafael Velasquez
Hello,

I'm using flac for an application.
The fact is that i'm trying to encode a file that is not necessary a wav
file.

So, at first, i would like to know if it's possible to encode a file
different from the wav file with the flac encoder ?

When i put my data into : ok =
FLAC__stream_encoder_process_interleaved(encoder, pcm, need);

after some rounds in my boucl i get  :
encoding: FAILED
   state: FLAC__STREAM_ENCODER_VERIFY_MISMATCH_IN_AUDIO_DATA   (<=== what
does it really mean ? and what are the reasons to be in this case ? )

I'm not english spoker, so sorry if i'm not very clear.

Best regards,

Rafael
___
flac-dev mailing list
flac-dev@xiph.org
http://lists.xiph.org/mailman/listinfo/flac-dev