HomeSort by relevance Sort by last modified time
    Searched refs:cras_iodev (Results 26 - 45 of 45) sorted by null

12

  /external/adhd/cras/src/server/
cras_empty_iodev.c 12 #include "cras_iodev.h"
39 struct cras_iodev base;
50 static unsigned int current_level(const struct cras_iodev *iodev)
73 static int frames_queued(const struct cras_iodev *iodev,
80 static int delay_frames(const struct cras_iodev *iodev)
85 static int close_dev(struct cras_iodev *iodev)
96 static int open_dev(struct cras_iodev *iodev)
113 static int get_buffer(struct cras_iodev *iodev,
135 static int put_buffer(struct cras_iodev *iodev, unsigned frames)
157 static int flush_buffer(struct cras_iodev *iodev
    [all...]
test_iodev.c 15 #include "cras_iodev.h"
38 struct cras_iodev base;
48 static int frames_queued(const struct cras_iodev *iodev,
61 static int delay_frames(const struct cras_iodev *iodev)
66 static int close_dev(struct cras_iodev *iodev)
76 static int open_dev(struct cras_iodev *iodev)
91 static int get_buffer(struct cras_iodev *iodev,
108 static int put_buffer(struct cras_iodev *iodev, unsigned frames)
118 static int get_buffer_fd_read(struct cras_iodev *iodev,
151 static void update_active_node(struct cras_iodev *iodev, unsigned node_idx
    [all...]
cras_iodev_list.c 10 #include "cras_iodev.h"
31 struct cras_iodev *iodevs;
40 struct cras_iodev *dev;
52 static struct cras_iodev *fallback_devs[CRAS_NUM_DIRECTIONS];
73 static struct cras_iodev *find_dev(size_t dev_index)
75 struct cras_iodev *dev;
90 struct cras_iodev *dev;
109 static int add_dev_to_list(struct cras_iodev *dev)
111 struct cras_iodev *tmp;
147 static int rm_dev_from_list(struct cras_iodev *dev
    [all...]
cras_a2dp_iodev.c 23 #include "cras_iodev.h"
32 /* Child of cras_iodev to handle bluetooth A2DP streaming.
34 * base - The cras_iodev structure "base class"
47 struct cras_iodev base;
60 static int update_supported_formats(struct cras_iodev *iodev)
107 static int bt_queued_frames(const struct cras_iodev *iodev, int fr)
124 static int frames_queued(const struct cras_iodev *iodev,
138 static int open_dev(struct cras_iodev *iodev)
193 static int close_dev(struct cras_iodev *iodev)
264 struct cras_iodev *iodev = (struct cras_iodev *)arg
    [all...]
cras_hfp_info.c 51 struct cras_iodev *idev;
52 struct cras_iodev *odev;
56 int hfp_info_add_iodev(struct hfp_info *info, struct cras_iodev *dev)
78 int hfp_info_rm_iodev(struct hfp_info *info, struct cras_iodev *dev)
95 void hfp_buf_acquire(struct hfp_info *info, struct cras_iodev *dev,
114 int hfp_buf_size(struct hfp_info *info, struct cras_iodev *dev)
119 void hfp_buf_release(struct hfp_info *info, struct cras_iodev *dev,
133 int hfp_buf_queued(struct hfp_info *info, const struct cras_iodev *dev)
cras_alsa_io.c 26 #include "cras_iodev.h"
88 * Child of cras_iodev, alsa_io handles ALSA interaction for sound devices.
89 * base - The cras_iodev structure "base class".
128 struct cras_iodev base;
158 static int alsa_iodev_set_active_node(struct cras_iodev *iodev,
251 static int frames_queued(const struct cras_iodev *iodev,
278 static int delay_frames(const struct cras_iodev *iodev)
293 static int close_dev(struct cras_iodev *iodev)
322 static int open_dev(struct cras_iodev *iodev)
427 * Note that to fully open a cras_iodev, ALSA device is opened first, then ther
    [all...]
cras_bt_device.c 29 #include "cras_iodev.h"
85 struct cras_iodev *bt_iodevs[CRAS_NUM_DIRECTIONS];
108 struct cras_iodev *dev;
379 struct cras_iodev *iodev,
382 struct cras_iodev *bt_iodev;
399 struct cras_iodev *bt_iodev,
403 struct cras_iodev *iodev)
405 struct cras_iodev *bt_iodev;
450 struct cras_iodev *odev = device->bt_iodevs[CRAS_STREAM_OUTPUT];
459 struct cras_iodev *idev = device->bt_iodevs[CRAS_STREAM_INPUT]
    [all...]
audio_thread.c 19 #include "cras_iodev.h"
62 struct cras_iodev *dev;
73 struct cras_iodev **devs;
84 struct cras_iodev *dev;
209 static void fill_odevs_zeros_min_level(struct cras_iodev *odev)
217 static void delete_stream_from_dev(struct cras_iodev *dev,
230 struct cras_iodev **iodevs,
234 struct cras_iodev *dev;
324 struct cras_iodev *iodev)
355 struct cras_iodev *dev
    [all...]
dev_stream.h 20 struct cras_iodev;
cras_alsa_card.c 20 #include "cras_iodev.h"
33 struct cras_iodev *iodev;
79 struct cras_iodev *create_iodev_for_device(
276 struct cras_iodev *iodev =
297 struct cras_iodev *iodev =
cras_hfp_ag_profile.c 87 struct cras_iodev *idev;
88 struct cras_iodev *odev;
cras_a2dp_endpoint.c 13 #include "cras_iodev.h"
25 struct cras_iodev *iodev;
  /external/adhd/cras/src/tests/
a2dp_iodev_unittest.cc 16 #include "cras_iodev.h"
89 int iodev_set_format(struct cras_iodev *iodev,
104 struct cras_iodev *iodev;
141 struct cras_iodev *iodev;
158 struct cras_iodev *iodev;
177 struct cras_iodev *iodev;
240 struct cras_iodev *iodev;
309 struct cras_iodev *iodev;
407 void cras_iodev_free_format(struct cras_iodev *iodev)
412 void cras_iodev_free_resources(struct cras_iodev *iodev
    [all...]
iodev_list_unittest.cc 12 #include "cras_iodev.h"
34 static cras_iodev *audio_thread_remove_streams_active_dev;
35 static cras_iodev *audio_thread_set_active_dev_val;
37 static cras_iodev *audio_thread_add_open_dev_dev;
41 static struct cras_iodev loopback_input;
43 static struct cras_iodev *cras_iodev_close_dev;
44 static struct cras_iodev dummy_empty_iodev[2];
55 static struct cras_iodev *device_enabled_dev;
57 static struct cras_iodev *device_disabled_dev;
61 static struct cras_iodev *audio_thread_add_stream_dev
    [all...]
alsa_io_unittest.cc 13 #include "cras_iodev.h"
247 static struct cras_iodev *alsa_iodev_create_with_default_parameters(
281 ASSERT_EQ(0, alsa_iodev_legacy_complete_init((struct cras_iodev *)aio));
297 alsa_iodev_destroy((struct cras_iodev *)aio);
309 ASSERT_EQ(0, alsa_iodev_legacy_complete_init((struct cras_iodev *)aio));
315 alsa_iodev_destroy((struct cras_iodev *)aio);
320 ASSERT_EQ(0, alsa_iodev_legacy_complete_init((struct cras_iodev *)aio));
326 alsa_iodev_destroy((struct cras_iodev *)aio);
331 ASSERT_EQ(0, alsa_iodev_legacy_complete_init((struct cras_iodev *)aio));
338 alsa_iodev_destroy((struct cras_iodev *)aio)
    [all...]
iodev_unittest.cc 9 #include "cras_iodev.h"
81 // This will be used extensively in cras_iodev.
99 static struct cras_iodev* cras_device_monitor_set_device_mute_state_dev;
108 int update_channel_layout(struct cras_iodev *iodev) {
114 int set_swap_mode_for_node(struct cras_iodev *iodev, struct cras_ionode *node,
261 struct cras_iodev iodev_;
517 static int get_buffer(cras_iodev* iodev, struct cras_audio_area** area,
535 static int put_buffer(struct cras_iodev *iodev, unsigned int nframes)
545 static int no_stream(struct cras_iodev *odev, int enable)
553 static int output_should_wake(const struct cras_iodev *odev
    [all...]
alsa_card_unittest.cc 28 static struct cras_iodev **cras_alsa_iodev_create_return;
29 static struct cras_iodev *cras_alsa_iodev_create_default_return[] = {
30 reinterpret_cast<struct cras_iodev *>(2),
31 reinterpret_cast<struct cras_iodev *>(3),
32 reinterpret_cast<struct cras_iodev *>(4),
33 reinterpret_cast<struct cras_iodev *>(5),
40 static struct cras_iodev *cras_alsa_iodev_destroy_arg;
42 static std::map<struct cras_iodev *, unsigned int> cras_alsa_iodev_index_return;
    [all...]
audio_thread_unittest_obsolete.cc 155 static int frames_queued(const cras_iodev* iodev) {
159 static int delay_frames(const cras_iodev* iodev) {
163 static int get_buffer(cras_iodev* iodev,
185 static int put_buffer(cras_iodev* iodev,
191 static int is_open(const cras_iodev* iodev) {
195 static int open_dev(cras_iodev* iodev) {
199 static int close_dev(cras_iodev* iodev) {
204 static int dev_running(const cras_iodev* iodev) {
210 struct cras_iodev iodev_;
211 struct cras_iodev output_dev_
    [all...]
hfp_info_unittest.cc 15 static struct cras_iodev dev;
rclient_unittest.cc 652 struct cras_iodev *odev)
696 int cras_iodev_list_rm_output(struct cras_iodev *output) {
701 int cras_iodev_list_rm_input(struct cras_iodev *input) {

Completed in 607 milliseconds

12