[Alsa-user] Best course of action with Audient iD14

2018-01-22 Thread Charles Mulder
Hi. I recently bought the Audient iD14, which is a class compliant USB2 device. I would like to use it for writing and record music. Apparently it has great converters. After some online searching I came across a similar question on StackOverflow

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 f

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

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

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 plu

Re: [Alsa-user] Dmix problem

2018-01-22 Thread Robert Bielik
> > is there some ALSA plugin that can coalesce buffering ? Meaning that > > the plugin can take f.i. larger period_size than what the dmix device > > is working with ? > > What problem would that solve? Not sure. It would allow clients connecting to that device to have a more relaxed callback s

Re: [Alsa-user] Dmix problem

2018-01-22 Thread Clemens Ladisch via Alsa-user
Robert Bielik wrote: > is there some ALSA plugin that can coalesce buffering ? Meaning that > the plugin can take f.i. larger period_size than what the dmix device > is working with ? What problem would that solve? Regards, Clemens ---

Re: [Alsa-user] Dmix problem

2018-01-22 Thread Robert Bielik
Hi Clemens, > >> Is there any other plugin doing the same thing as dmix... but working ? > > Yes, dmix with a larger buffer size (i.e., more periods). Hmm. Yes. I've tried running aplay with "chrt --rr 99" and it got way more stable, even at as low a settings as 64 frames (period_size) + 2 peri

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 o

Re: [Alsa-user] Dmix problem

2018-01-22 Thread Clemens Ladisch via Alsa-user
Robert Bielik wrote: >> Is there any other plugin doing the same thing as dmix... but working ? Yes, dmix with a larger buffer size (i.e., more periods). > I'd need a mixing plugin that does not do sample rate conversion, i.e. each > client connecting to it should be forced to use the mix plugs s

[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. Pl

Re: [Alsa-user] Dmix problem

2018-01-22 Thread Robert Bielik
> The reason is that for my project I need to have as low a latency as possible > in > the dmix chain. Is there any other plugin doing the same thing as dmix... but > working ? 😊 More specifically, I'd need a mixing plugin that does not do sample rate conversion, i.e. each client connecting to i

[Alsa-user] Dmix problem

2018-01-22 Thread Robert Bielik
Hi, I'm using the audioinjector octocard on a R Pi 3, and I have a problem where the system default dmix (dmix:0,0) plays just fine (via aplay), but my own defined dmix device occasionally stops streaming with a xrun condition: Status(R/W): state : RUNNING trigger_time: 13953.124684