Home | History | Annotate | Download | only in tinycompress

Lines Matching refs:compress

33  * tinycompress library for compress audio offload in alsa
82 struct compress;
86 * compress_open: open a new compress stream
87 * returns the valid struct compress on success, NULL on failure
97 struct compress *compress_open(unsigned int card, unsigned int device,
101 * compress_close: close the compress stream
103 * @compress: compress stream to be closed
105 void compress_close(struct compress *compress);
111 * @compress: compress stream on which query is made
115 int compress_get_hpointer(struct compress *compress,
123 * @compress: compress stream on which query is made
127 int compress_get_tstamp(struct compress *compress,
131 * compress_write: write data to the compress stream
143 * @compress: compress stream to be written to
147 int compress_write(struct compress *compress, const void *buf, unsigned int size);
150 * compress_read: read data from the compress stream
160 * @compress: compress stream from where data is to be read
164 int compress_read(struct compress *compress, void *buf, unsigned int size);
167 * compress_start: start the compress stream
170 * @compress: compress stream to be started
172 int compress_start(struct compress *compress);
175 * compress_stop: stop the compress stream
178 * @compress: compress stream to be stopped
180 int compress_stop(struct compress *compress);
183 * compress_pause: pause the compress stream
186 * @compress: compress stream to be paused
188 int compress_pause(struct compress *compress);
191 * compress_resume: resume the compress stream
194 * @compress: compress stream to be resumed
196 int compress_resume(struct compress *compress);
199 * compress_drain: drain the compress stream
202 * @compress: compress stream to be drain
204 int compress_drain(struct compress *compress);
211 * @compress: compress stream to be transistioned to next track
213 int compress_next_track(struct compress *compress);
222 * @compress: compress stream to be drain
224 int compress_partial_drain(struct compress *compress);
227 * compress_set_gapless_metadata: set gapless metadata of a compress strem
231 * @compress: compress stream for which metadata has to set
235 int compress_set_gapless_metadata(struct compress *compress,
258 void compress_set_max_poll_wait(struct compress *compress, int milliseconds);
261 void compress_nonblock(struct compress *compress, int nonblock);
264 int compress_wait(struct compress *compress, int timeout_ms);
266 int is_compress_running(struct compress *compress);
268 int is_compress_ready(struct compress *compress);
271 const char *compress_get_error(struct compress *compress);