21 Aug
2012
21 Aug
'12
9:23 p.m.
At Tue, 21 Aug 2012 13:03:57 -0500, Pierre-Louis Bossart wrote:
On 8/21/2012 5:31 AM, Takashi Iwai wrote:
The additional alsa-lib API functions look like:
int **snd_pcm_query_chmaps(snd_pcm_t *pcm); int *snd_pcm_get_chmap(snd_pcm_t *pcm); int snd_pcm_set_chmap(snd_pcm_t *pcm, const int *map);
Hi Takashi, Maybe my question is slightly off-topic but can this be used by applications relying on tinyALSA or tinyCompress? Looks like we will need to replicate the same ideas based on TLV?
Yes, the TLV parser code and conversion from the control element values to int array would be required. Other than that, the kernel ABI itself is just a re-use of the exiting infrastructure.
Takashi