Loading include/sound/compress_driver.h +1 −0 Original line number Diff line number Diff line Loading @@ -152,6 +152,7 @@ int snd_compress_register(struct snd_compr *device); int snd_compress_deregister(struct snd_compr *device); int snd_compress_new(struct snd_card *card, int device, int type, const char *id, struct snd_compr *compr); void snd_compress_free(struct snd_card *card, struct snd_compr *compr); /* dsp driver callback apis * For playback: driver should call snd_compress_fragment_elapsed() to let the Loading sound/core/compress_offload.c +11 −0 Original line number Diff line number Diff line Loading @@ -1095,6 +1095,17 @@ int snd_compress_new(struct snd_card *card, int device, } EXPORT_SYMBOL_GPL(snd_compress_new); /* * snd_compress_free: free compress device * @card: sound card pointer * @compr: compress device pointer */ void snd_compress_free(struct snd_card *card, struct snd_compr *compr) { snd_device_free(card, compr); } EXPORT_SYMBOL(snd_compress_free); static int snd_compress_add_device(struct snd_compr *device) { int ret; Loading Loading
include/sound/compress_driver.h +1 −0 Original line number Diff line number Diff line Loading @@ -152,6 +152,7 @@ int snd_compress_register(struct snd_compr *device); int snd_compress_deregister(struct snd_compr *device); int snd_compress_new(struct snd_card *card, int device, int type, const char *id, struct snd_compr *compr); void snd_compress_free(struct snd_card *card, struct snd_compr *compr); /* dsp driver callback apis * For playback: driver should call snd_compress_fragment_elapsed() to let the Loading
sound/core/compress_offload.c +11 −0 Original line number Diff line number Diff line Loading @@ -1095,6 +1095,17 @@ int snd_compress_new(struct snd_card *card, int device, } EXPORT_SYMBOL_GPL(snd_compress_new); /* * snd_compress_free: free compress device * @card: sound card pointer * @compr: compress device pointer */ void snd_compress_free(struct snd_card *card, struct snd_compr *compr) { snd_device_free(card, compr); } EXPORT_SYMBOL(snd_compress_free); static int snd_compress_add_device(struct snd_compr *device) { int ret; Loading