On 2009/11/03 16:10, kernel error <k3rn3l.3r...@gmail.com> wrote:
> After take a lookt at source code, I'm guessing the code doen't fill
> completly the buffer, it fill only a part of song frame by frame, so
> thats an essential part of code, i can't remove this loop.

Stop guessing.

- I don't see any "frame by frame" code, please point me to it.

- what is the meaning of "need", "donow", "left", "pos"?

- why does the loop call memset()?  Why does it generate zeroes after
  the end of the song?

- why does the loop alternate between two states?  (gen_sound and
  getframe)  Why not just call these two sequentially?

- what if ayemu_gen_sound() generates less than the specified number
  of bytes?

- "44100 / vtx->playerFreq" what does that formula do?

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team

Reply via email to