* Support for SND_PCM_IOPLUG_FLAG_LISTED
@ 2005-03-30 7:50 Marcel Holtmann
2005-03-30 8:05 ` Jaroslav Kysela
0 siblings, 1 reply; 5+ messages in thread
From: Marcel Holtmann @ 2005-03-30 7:50 UTC (permalink / raw)
To: alsa-devel
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Support for SND_PCM_IOPLUG_FLAG_LISTED
2005-03-30 7:50 Support for SND_PCM_IOPLUG_FLAG_LISTED Marcel Holtmann
@ 2005-03-30 8:05 ` Jaroslav Kysela
2005-03-30 8:12 ` Marcel Holtmann
0 siblings, 1 reply; 5+ messages in thread
From: Jaroslav Kysela @ 2005-03-30 8:05 UTC (permalink / raw)
To: Marcel Holtmann; +Cc: alsa-devel, Takashi Iwai
On Wed, 30 Mar 2005, Marcel Holtmann wrote:
> 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?
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 <perex@suse.cz>
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Support for SND_PCM_IOPLUG_FLAG_LISTED
2005-03-30 8:05 ` Jaroslav Kysela
@ 2005-03-30 8:12 ` Marcel Holtmann
2005-03-30 8:25 ` Jaroslav Kysela
0 siblings, 1 reply; 5+ messages in thread
From: Marcel Holtmann @ 2005-03-30 8:12 UTC (permalink / raw)
To: Jaroslav Kysela; +Cc: alsa-devel, Takashi Iwai
Hi Jaroslav,
> > 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?
>
> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Support for SND_PCM_IOPLUG_FLAG_LISTED
2005-03-30 8:12 ` Marcel Holtmann
@ 2005-03-30 8:25 ` Jaroslav Kysela
2005-03-30 8:30 ` Marcel Holtmann
0 siblings, 1 reply; 5+ messages in thread
From: Jaroslav Kysela @ 2005-03-30 8:25 UTC (permalink / raw)
To: Marcel Holtmann; +Cc: alsa-devel, Takashi Iwai
On Wed, 30 Mar 2005, Marcel Holtmann wrote:
> 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 <perex@suse.cz>
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Support for SND_PCM_IOPLUG_FLAG_LISTED
2005-03-30 8:25 ` Jaroslav Kysela
@ 2005-03-30 8:30 ` Marcel Holtmann
0 siblings, 0 replies; 5+ messages in thread
From: Marcel Holtmann @ 2005-03-30 8:30 UTC (permalink / raw)
To: Jaroslav Kysela; +Cc: alsa-devel, Takashi Iwai
Hi Jaroslav,
> > 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.
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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-03-30 8:30 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-30 7:50 Support for SND_PCM_IOPLUG_FLAG_LISTED Marcel Holtmann
2005-03-30 8:05 ` Jaroslav Kysela
2005-03-30 8:12 ` Marcel Holtmann
2005-03-30 8:25 ` Jaroslav Kysela
2005-03-30 8:30 ` Marcel Holtmann
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.