Home
last modified time | relevance | path

Searched refs:ch (Results 1 – 10 of 10) sorted by relevance

/hardware/qcom/audio/legacy/libalsa-intf/
Darec.c387 int rec_raw(const char *fg, const char *device, int rate, int ch, in rec_raw() argument
408 count = rate * ch * 2; in rec_raw()
414 ch, rate, 16, format); in rec_raw()
421 return record_file(rate, ch, fd, count, flag, device); in rec_raw()
424 int rec_wav(const char *fg, const char *device, int rate, int ch, const char *fn) in rec_wav() argument
448 hdr.num_channels = ch; in rec_wav()
451 hdr.byte_rate = (rate * ch * hdr.bits_per_sample) / 8; in rec_wav()
452 hdr.block_align = ( hdr.bits_per_sample * ch ) / 8; in rec_wav()
459 count = rate * ch * 2; in rec_wav()
474 hdr.num_channels = ch; in rec_wav()
[all …]
Daplay.c472 int play_raw(const char *fg, int rate, int ch, const char *device, const char *fn) in play_raw() argument
494 fn, get_format_desc(format), ch ); in play_raw()
495 return play_file(rate, ch, fd, flag, device, 0); in play_raw()
498 int play_wav(const char *fg, int rate, int ch, const char *device, const char *fn) in play_wav() argument
517 hdr.num_channels = ch; in play_wav()
545 hdr.num_channels = ch; in play_wav()
563 int ch = 2; in main() local
608 ch = (int)strtol(optarg, NULL, 0); in main()
658 rc = play_wav(mmap, rate, ch, device, filename); in main()
660 rc = play_raw(mmap, rate, ch, device, filename); in main()
[all …]
Dalsaucm_test.c89 char ch; in alsaucm_test_cmd_svr() local
95 read_count = read(fd, &ch, 1); in alsaucm_test_cmd_svr()
104 if (ch != '\n') { in alsaucm_test_cmd_svr()
105 strlcat(cmdstr, &ch , (2+strlen(cmdstr))); in alsaucm_test_cmd_svr()
Dalsa_pcm.c139 const char *ch = format; in get_compressed_format() local
140 if (strcmp(ch, "MP3") == 0) { in get_compressed_format()
143 } else if (strcmp(ch, "AC3_PASS_THROUGH") == 0) { in get_compressed_format()
439 struct snd_pcm_channel_info ch; in mmap_buffer() local
Dalsa_audio.h40 struct snd_pcm_channel_info ch[2]; member
/hardware/ti/omap4xxx/test/CameraHal/
Dcamera_test_menu.cpp1204 char ch; in menu_gps() local
1218 ch = getchar(); in menu_gps()
1219 printf("%c", ch); in menu_gps()
1223 switch (ch) { in menu_gps()
1283 char ch; in functional_menu() local
1385 ch = getchar(); in functional_menu()
1386 printf("%c", ch); in functional_menu()
1390 switch (ch) { in functional_menu()
2123 char ch; in error_scenario() local
2140 ch = getchar(); in error_scenario()
[all …]
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_snapshot.c406 mm_camera_channel_t *ch = NULL; in mm_app_stop_capture() local
408 ch = mm_app_get_channel_by_type(test_obj, MM_CHANNEL_TYPE_CAPTURE); in mm_app_stop_capture()
410 rc = mm_app_stop_channel(test_obj, ch); in mm_app_stop_capture()
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera.c76 if (handler == cam_obj->ch[i].my_hdl) { in mm_camera_util_get_channel_by_handler()
77 ch_obj = &cam_obj->ch[i]; in mm_camera_util_get_channel_by_handler()
716 if (MM_CHANNEL_STATE_NOTUSED == my_obj->ch[ch_idx].state) { in mm_camera_add_channel()
717 ch_obj = &my_obj->ch[ch_idx]; in mm_camera_add_channel()
/hardware/qcom/camera/
DQCamera_Intf.h899 uint32_t ch; member
999 mm_camera_ch_event_t ch; member
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h374 mm_channel_t ch[MM_CAMERA_CHANNEL_MAX]; member