philippe_44 wrote: > As a result of decoding, flac returns 32 bits samples but tells you what > the length of samples is (see https://xiph.org/flac/format.html). So > when it returns this array of 32 bits samples, they are right justified > (i.e. if these are 8 bits samples, the first 24+1 bits from the left are > 0 for a positive integer and 1 for a negative as it's 2's complement). > If you look at what squeezelite does, we re-align these samples to the > left in the internal buffer and then they are sent to the DAC/mixer with > potentially re-alignement / truncation depending what the DAC supports. > In other words, these left-justified 32 bits buffers can be truncated to > 16 bits integers and then send to the DAC/mixer if it has been > configured to accept 16 bits. > > But again, padding does not matter. A DAC configured to receive 32 bits > and getting 16 bits data in a 32 bits word, left-justified and with 16 > trailing 0, will produce the same result as it if was configured to > receive 16 bits and would actually receive the same 16 bits samples as > before.
ok serious questions - not playing games are there differing opinions on this ? -- a couple years ago in a previous software setup i experimented with i think an alsa setting which i thought just padded right before sending to dac. i have no idea what it was actually doing. with identical players in an A/B i thought there were noticeable differences. i`m not sure of the whole process -- what you are describing here could be completely different from what i was doing. i try my hardest to not to be an audiofool - i give the benefit of the doubt to the scientist, but many others have also claimed audible differences with padding the bit length. the dac chips accept data in a few different ways i remember reading ( Correct me if i am wrong ) is it possible for a chip to sound different depending on how the data is sent ? if a computer program ran a set of data through some unnecessary processes, on purpose, but the data arrived at the dac unchanged -- is it possible to have a different sound ? would you say squeeze has a distinct sound ? if so, what would you attribute that too ? ------------------------------------------------------------------------ oshcar's Profile: http://forums.slimdevices.com/member.php?userid=71999 View this thread: http://forums.slimdevices.com/showthread.php?t=114947 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
