* Add support for getting list of supported codecs
[not found] <1664975493385212898-webhooks-bot@alsa-project.org>
@ 2022-10-05 13:11 ` GitHub pull_request - edited
0 siblings, 0 replies; 2+ messages in thread
From: GitHub pull_request - edited @ 2022-10-05 13:11 UTC (permalink / raw)
To: alsa-devel
alsa-project/tinycompress pull request #16 was edited from SanchayanMaity:
Right now, there is no way to expose a list of codecs from `tinycompress`. While one could theoretically call `is_codec_supported` multiple times in an application to check against a list of codecs, an API would make it easy to enumerate supported codecs. The IOCTL `SNDRV_COMPRESS_GET_CAPS` after all already exists.
Our use case is Pipewire where we would like the compressed sink node to advertise only codecs supported by the underlying hardware. So far we were just advertising the complete list of codecs and let node linking fail at runtime based on result from `is_codec_supported`.
Request URL : https://github.com/alsa-project/tinycompress/pull/16
Patch URL : https://github.com/alsa-project/tinycompress/pull/16.patch
Repository URL: https://github.com/alsa-project/tinycompress
^ permalink raw reply [flat|nested] 2+ messages in thread
* Add support for getting list of supported codecs
[not found] <1667377723910022020-webhooks-bot@alsa-project.org>
@ 2022-11-02 8:28 ` GitHub pull_request - edited
0 siblings, 0 replies; 2+ messages in thread
From: GitHub pull_request - edited @ 2022-11-02 8:28 UTC (permalink / raw)
To: alsa-devel
alsa-project/tinycompress pull request #16 was edited from SanchayanMaity:
Right now, there is no way to expose a list of codecs from `tinycompress`. While one could theoretically call `is_codec_supported` multiple times in an application to check against a list of codecs, an API would make it easy to enumerate supported codecs. The IOCTL `SNDRV_COMPRESS_GET_CAPS` after all already exists.
Our use case is Pipewire where we would like the compressed sink node to advertise only codecs supported by the underlying hardware. So far we were just advertising the complete list of codecs and let node linking fail at runtime based on result from `is_codec_supported`.
Pipewire MR: https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/1431
Request URL : https://github.com/alsa-project/tinycompress/pull/16
Patch URL : https://github.com/alsa-project/tinycompress/pull/16.patch
Repository URL: https://github.com/alsa-project/tinycompress
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-11-02 8:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1664975493385212898-webhooks-bot@alsa-project.org>
2022-10-05 13:11 ` Add support for getting list of supported codecs GitHub pull_request - edited
[not found] <1667377723910022020-webhooks-bot@alsa-project.org>
2022-11-02 8:28 ` 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;
as well as URLs for NNTP newsgroup(s).