[iyonix-support] Re: CDROM oddities

  • From: Jim Lesurf <jcgl@xxxxxxxxxxxxxxx>
  • To: iyonix-support@xxxxxxxxxxxxx
  • Date: Fri, 11 Apr 2014 15:25:26 +0100

I think I've now sussed out the problem and have managed to get ripframes
to work on my Iyonix! Despite various suggestions of reasons from people it
seems that the reason is one I found in some ancient Acorn era
documentation. This says a buffer size used for reading the CD_ audio data
has to be an integer multiple of 256 bytes.[1]

This doesn't seem to matter on my ARMiniX. Works anyway. But the size I'd
chosen (5 sec + 1 frame) isn't a multiple of 256 bytes. So I made the
buffer size a bit bigger and it now works.

I'll need to do some more tests and check the results. I'll then release a
new version that - I hope! - will be OK.

Jim

[1] Alas, the data on an audio CD is in 'frames' of 2352 bytes and has to
be read in a multiple of frames at low level. The two values don't fit very
neatly!

-- 
Electronics  http://www.st-and.ac.uk/~www_pa/Scots_Guide/intro/electron.htm
Audio Misc  http://www.audiomisc.co.uk/index.html
Armstrong Audio  http://www.audiomisc.co.uk/Armstrong/armstrong.html
---
To alter your preferences or leave the group, 
visit //www.freelists.org/list/iyonix-support
Other info via //www.freelists.org/webpage/iyonix-support
List-related queries to iyonix-support-moderators@xxxxxxxxxxxxx

Other related posts: