• Home
  • Raw
  • Download

Lines Matching refs:cras_rstream

67 struct cras_rstream {  struct
97 struct cras_rstream *prev, *next; argument
110 struct cras_rstream **stream_out);
113 void cras_rstream_destroy(struct cras_rstream *stream);
117 cras_rstream_id(const struct cras_rstream *stream) in cras_rstream_id()
124 cras_rstream_get_buffer_frames(const struct cras_rstream *stream) in cras_rstream_get_buffer_frames()
131 cras_rstream_get_cb_threshold(const struct cras_rstream *stream) in cras_rstream_get_cb_threshold()
138 cras_rstream_get_max_write_frames(const struct cras_rstream *stream) in cras_rstream_get_max_write_frames()
147 cras_rstream_get_type(const struct cras_rstream *stream) in cras_rstream_get_type()
154 cras_rstream_get_direction(const struct cras_rstream *stream) in cras_rstream_get_direction()
160 static inline void cras_rstream_set_format(struct cras_rstream *stream, in cras_rstream_set_format()
167 static inline int cras_rstream_get_format(const struct cras_rstream *stream, in cras_rstream_get_format()
175 static inline int cras_rstream_get_audio_fd(const struct cras_rstream *stream) in cras_rstream_get_audio_fd()
182 cras_rstream_get_is_draining(const struct cras_rstream *stream) in cras_rstream_get_is_draining()
188 static inline void cras_rstream_set_is_draining(struct cras_rstream *stream, in cras_rstream_set_is_draining()
195 static inline int cras_rstream_get_shm_fds(const struct cras_rstream *stream, in cras_rstream_get_shm_fds()
209 cras_rstream_get_samples_shm_size(const struct cras_rstream *stream) in cras_rstream_get_samples_shm_size()
216 cras_rstream_shm(struct cras_rstream *stream) in cras_rstream_shm()
222 static inline int stream_uses_output(const struct cras_rstream *s) in stream_uses_output()
228 static inline int stream_uses_input(const struct cras_rstream *s) in stream_uses_input()
233 static inline int stream_is_server_only(const struct cras_rstream *s) in stream_is_server_only()
239 unsigned int cras_rstream_get_effects(const struct cras_rstream *stream);
243 cras_rstream_post_processing_format(const struct cras_rstream *stream,
248 void cras_rstream_record_fetch_interval(struct cras_rstream *rstream,
252 int cras_rstream_request_audio(struct cras_rstream *stream,
256 int cras_rstream_audio_ready(struct cras_rstream *stream, size_t count);
259 void cras_rstream_dev_attach(struct cras_rstream *rstream, unsigned int dev_id,
261 void cras_rstream_dev_detach(struct cras_rstream *rstream, unsigned int dev_id);
263 static inline void *cras_rstream_dev_ptr(struct cras_rstream *rstream, in cras_rstream_dev_ptr()
270 void cras_rstream_dev_offset_update(struct cras_rstream *rstream,
273 void cras_rstream_update_input_write_pointer(struct cras_rstream *rstream);
274 void cras_rstream_update_output_read_pointer(struct cras_rstream *rstream);
276 unsigned int cras_rstream_dev_offset(const struct cras_rstream *rstream,
279 static inline unsigned int cras_rstream_level(struct cras_rstream *rstream) in cras_rstream_level()
285 static inline int cras_rstream_input_level_met(struct cras_rstream *rstream) in cras_rstream_input_level_met()
294 void cras_rstream_update_queued_frames(struct cras_rstream *rstream);
297 unsigned int cras_rstream_playable_frames(struct cras_rstream *rstream,
301 float cras_rstream_get_volume_scaler(struct cras_rstream *rstream);
305 uint8_t *cras_rstream_get_readable_frames(struct cras_rstream *rstream,
309 int cras_rstream_get_mute(const struct cras_rstream *rstream);
318 int cras_rstream_is_pending_reply(const struct cras_rstream *stream);
323 int cras_rstream_flush_old_audio_messages(struct cras_rstream *stream);