[alsa-devel] [PATCH 1/1] ALSA: hdspm - Fix wordclock status on AES32
Adrian Knoth
adi at drcomp.erfurt.thur.de
Wed Jan 9 16:45:27 CET 2013
On 01/09/2013 04:22 PM, Takashi Iwai wrote:
>> + wcLock = status & HDSPM_AES32_wcLock;
>> + wcSync = wcLock && (status & HDSPM_AES32_wcSync);
>> +
>> snd_iprintf(buffer, "Word: %s Frequency: %d\n",
>> - (status & HDSPM_AES32_wcLock) ? "Sync " : "No Lock",
>> + (wcLock) ? (wcSync ? "Sync " : "Lock") : "No Lock",
>
> I guess you wanted to align the string size by extra spaces after
> "Sync", but forgot after "Lock"?
Wow, good catch. Though it's purely cosmetic, feel free to add the
missing three spaces to please the viewer's eye. ;)
Cheers
More information about the Alsa-devel
mailing list