[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] No audio on os x reading .dat files
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] No audio on os x reading .dat files |
Date: |
Sat, 19 Aug 2006 18:23:12 -0700 |
User-agent: |
Mutt/1.5.9i |
On Sun, Aug 20, 2006 at 12:24:50AM +0200, Josh Jennings wrote:
> >No just add 'intelToHost_XX()' or 'HostToIntel' functions for reading
> >data, or writing data.
> >Then a host sensitive reader would have these defined appropriately for
> >the endianness of
> >the host.
>
> This is definitely the way to go. I have written the intel_to_host
> functionality. I will do as Eric proposed and write a sink and source
> block which takes care of this, unless someone comes up with it first.
>
> >This is done all the time throughout the networking code.
>
> Obvious example. Should of thought of that first. ;-)
>
> >Obviously if the files are never going to be seen outside the particular
> >host, it doesn't matter.
>
> This is also right, but I guess I came across it since I do not have a
> method on my mac of acquiring source data. Therefore I looked at what
> people had made available. Being able to share data across platforms
> is definitely meaningful even if at this point in gnuradio it seems a
> minor one since it seems most people using gnuradio use their own
> methods of generating/acquiring signals. Da know, addressing
> endianness could be taken for granted but it may bite back later.
>
> Thanks,
> Josh
In the naming convention department, I'd probably call it
little_endian_to_host_XX or something similar.
For the standard networking conversions, see
$ man byteorder
Eric
- Re: [Discuss-gnuradio] No audio on os x reading .dat files, (continued)
- Re: [Discuss-gnuradio] No audio on os x reading .dat files, Joshua Wright, 2006/08/15
- Re: [Discuss-gnuradio] No audio on os x reading .dat files, Johnathan Corgan, 2006/08/15
- Re: [Discuss-gnuradio] No audio on os x reading .dat files, Michael Dickens, 2006/08/15
- Re: Re: [Discuss-gnuradio] No audio on os x reading .dat files, Josh Jennings, 2006/08/15
- Re: [Discuss-gnuradio] No audio on os x reading .dat files, Jan Schiefer, 2006/08/17
- Re: [Discuss-gnuradio] No audio on os x reading .dat files, Michael Dickens, 2006/08/17
- Re: [Discuss-gnuradio] No audio on os x reading .dat files, Eric Blossom, 2006/08/17
- Re: [Discuss-gnuradio] No audio on os x reading .dat files, Josh Jennings, 2006/08/17
- Re: [Discuss-gnuradio] No audio on os x reading .dat files, John Clark, 2006/08/17
- Re: [Discuss-gnuradio] No audio on os x reading .dat files, Josh Jennings, 2006/08/19
- Re: [Discuss-gnuradio] No audio on os x reading .dat files,
Eric Blossom <=