Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tinycompress: Add support for getting list of supported codecs
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. The use case is Pipewire where we would like the compressed sink Pipewire node to advertise only codecs supported by the underlying hardware. Signed-off-by: Sanchayan Maity <sanchayan@asymptotic.io>
- Loading branch information
1 parent
7dc18a7
commit e21d175
Showing
4 changed files
with
112 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters