Re: [ecasound] Question: is it a bug, a feature or necessary evil ?

From: Artur <arus@email-addr-hidden>
Date: Tue Apr 13 2010 - 10:59:44 EEST


Poniższą wiadomość napisał(a) Julien Claassen <>w dniu 12.04.2010 18:09:

> Hello Artur!
> Are you sure, that you get 1024 samples or just a file of some size?

A file of size, which coresponds to exactly 1024 samples (1024 bytes for u8 1 channel, 2048 bytes for s16_le 1 channel, 2048 bytes for u8 2 channels etc.). Header of output wav also contains information about 1024 samples. All bytes are 0. It happens also, when outputing to .raw, so it is probably not caused by any third-party audio libraries.
Important note - it does not happen, when reading from empty wav file, but when data come for example from "null", pipe or unix socket (to be more precise - when data is supposed to come from "null", pipe or unix socket).
As I mentioned - it is not anything important, so I don't want anybody to waste the time if there isn't any visible reason at the first look.


> That would be udnerstandable. If you launch the engine, I think the
> files get touched or even filled with the basic wav-header.
> I don't know, if this is a "necessary evil", but I guess it increases
> speed, when really starting up and making sure everything is in order. I
> think you could connect this behaviour to start, but then you would have
> to do checks everytime you start. This way you only have to do it once.
> That's my guessing/reasoning.
> Kindest regards
> Julien
> --------
> Music was my first love and it will be my last (John Miles)
> ======== FIND MY WEB-PROJECT AT: ========
> the Linux TextBased Studio guide
> ======= AND MY PERSONAL PAGES AT: =======
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
Ecasound-list mailing list
Received on Tue Apr 13 12:15:03 2010

This archive was generated by hypermail 2.1.8 : Tue Apr 13 2010 - 12:15:03 EEST