Re: [PATCH v4 27/28] ASoC: codecs: Add support for the framer codec

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

 




Le 19/08/2023 à 01:18, Randy Dunlap a écrit :
> Hi,
> 
> On 8/18/23 09:39, Christophe Leroy wrote:
>> +config SND_SOC_FRAMER
>> +	tristate "Framer codec"
>> +	depends on GENERIC_FRAMER
>> +	help
>> +	  Enable support for the framer codec.
>> +	  The framer codec uses the generic framer infrastructure to transport
>> +	  some audio data over an analog E1/T1/J1 line.
>> +	  This codec allows to use some of the time slots available on the TDM
>> +	  bus on which the framer is connected to transport the audio data.
>> +
> 
> Just curious: what controls the slot allocations/usages?
> Is that done in userspace?

For audio, this is done in userspace through alsalib.

For IP over E1, a mask is provided with the userspace tool 'sethdlc'

For the time being there is no sharing, either the E1 line is used for 
audio either the E1 line is used for IP over E1 (HDLC)

Christophe




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux