Displaying 7 results from an estimated 7 matches for "zodiactorp".
2005 Sep 08
2
Reg. I/O callbacks.
Supposing I want to use the File decoder., and set the I/O callbacks.
How do I do it? The API (version 1.1.2) documentation gives functions to
set the ``write``, ``metadata`` and ``error`` callback. What about the
``read``., ``eof``, etc. callbacks.
If i'm using the file decoder., can i still use the functions from the
stream_decoder_set_* for this?
--
Joe Steeve (http://www.joesteeve.org/)
2005 Oct 06
2
Re: Reg. FLAC decoding
On Fri, 2005-09-30 at 23:14, Josh Coalson wrote:
> but all samples in buffer[] are 32-bit signed integers in host
> order, regardless of the bits-per-sample of the frame. so to get
> them down to shorts (assuming they'll fit), do like:
>
> FLAC__int32 * LChannel = buffer[0];
> short TempSource = (short)LChannel[LPos];
>
> instead of
>
> LChannel =
2005 Oct 25
2
Re: Reg. FLAC decoding
Sorry for the delay in getting back to you., I was working on something
else and just now got FLAC to work.
Ok., FLAC files are playing now :) Cheers. There is a slight noise
happening in the background., which i'm figuring out. I hope that it'll
be solved soon. However, i wanted to know if there are any ARM specific
optimizations that can be done. The processor is a 166MHz processor. Do
2005 Oct 25
0
Re: Reg. FLAC decoding
--- Joe Steeve <joesteeve@zodiactorp.com> wrote:
> Sorry for the delay in getting back to you., I was working on
> something
> else and just now got FLAC to work.
>
> Ok., FLAC files are playing now :) Cheers. There is a slight noise
> happening in the background., which i'm figuring out. I hope that
> it...
2005 Oct 25
1
Re: Reg. FLAC decoding
On Tue, 2005-10-25 at 23:04, Josh Coalson wrote:
> we don't have any ARM optimizations yet, just x86 and ppc. but
> yes, FLAC__lpc_restore_signal() will give the most bang for the
> buck and is the easiest (it's just a multiply-accumulate-shift
> loop).
Aw., I dont think I can look into this right now. However, I have some
doubts.
Is it possible for the
2005 Sep 30
0
Re: Reg. FLAC decoding
...channels = frame->header.channels
sample_rate = frame->header.sample_rate
bits_per_sample = frame->header.bits_per_sample
c.f. http://flac.sourceforge.net/api/structFLAC____FrameHeader.html
let me know if this works or if you have other questions.
Josh
--- Joe Steeve <joesteeve@zodiactorp.com> wrote:
>
> I'm using seekable_stream_decoder, And., this is my write_callback.
> I'm
> not getting the required output. The PCM i get is not the proper
> music.
> Am I doing something wrong here?
>
> FLAC__StreamDecoderWriteStatus
> AFLACStreamPlayer::S...
2005 Sep 30
2
Reg. FLAC decoding
I'm using seekable_stream_decoder, And., this is my write_callback. I'm
not getting the required output. The PCM i get is not the proper music.
Am I doing something wrong here?
FLAC__StreamDecoderWriteStatus
AFLACStreamPlayer::StreamWriteCb (
const FLAC__SeekableStreamDecoder *decoder,
const FLAC__Frame *frame,
const FLAC__int32 * const buffer[],
void *client_data)
{
int Channels,