Support for SND_PCM_IOPLUG_FLAG_LISTED
Hi guys,
actually the SND_PCM_IOPLUG_FLAG_LISTED is available inside the PCM IO plugin stuff, but the core seems not to care about it. Is it possible to include support for that before the final 1.0.9 release?
Regards
Marcel
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Quoted 5 lines · Marcel Holtmann
Hi guys,
actually the
SND_PCM_IOPLUG_FLAG_LISTEDis available inside the PCM IO plugin stuff, but the core seems not to care about it. Is it possible to include support for that before the final 1.0.9 release?
The API giving list of available device names is still not available and it does not seem to me a good idea to add it now. Hopefully, it will be included to 1.0.10.
Also, I don't understand too much the presence of this flag, because this behaviour (listed / not listed) should be described in configuration files not in plugins. Takashi, could you give me a light for this?
Jaroslav
-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SUSE Labs
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Hi Jaroslav,
Quoted 11 lines
Quoted 3 lines
actually the
SND_PCM_IOPLUG_FLAG_LISTEDis available inside the PCM IO plugin stuff, but the core seems not to care about it. Is it possible to include support for that before the final 1.0.9 release?The API giving list of available device names is still not available and it does not seem to me a good idea to add it now. Hopefully, it will be included to 1.0.10.
Also, I don't understand too much the presence of this flag, because this behaviour (listed / not listed) should be described in configuration files not in plugins. Takashi, could you give me a light for this?
in the case of the Bluetooth A2DP and Headset plugins, these will look like virtual soundcards and thus we know that they should be listed all the time. So this flag simply says "list me always" no matter what a config file says. I actually discussed this with Takashi some time ago and there should be thread about it in the mailing list archive.
Regards
Marcel
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Quoted 5 lines · Marcel Holtmann
in the case of the Bluetooth A2DP and Headset plugins, these will look like virtual soundcards and thus we know that they should be listed all the time. So this flag simply says "list me always" no matter what a config file says. I actually discussed this with Takashi some time ago and there should be thread about it in the mailing list archive.
Yep, but the current alsa-lib configuration scheme is different. There must be a definition in a configuration file (for example in global /usr/share/alsa/alsa.conf) with PCM specification pointing to specific plugins (no matter if it's the physical or virtual card). It's better to avoid probing the plugins to give us such flags, because we can specify this in the global configuration file directly.
Perhaps, I'm missing something.
Jaroslav
-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SUSE Labs
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Hi Jaroslav,
Quoted 6 lines
Quoted 5 lines
in the case of the Bluetooth A2DP and Headset plugins, these will look like virtual soundcards and thus we know that they should be listed all the time. So this flag simply says "list me always" no matter what a config file says. I actually discussed this with Takashi some time ago and there should be thread about it in the mailing list archive.
Quoted 6 lines
Yep, but the current alsa-lib configuration scheme is different. There must be a definition in a configuration file (for example in global
/usr/share/alsa/alsa.conf) with PCM specification pointing to specific plugins (no matter if it's the physical or virtual card). It's better to avoid probing the plugins to give us such flags, because we can specify this in the global configuration file directly.
that is right. We need an entry in the config file to specify the BD_ADDR of the headphone or headset anyway. However we need at least some kind of way to list a plugin. Otherwise some stupid programs will not allow you to select this audio source.
Regards
Marcel
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click