Re: Re: Network byte order, NAS plugin
Haavard Kvaalen <[email protected]>
| Newsgroups | gmane.comp.multimedia.xmms.devel |
|---|---|
| Message-ID | <[email protected]> |
On 18 Dec 2002, Chris Majewski wrote: > It's funny that the WAV plugin doesn't give me that behaviour.. I guess > it just reads the bytes off the disk and passes them directly to the > output plugin?? Yeah, the wav plugin generates little endian data on all architectures. > Is there a way to tell whether the data needs to be byteswapped (so that > my hack won't break the plugin for Linux)? Yes, when the ->open_audio() function of the output plugin is called, the format of the data is one of the parameters. -- Håvard Kvålen