From: Jeroen A. <j.a...@it...> - 2003-06-17 13:14:54
|
Miguel Freitas wrote: > On Tue, 2003-06-17 at 03:47, Jeroen Asselman wrote: > > James Stembridge wrote: > > > > > Hi, > > > > > > On Monday 16 Jun 2003 08:17, Jeroen Asselman wrote: > > > > The patch includes a modified demux_yuv_frames.c, an heavily modified > > > > input_v4l.c, an pcm.c 'decoder'. And a small fix in the realaudio > > > > demuxer, because the mimetypes missed a ';'. > > > > > > Is it not possible to use the existing linear pcm decoder rather than adding > > > another one? > > > > Tried it, but that didn't work. Of course I could have done something wrong. > > allow me to say you probably did something wrong... :) Well.... > i don't think we need another lpcm "decoder" at all. following are some > hints that come to my mind in order to use the existing lpcm decoder: > > - you must set the type to either BUF_AUDIO_LPCM_BE or > BUF_AUDIO_LPCM_LE. since you are reading from alsa/oss i think it will > always be machine endianness so just set the type to reflect that. I did set these. > - don't forget to pass a BUF_FLAG_HEADER before sending any data. see > lpcm source if you have any doubt on how config is set. But I didn't set those. Didn't actually now I would need to do that. Unfortunately, I won't be given anymore time to work on this from my boss, so I don't expect that I can figure this out and/or implement it soon. And my spare time goes to another project for the moment. -- Jeroen ITsec Professional Services, Postbus 5120, 2000 GC HAARLEM Tel: +31 - (0)23 542 05 78 Fax: +31 - (0)23 534 54 77 |