[prev in list] [next in list] [prev in thread] [next in thread]
List: sox-devel
Subject: Re: [SoX-devel] Wrong number of callback calls by flow_effects
From: human-man () users ! sf ! net
Date: 2012-05-09 23:43:39
Message-ID: 4FAB012B.90503 () users ! sf ! net
[Download RAW message or body]
> Actually, the default buffer size is 8192 samples, not bytes
Good to know.
> Your callback could display the olength from your input or output
> format. Otherwise you'll need a custom effect in the chain that counts
> the samples and that your callback can query.
Now I use output_file_format.olength for the current value and
input_signal_info.length (that signalinfo that got changed among the
calls of add_effect) for the maximum value. It works fine.
Thanks for ya help!
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
SoX-devel mailing list
SoX-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic