new driver: channel alignment (was: 30mS interval problem)

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

 



Hello

I am new to ALSA and trying to write a new driver for a ADC connected
with PCM to an AVR32 on a NGW100 reference card provided by Atmel.

I have the problem that different channels from the PCM stream comes
in different positions in the WAV file. For example when I disable all
but the first PCM channel on the ADC, I can see with an oscilloscope
that there is only data in the first timeslot on the PCM data stream.
But the data from this channel can occur in any of the 4 channels in
the WAV file. This is consistent throughout the one capture/file, but
in the next capture the data will occur in another channel in the
WAV-file.

How can I make sure that the data from one particular channel always
occur in a fixed position in the WAV file?

Best regards
William Juul
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux