Re: [Alsa-user] Iec958 plugin usage

2018-01-22 Thread Clemens Ladisch via Alsa-user
maruthi srinivas wrote:
> On Monday, January 22, 2018, Clemens Ladisch 
> wrote:
>> maruthi srinivas wrote:
>>> I want to use plugin to convert either way and write to a file.
>>
>> What for?  There is no standard for AES data in a file.
>>
> Aplay help lists IEC958_SUBFRAME_LE format.

That is a format used by certain hardware, but it cannot be stored in
.wav files.  (This is why the plugin is needed.)


Regards,
Clemens

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Iec958 plugin usage

2018-01-22 Thread maruthi srinivas
On Monday, January 22, 2018, Clemens Ladisch 
wrote:
> (please don't top-post)
>
> maruthi srinivas wrote:
>> By AES, i mean AES standard as in:
>> https://en.m.wikipedia.org/wiki/AES3
>
>
> The on-the-wire format has the premable, which does not correspond to any
> correctly-encoded bit value, so you cannot talk about bits here.
I have little knowledge on IEC958/AES.
I see plugin has functions to encode and decode. I thought those serve the
purpose. Plugin says it converts linear pcm to iec958 and iec958 to linear
pcm. I didnt understand exactly what plugin does.

>
>> I want to use plugin to convert either way and write to a file.
>
> What for?  There is no standard for AES data in a file.
>
Aplay help lists IEC958_SUBFRAME_LE format.

Regards,
MS
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Iec958 plugin usage

2018-01-22 Thread Clemens Ladisch via Alsa-user
(please don't top-post)

maruthi srinivas wrote:
> By AES, i mean AES standard as in:
> https://en.m.wikipedia.org/wiki/AES3

This is a hardware standard; it does not define the format of samples in
memory.

> This will add 4bit before and 4 bit after pcm sample.it seems iec958 plugin
> adds those 8bits to encode pcm to iec958/AES standard and does reverse to
> decode to pcm. Is my understanding correct ?

The on-the-wire format has the premable, which does not correspond to any
correctly-encoded bit value, so you cannot talk about bits here.

> I want to use plugin to convert either way and write to a file.

What for?  There is no standard for AES data in a file.


Regards,
Clemens

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Iec958 plugin usage

2018-01-22 Thread maruthi srinivas
Hi Clemens,

By AES, i mean AES standard as in:
https://en.m.wikipedia.org/wiki/AES3

This will add 4bit before and 4 bit after pcm sample.it seems iec958 plugin
adds those 8bits to encode pcm to iec958/AES standard and does reverse to
decode to pcm. Is my understanding correct ?  I want to use plugin to
convert either way and write to a file.

Regards,
MS

On Monday, January 22, 2018, Clemens Ladisch via Alsa-user <
alsa-user@lists.sourceforge.net> wrote:
> maruthi srinivas wrote:
>> Iam trying to convert pcm (from wav file) to AES and vice versa.
>
> What exactly do you mean with "AES"?
>
>> I found a alsa plugin iec958. Will that plugin does do what I want
>> to achieve ?
>
> The iec958 creates an IEC958 bit stream, which is required for S/PDIF
> on some very old C-Media cards.
>
> This plugin is useless if you have any other hardware.
>
>
> Regards,
> Clemens
>
>
--
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Alsa-user mailing list
> Alsa-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/alsa-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Iec958 plugin usage

2018-01-22 Thread Clemens Ladisch via Alsa-user
maruthi srinivas wrote:
> Iam trying to convert pcm (from wav file) to AES and vice versa.

What exactly do you mean with "AES"?

> I found a alsa plugin iec958. Will that plugin does do what I want
> to achieve ?

The iec958 creates an IEC958 bit stream, which is required for S/PDIF
on some very old C-Media cards.

This plugin is useless if you have any other hardware.


Regards,
Clemens

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] Iec958 plugin usage

2018-01-22 Thread maruthi srinivas
Hi,

Iam trying to convert pcm (from wav file) to AES and vice versa. I found a
alsa plugin iec958. Will that plugin does do what I want to achieve ?

I tried writing a alsa conf file for that, but it's giving errors when
tried through aplay by giving plugin virtual device as argument to aplay.

Please help how to use iec958 plugin.

Regards,
MS
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user