tinycompress icon indicating copy to clipboard operation
tinycompress copied to clipboard

Demo application for accel operation.

Open TE-N-ShengjiuWang opened this issue 1 year ago • 3 comments

This 'caccel' applicaton is a demo to show how to call the new introduced accel interface.

The kernel patch is: ALSA: compress_offload: introduce accel operation mode

As there is conflict when using the API of alsa-lib, add alsa_wrap file to separate the header files: alsa/asoundlib.h sound/asound.h

command for conversion to 48kHz: caccel -i in.wav -o out.wav -r 48000

TE-N-ShengjiuWang avatar Oct 24 '24 05:10 TE-N-ShengjiuWang

Thank you for this example code, but the abstraction should be added to tinycompress library like we do for standard playback/capture modes.

perexg avatar Oct 24 '24 07:10 perexg

Thank you for this example code, but the abstraction should be added to tinycompress library like we do for standard playback/capture modes.

yes, that is the primary comment for this change

vinodkoul avatar Oct 24 '24 07:10 vinodkoul

@perexg @vinodkoul I have update the commits, mainly for tinycompress library.

TE-N-ShengjiuWang avatar Oct 25 '24 02:10 TE-N-ShengjiuWang