Re: [Alsa-user] Multi and Format

2016-12-07 Thread Ed Stark
Clemens

Many thanks for the input, however I cannot seem to get the linear to work 
after a multi, even if after a multi -> rate -> linear -> slave.

Anything that I do that specifies a format after the multi seems to fail.

Is there another way you could recommend maybe instead of using the multi for 
sample copying?

Regards

Ed Stark


> On 7 Dec 2016, at 12:03, Clemens Ladisch  wrote:
> 
> Ed Stark wrote:
>> To combine the analogue and the digital I am using a multi, but cannot
>> specify different formats for the slaves when using a multi. Ideally
>> I want to set the analogue at 32bit and force the digital to 24bit
> 
> A single PCM device uses a single format.  The multi plugin just copies
> samples, so its slave devices must use the same format.
> 
> However, you can use the linear plugin to automatically convert the
> sample format between itself and its slave.
> 
> 
> Regards,
> Clemens


--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Hotone Ravo USB audio

2016-12-07 Thread Dimitris Damigos
Can I do anything to test it? Or just wait for an updated driver?

Best regards,
Dimitris Damigos

On Τετάρτη, 7 Δεκεμβρίου 2016 1:07:55 Μ.Μ. EET Clemens Ladisch wrote:
> Dimitris Damigos wrote:
> > > > kernel: usb 3-3: 2:1: cannot set freq 44100 to ep 0x2
> > > > 
> >bSamFreqType1 Discrete
> >tSamFreq[ 0]44100
> >  
> >  Endpoint Descriptor:
> >bEndpointAddress 0x02  EP 2 OUT
> >
> >AudioControl Endpoint Descriptor:
> >  bmAttributes 0x01
> >  
> >Sampling Frequency
> 
> The device says that the endpoint supports the "set frequency" request,
> so the driver tries to use it.  That request fails; this appears to be
> a bug in the device's firmware.
> 
> In this particular case, the endpoint has only a single frequency, so
> this error might be harmless.  It should be possible to change the
> driver to ignore the error.
> 
> 
> Regards,
> Clemens



--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Hotone Ravo USB audio

2016-12-07 Thread Clemens Ladisch
Dimitris Damigos wrote:
> > > kernel: usb 3-3: 2:1: cannot set freq 44100 to ep 0x2
>
>bSamFreqType1 Discrete
>tSamFreq[ 0]44100
>  Endpoint Descriptor:
>bEndpointAddress 0x02  EP 2 OUT
>AudioControl Endpoint Descriptor:
>  bmAttributes 0x01
>Sampling Frequency

The device says that the endpoint supports the "set frequency" request,
so the driver tries to use it.  That request fails; this appears to be
a bug in the device's firmware.

In this particular case, the endpoint has only a single frequency, so
this error might be harmless.  It should be possible to change the
driver to ignore the error.


Regards,
Clemens

--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Multi and Format

2016-12-07 Thread Clemens Ladisch
Ed Stark wrote:
> To combine the analogue and the digital I am using a multi, but cannot
> specify different formats for the slaves when using a multi. Ideally
> I want to set the analogue at 32bit and force the digital to 24bit

A single PCM device uses a single format.  The multi plugin just copies
samples, so its slave devices must use the same format.

However, you can use the linear plugin to automatically convert the
sample format between itself and its slave.


Regards,
Clemens

--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user