Displaying 20 results from an estimated 700 matches similar to: "About Decode Streaming"
2013 Jul 01
2
About Decode Streaming
Sorry, I am newbie.
Sample codes are from
https://github.com/oneman/libflac/tree/master/examples/cpp.
I used FLAC__stream_decoder_process_single function but it still gives
exception. Maybe I could not control read callback, you're right.
I will check it and write result in this thread.
Thanks for help.
2013/7/1 Martijn van Beurden <mvanb1 at gmail.com>
> I'll top-post this
2013 Jul 02
2
About Decode Streaming
Martijn,
I don't use any metadata when encoding and decoding. When I call
*FLAC__StreamDecoderStateString[FLAC__stream_decoder_get_state(m_decoder)] *
*
*
it returns
FLAC__STREAM_DECODER_SEARCH_FOR_METADATA
enum value. Is it an error ?
2013/7/2 Burak Or?un ?zkablan <borcunozkablan at gmail.com>
> Hi again,
>
> I can not solve problem. I want to mention my source code, so
2013 Jul 01
0
About Decode Streaming
I'll top-post this one because it wasn't sent to the mailinglist but to
me. Please reply to list next time.
I assume you mean the main.c files in the encode and decode directory
under examples. I can't really determine the root cause of your problem
with this information, but I think you're trying to feed the decoder
blocks that are incomplete. The LOST SYNC error is usually
2013 Jul 02
0
About Decode Streaming
Hi again,
I can not solve problem. I want to mention my source code, so you may
answer easily.
This is decoder init stream function.
*FLAC__stream_decoder_init_stream(m_decoder, decoderReadCallback, NULL,
NULL, NULL, NULL, decoderWriteCallback, NULL, decoderErrorCallback,
input_pile_array);*
*
*
Then, callbacks
*
*
/// \brief read callback function of decoder
FLAC__StreamDecoderReadStatus
2013 Jul 02
3
About Decode Streaming
Yes, I have tried plain wav data with file and stream functions of decoder
and encoder. They work succesfully.
You're right about FLAC can't find the first block in stream, because I
didn't add any metadata in stream. The documentation of FLAC says that
metadata callback function is optional for stream function of decoder, so I
didn't need adding metadata.
Actually, I am sure
2013 Jul 02
2
About Decode Streaming
Thank you so much for polite help Martijn.
Allison,
My read callback function is just ;
* /// \brief read callback function of decoder*
* FLAC__StreamDecoderReadStatus decoderReadCallback( const
FLAC__StreamDecoder *decoder, FLAC__byte buffer[], size_t *bytes, void
*callback_param)*
* {*
* // mutex lock*
* m_mutex.lock();*
*
*
* // copy buffer array to m_pile_array*
* if(input_pile_size > 0)
2007 Jul 14
2
FLAC__stream_decoder_process_single and FLAC__STREAM_DECODER_END_OF_STREAM
Hi all,
If I have code that does this:
while (FLAC__stream_decoder_process_single (decoder))
/* Do something. */ ;
I get an infinite loop. Shouldn't FLAC__stream_decoder_process_single
return false if it gets to FLAC__STREAM_DECODER_END_OF_STREAM?
If so, here's a patch.
Cheers,
Erik
------------------8<------------------8<------------------8<------------------
2004 Dec 23
2
how to ignore t.test error message
Hello,
I was wondering if there is a way to ignore the error
message you get when some of the data means you
compare are constant in some lines of your data frame.
I'd like to go ahead with t.test and get the
calculated p-values anyway in such a case.
Thanks
-burak
2012 Nov 14
2
auth attempts errors
i have install 2.1.1 and configured
in dovecot log this error is coming every 20 seconds:
dovecot: imap-login: Disconnected (no auth attempts in 0 secs): rip=**********, lip=**********, TLS handshaking: SSL_accept() syscall failed: Connection reset by peer
and this error every 2 seconds:
dovecot: imap-login: Disconnected (no auth attempts in 0 secs):
rip=**********, lip=**********
what can
2014 Dec 11
2
Two new CVEs against FLAC
On Thu, Dec 11, 2014 at 11:12:25AM +0100, Martijn van Beurden wrote:
> Op 11-12-14 om 10:53 schreef Martijn van Beurden:
> > Op 11-12-14 om 10:05 schreef Miroslav Lichvar:
> >> but I'd rather see the real seeking bug fixed instead
> >
> > I think I might have a fix [...]
So the problem is that FLAC__stream_decoder_process_single returns
error before it finds a
2004 Jan 13
2
Voicepulse
I am having probelms connecting to voicepulse this morning. Is anybody else
having issues..
burak
2008 Mar 26
1
adjusted means and adjusted standard errors after ANOVA
I am trying to obtain adjusted means and standard errors for a three way
ANOVA
I have three effects, two continuous; fire frequency and annual
precipitation, and one categorical; soil type in an unbalanced design.
I am testing the effect of annual precipition (AP), soil type (ST), and fire
frequency (FF) on stem count (SCt)
My data table looks as such:
ST
FF
AP
SCt
3
Coy
2006 Jan 28
2
VOIP carriers and asterisk
Hi all,
I am new to asterisk and am looking for a voip provider that supports
asterisk. I am aware that their are several vendors to choose from. Any
opinions on the best one?
thanks
Burak Balasaygun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060128/0a97a302/attachment.htm
2006 Jul 24
3
Problem with CRAM and flac-1.1.2
A user of CRAM (http://swami.sourceforge.net/cram.php) sent in a bug
report related to decoding of CRAM files. This issue occurs with
flac-1.1.2 but not previous versions (such as flac-1.1.1). Note that
the same file is used for this test (hopefully ruling out any issue with
the encoder).
Details of the issue:
When calling FLAC__stream_decoder_process_single() the error callback is
triggered
2013 Jul 02
0
About Decode Streaming
On 02-07-13 11:01, Burak Or?un ?zkablan wrote:
> I don't use any metadata when encoding and decoding. When I call
>
> *FLAC__StreamDecoderStateString[FLAC__stream_decoder_get_state(m_decoder)]
> *
> *
> *
> it returns
>
> FLAC__STREAM_DECODER_SEARCH_FOR_METADATA
>
> enum value. Is it an error ?
There is always metadata in a FLAC stream, for example, the
2003 Dec 14
3
ignorepat
Hi
I have the following configuration at home one ZAPTEL interface connecting
to an FXO card and two SIP UAs connecting to asterisk locally. I have
configured extensions.conf such that dialing 9 on the SIP phones allows me to
dial an outbound number via the FXO interface . Works fine.
What's not working is that pressing 9 should causes either GS BT-100 phone
to reacquire a dialtone
2007 Jul 25
1
FLAC__stream_decoder_process_single and FLAC__STREAM_DECODER_END_OF_STREAM
Josh Coalson wrote:
> > I get an infinite loop. Shouldn't FLAC__stream_decoder_process_single
> > return false if it gets to FLAC__STREAM_DECODER_END_OF_STREAM?
>
> it supposed to be like that actually, there's a little explanation
> here:
>
> http://flac.sourceforge.net/api/group__flac__stream__decoder.html#ga45
Ok, I've read that and I agree that the
2014 Jul 18
2
subfolders in public mailboxes
Hello,
I added this to the configuration:
namespace {
type = public
separator = .
prefix = public.
location = maildir:/var/mail/public
subscriptions = no
list = yes
}
and I can list maildirs inside these folders correctly. however, I can't
see any subfolders.
The issue seems to be that /var/mail/public dir itself is interpreted as
a maildir directory.
However, what I'd
2009 Jul 11
2
offeride :limit named_scope default_scope
Hi,
Rails 2.3.2
class TestD < ActiveRecord::Base
default_scope :limit => 12
named_scope :limit, lambda { |num| { :limit => num} }
end
ruby script/console
>> TestD.all
TestD Load (0.7ms) SELECT * FROM "test_ds" LIMIT 12
=> []
>> TestD.limit(14)
TestD Load (0.3ms) SELECT * FROM "test_ds" LIMIT 12
=> []
Any ideas why the default limit
2009 Oct 06
1
Detecting FLAC file type
Hello,
I have a program that is given a random file and needs to determine
whether it is Vorbis or FLAC. For Vorbis, there are various places
where I can infer that I have a bad stream. But for FLAC, when I call
either FLAC__stream_decoder_process_until_end_of_metadata or
FLAC__stream_decoder_process_single, it searches the entire file
before giving up. I'd like it to stop searching as soon