search for: look_ahead

Displaying 3 results from an estimated 3 matches for "look_ahead".

2007 Oct 07
22
Differences in execution between console and app
class AppointmentBook < ActiveRecord::Base has_many :appointments def lookup(date, look_ahead = 27) return nil unless block_given? (date..date + look_ahead).each do |date| yield(date, appointments.find_all_by_date(date)) end end end The line with yield is throwing the error: undefined method ''each'' for #<Date: 4908761/2,0,2299161> A YAML dump...
2006 Jan 02
2
Speex decode memory usage on an Arm processor (wideband)
...e memory usage? I will control how the files are compressed and I am not using the Ogg file structure but just the simple count data approach given in the manual example. I also notice that the Speexdec win32 example skips some of the first bytes from the decode process. It seems to be using the LOOK_AHEAD amount but I can not find anything in the manual about this. So is some of the first data out of the decode not used? Thanks in advance. Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20060102/1948c829/at...
2006 Jan 02
0
Speex decode memory usage on an Arm processor (wideband)
...ill control how the files are compressed and I am not using the Ogg > file structure but just the simple count data approach given in the > manual example. I also notice that the Speexdec win32 example skips > some of the first bytes from the decode process. It seems to be using > the LOOK_AHEAD amount but I can not find anything in the manual about > this. So is some of the first data out of the decode not used? The encoder has a look-ahead for LPC analysis, so it introduces a delay. That means the first few samples are zero (or close). That's why the decoder skips those samples...