Skip to content

Commit

Permalink
firewire-lib: Fix wrong label for 16 bits Raw Audio data
Browse files Browse the repository at this point in the history
According to IEC 61883-1:2000, VBL (Valid Bit Length) code for 16 bits
raw audio data is 0x02 so the label should be 0x42.
  • Loading branch information
takaswie committed May 2, 2014
1 parent 612a899 commit 72c569b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/firewire/amdtp.c
Expand Up @@ -418,7 +418,7 @@ static void amdtp_write_s16(struct amdtp_stream *s,
for (i = 0; i < frames; ++i) {
for (c = 0; c < channels; ++c) {
buffer[s->pcm_positions[c]] =
cpu_to_be32((*src << 8) | 0x40000000);
cpu_to_be32((*src << 8) | 0x42000000);
src++;
}
buffer += s->data_block_quadlets;
Expand Down

0 comments on commit 72c569b

Please sign in to comment.