* topology: pre-processor: Add support for object arrays
[not found] <1684898536201057196-webhooks-bot@alsa-project.org>
@ 2023-05-24 3:22 ` GitHub pull_request - edited
0 siblings, 0 replies; 4+ messages in thread
From: GitHub pull_request - edited @ 2023-05-24 3:22 UTC (permalink / raw)
To: alsa-devel
alsa-project/alsa-utils pull request #216 was edited from ranj063:
Introduce a new keyword, "Objects" to instantiate multiple objects of the same class with different attirbutes. For example
Objects.Base.input_audio_format [
{
in_rate [
8000
16000
48000
]
in_bit_depth [
32
]
in_valid_bit_depth [
24
32
]
}
]
This would be expanded into 6 objects with the rate, bit_depth and valid_bit_depth combinations of the arrays of values above.
Object.Base.input_audio_format [
{
in_rate 8000
in_bit_depth 32
in_valid_bit_depth 32
}
{
in_rate 16000
in_bit_depth 32
in_valid_bit_depth 32
}
{
in_rate 48000
in_bit_depth 32
in_valid_bit_depth 32
}
{
in_rate 8000
in_bit_depth 32
in_valid_bit_depth 24
}
{
in_rate 16000
in_bit_depth 32
in_valid_bit_depth 24
}
{
in_rate 48000
in_bit_depth 32
in_valid_bit_depth 24
}
]
The Objects definition is an array so that multiple combinations can be specified so that we deal with only valid combinations. For example, 16-bit bit_depth is only valid with 16-bit valid_bit_depth. So if we also want to add those combinations with the multiple rates, the definition would look like:
Objects.Base.input_audio_format [
{
in_rate [
8000
16000
48000
]
in_bit_depth [
32
]
in_valid_bit_depth [
24
32
]
}
{
in_rate [
8000
16000
48000
]
in_bit_depth [
16
]
in_valid_bit_depth [
16
]
}
]
Request URL : https://github.com/alsa-project/alsa-utils/pull/216
Patch URL : https://github.com/alsa-project/alsa-utils/pull/216.patch
Repository URL: https://github.com/alsa-project/alsa-utils
^ permalink raw reply [flat|nested] 4+ messages in thread
* topology: pre-processor: Add support for object arrays
[not found] <1684910402153166533-webhooks-bot@alsa-project.org>
@ 2023-05-24 6:40 ` GitHub pull_request - edited
0 siblings, 0 replies; 4+ messages in thread
From: GitHub pull_request - edited @ 2023-05-24 6:40 UTC (permalink / raw)
To: alsa-devel
alsa-project/alsa-utils pull request #216 was edited from ranj063:
Introduce a new keyword, "Objects" to instantiate multiple objects of the same class with different attirbutes. For example
```
Objects.Base.input_audio_format [
{
in_rate [
8000
16000
48000
]
in_bit_depth [
32
]
in_valid_bit_depth [
24
32
]
}
]
```
This would be expanded into 6 objects with the rate, bit_depth and valid_bit_depth combinations of the arrays of values above.
```
Object.Base.input_audio_format [
{
in_rate 8000
in_bit_depth 32
in_valid_bit_depth 32
}
{
in_rate 16000
in_bit_depth 32
in_valid_bit_depth 32
}
{
in_rate 48000
in_bit_depth 32
in_valid_bit_depth 32
}
{
in_rate 8000
in_bit_depth 32
in_valid_bit_depth 24
}
{
in_rate 16000
in_bit_depth 32
in_valid_bit_depth 24
}
{
in_rate 48000
in_bit_depth 32
in_valid_bit_depth 24
}
]
```
The Objects definition is an array so that multiple combinations can be specified so that we deal with only valid combinations. For example, 16-bit bit_depth is only valid with 16-bit valid_bit_depth. So if we also want to add those combinations with the multiple rates, the definition would look like:
```
Objects.Base.input_audio_format [
{
in_rate [
8000
16000
48000
]
in_bit_depth [
32
]
in_valid_bit_depth [
24
32
]
}
{
in_rate [
8000
16000
48000
]
in_bit_depth [
16
]
in_valid_bit_depth [
16
]
}
]
```
Request URL : https://github.com/alsa-project/alsa-utils/pull/216
Patch URL : https://github.com/alsa-project/alsa-utils/pull/216.patch
Repository URL: https://github.com/alsa-project/alsa-utils
^ permalink raw reply [flat|nested] 4+ messages in thread
* topology: pre-processor: Add support for object arrays
[not found] <1684946814602925539-webhooks-bot@alsa-project.org>
@ 2023-05-24 16:46 ` GitHub pull_request - edited
0 siblings, 0 replies; 4+ messages in thread
From: GitHub pull_request - edited @ 2023-05-24 16:46 UTC (permalink / raw)
To: alsa-devel
alsa-project/alsa-utils pull request #216 was edited from ranj063:
Introduce a new keyword, "ObjectArray" to instantiate multiple objects of the same class with different attirbutes. For example
```
ObjectArray.Base.input_audio_format [
{
in_rate [
8000
16000
48000
]
in_bit_depth [
32
]
in_valid_bit_depth [
24
32
]
}
]
```
This would be expanded into 6 objects with the rate, bit_depth and valid_bit_depth combinations of the arrays of values above.
```
Object.Base.input_audio_format [
{
in_rate 8000
in_bit_depth 32
in_valid_bit_depth 32
}
{
in_rate 16000
in_bit_depth 32
in_valid_bit_depth 32
}
{
in_rate 48000
in_bit_depth 32
in_valid_bit_depth 32
}
{
in_rate 8000
in_bit_depth 32
in_valid_bit_depth 24
}
{
in_rate 16000
in_bit_depth 32
in_valid_bit_depth 24
}
{
in_rate 48000
in_bit_depth 32
in_valid_bit_depth 24
}
]
```
The Objects definition is an array so that multiple combinations can be specified so that we deal with only valid combinations. For example, 16-bit bit_depth is only valid with 16-bit valid_bit_depth. So if we also want to add those combinations with the multiple rates, the definition would look like:
```
ObjectArray.Base.input_audio_format [
{
in_rate [
8000
16000
48000
]
in_bit_depth [
32
]
in_valid_bit_depth [
24
32
]
}
{
in_rate [
8000
16000
48000
]
in_bit_depth [
16
]
in_valid_bit_depth [
16
]
}
]
```
Request URL : https://github.com/alsa-project/alsa-utils/pull/216
Patch URL : https://github.com/alsa-project/alsa-utils/pull/216.patch
Repository URL: https://github.com/alsa-project/alsa-utils
^ permalink raw reply [flat|nested] 4+ messages in thread
* topology: pre-processor: Add support for object arrays
[not found] <1687890538083485842-webhooks-bot@alsa-project.org>
@ 2023-06-27 18:29 ` GitHub pull_request - edited
0 siblings, 0 replies; 4+ messages in thread
From: GitHub pull_request - edited @ 2023-06-27 18:29 UTC (permalink / raw)
To: alsa-devel
alsa-project/alsa-utils pull request #216 was edited from ranj063:
Introduce a new keyword, "CombineArrays" to instantiate multiple nodes
of the type specified. For example:
CombineArrays.Object.Base.input_audio_format [
{
in_rate [
8000
16000
48000
]
in_bit_depth [
32
]
in_valid_bit_depth [
24
32
]
}
]
This would be expanded into 6 objects with the rate, bit_depth and
valid_bit_depth combinations of the arrays of values above.
Object.Base.input_audio_format [
{
in_rate 8000
in_bit_depth 32
in_valid_bit_depth 32
}
{
in_rate 16000
in_bit_depth 32
in_valid_bit_depth 32
}
{
in_rate 48000
in_bit_depth 32
in_valid_bit_depth 32
}
{
in_rate 8000
in_bit_depth 32
in_valid_bit_depth 24
}
{
in_rate 16000
in_bit_depth 32
in_valid_bit_depth 24
}
{
in_rate 48000
in_bit_depth 32
in_valid_bit_depth 24
}
]
The CombineArrays definition is an array so that multiple combinations can
be specified in order to deal with only valid combinations. For example,
16-bit bit_depth is only valid with 16-bit valid_bit_depth. So if we
also want to add those combinations with the multiple rates, the
definition would look like:
CombineArrays.Object.Base.input_audio_format [
{
in_rate [
8000
16000
48000
]
in_bit_depth [
32
]
in_valid_bit_depth [
24
32
]
}
{
in_rate [
8000
16000
48000
]
in_bit_depth [
16
]
in_valid_bit_depth [
16
]
}
]
Request URL : https://github.com/alsa-project/alsa-utils/pull/216
Patch URL : https://github.com/alsa-project/alsa-utils/pull/216.patch
Repository URL: https://github.com/alsa-project/alsa-utils
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-06-27 18:30 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1684946814602925539-webhooks-bot@alsa-project.org>
2023-05-24 16:46 ` topology: pre-processor: Add support for object arrays GitHub pull_request - edited
[not found] <1687890538083485842-webhooks-bot@alsa-project.org>
2023-06-27 18:29 ` GitHub pull_request - edited
[not found] <1684910402153166533-webhooks-bot@alsa-project.org>
2023-05-24 6:40 ` GitHub pull_request - edited
[not found] <1684898536201057196-webhooks-bot@alsa-project.org>
2023-05-24 3:22 ` GitHub pull_request - edited
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox