[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gap-dev-discuss] Cynthiune - endianness

From: Riccardo Mottola
Subject: [Gap-dev-discuss] Cynthiune - endianness
Date: Sun, 13 May 2012 00:36:06 +0200
User-agent: Mozilla/5.0 (X11; Linux ppc; rv:10.0.4) Gecko/20120427 Firefox/10.0.4 Iceape/2.7.4


I implemented a first rough handling of endianness.

I forsee 3 values: little, big and native endianness. They refer to what the input media bundle actually delivers, not the file itself. It appears as if MP3 are always LE, WAV files instead are returned native: little endian on LE machines, big endian on BE machines.

The output bundles implement the setting. I suppose most will respect what you give, but each output should be checked.

I did not fix all bundles, I donĀ“t have all libraries here on my iBook. Please check on your machines. If you are in doubt and want to fix your endianness, I think setting LE as default is the best. I enhanced the protocol.

I still have a problem with the ALSA backend though: it works with the first song played, it is correctly set, further songs however are incorrectly played if they change endianness. I get an exception and broken pipe. I think this is also a reason why Rate cannot be changed. Somehow we do not re-set the device correctly at each song.

Please try your luck and help me out :)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]