Re: ALSA synchronization

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

 



2009/8/22 arif setiawan <n.arif.setiawan@xxxxxxxxx>:
> Hi,
>
> We are working on audio processing (encryption-decryption) and audio will be
> sent using radio.
>
> Our configuration is :
>
> Audio source - ALSA audio in - encryption - ALSA audio out - transmission
> over radio (now we still use audio cable) - ALSA audio in - decryption -
> ALSA audio out - speaker.
>
> So data will be sent through radio channel and its converted to analog form
> by ALSA PCM during playback. We want to solve synchronization issue by using
> data header so that we can decrypt correct data block. So far we still
> unable to verify that data we received in the decryption side is similar to
> data that we sent from encryption box. Supposed that we filled buffer in
> encryption box with some values, when we check buffer in decryption box, we
> can't get same data. Our guess that data somehow changed in
> digital-analog/analog-digital conversion or we might make mistakes in
> filling the buffer so data is not compatible with ALSA PCM.
>
> Any suggestion to solve this problem?
>

Where is the conversion from digital to analogue on the output direction?
Where is the modulation and error correction happening on the radio
bit, in between the encrypt and decrypt steps.
You should probably do a test without the encrypt and decrypt stages,
and just ensure the input equals the output.

Kind regards

James
_______________________________________________
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