|
From: | Michael Dickens |
Subject: | Re: [Discuss-gnuradio] No audio on os x reading .dat files |
Date: | Tue, 15 Aug 2006 15:03:30 -0400 |
On Aug 15, 2006, at 12:09 PM, Eric Blossom wrote:
It's probably an "endianness problem". The dat file is native binary on whatever machine it was written on. Most likely x86, thus little-endian. The PPC macs are big-endian. Thus the problem.
Is the indianness stored in the .dat file somehow? If not, how is anyone to know which way to interpret it? If so, what's the format? Either way, this sounds more like an issue which would be resolved in a gr-block which would directly follow (maybe) gr_file_source ... and would interpret the .dat file format as streamed by the file source. Although it could be handled by gr-audio-osx (or portaudio), those already have a set format which they are expecting (native float IIRC). - MLD
[Prev in Thread] | Current Thread | [Next in Thread] |