/external/bluetooth/bluez/audio/ |
H A D | a2dp.h | 74 uint8_t channel_mode:4; member in struct:sbc_codec_cap 85 uint8_t channel_mode:4; member in struct:mpeg_codec_cap 99 uint8_t channel_mode:4; member in struct:sbc_codec_cap 111 uint8_t channel_mode:4; member in struct:mpeg_codec_cap
|
H A D | gstrtpsbcpay.c | 107 gint blocks, gint bitpool, const gchar *channel_mode) 114 if (strcmp(channel_mode, "mono") == 0 || 115 strcmp(channel_mode, "dual") == 0) 118 join = strcmp(channel_mode, "joint") == 0 ? 1 : 0; 131 const gchar *channel_mode; local 148 channel_mode = gst_structure_get_string(structure, "mode"); 149 if (!channel_mode) 153 bitpool, channel_mode); 106 gst_rtp_sbc_pay_get_frame_len(gint subbands, gint channels, gint blocks, gint bitpool, const gchar *channel_mode) argument
|
H A D | gstavdtpsink.c | 305 cfg->channel_mode = BT_A2DP_CHANNEL_MODE_MONO; 307 cfg->channel_mode = BT_A2DP_CHANNEL_MODE_DUAL_CHANNEL; 309 cfg->channel_mode = BT_A2DP_CHANNEL_MODE_STEREO; 311 cfg->channel_mode = BT_A2DP_CHANNEL_MODE_JOINT_STEREO; 456 if (sbc->channel_mode & BT_A2DP_CHANNEL_MODE_MONO) { 460 if (sbc->channel_mode & BT_A2DP_CHANNEL_MODE_STEREO) { 464 if (sbc->channel_mode & BT_A2DP_CHANNEL_MODE_DUAL_CHANNEL) { 468 if (sbc->channel_mode & BT_A2DP_CHANNEL_MODE_JOINT_STEREO) { 578 if (sbc->channel_mode & BT_A2DP_CHANNEL_MODE_MONO) 580 if ((sbc->channel_mode 823 gchar *channel_mode = NULL; local [all...] |
H A D | gstavdtpsink.h | 62 gint channel_mode; member in struct:_GstAvdtpSink
|
H A D | liba2dp.c | 378 if (cap->channel_mode & BT_A2DP_CHANNEL_MODE_JOINT_STEREO) 379 cap->channel_mode = BT_A2DP_CHANNEL_MODE_JOINT_STEREO; 380 else if (cap->channel_mode & BT_A2DP_CHANNEL_MODE_STEREO) 381 cap->channel_mode = BT_A2DP_CHANNEL_MODE_STEREO; 382 else if (cap->channel_mode & BT_A2DP_CHANNEL_MODE_DUAL_CHANNEL) 383 cap->channel_mode = BT_A2DP_CHANNEL_MODE_DUAL_CHANNEL; 385 if (cap->channel_mode & BT_A2DP_CHANNEL_MODE_MONO) 386 cap->channel_mode = BT_A2DP_CHANNEL_MODE_MONO; 389 if (!cap->channel_mode) { 423 cap->channel_mode), [all...] |
H A D | pcm_bluetooth.c | 116 uint8_t channel_mode; /* A2DP only */ member in struct:bluetooth_alsa_config 554 cap->channel_mode = cfg->channel_mode; 556 if (cap->channel_mode & BT_A2DP_CHANNEL_MODE_JOINT_STEREO) 557 cap->channel_mode = BT_A2DP_CHANNEL_MODE_JOINT_STEREO; 558 else if (cap->channel_mode & BT_A2DP_CHANNEL_MODE_STEREO) 559 cap->channel_mode = BT_A2DP_CHANNEL_MODE_STEREO; 560 else if (cap->channel_mode & BT_A2DP_CHANNEL_MODE_DUAL_CHANNEL) 561 cap->channel_mode = BT_A2DP_CHANNEL_MODE_DUAL_CHANNEL; 563 if (cap->channel_mode [all...] |
H A D | source.c | 372 if (supported->channel_mode & SBC_CHANNEL_MODE_JOINT_STEREO) 373 cap->channel_mode = SBC_CHANNEL_MODE_JOINT_STEREO; 374 else if (supported->channel_mode & SBC_CHANNEL_MODE_STEREO) 375 cap->channel_mode = SBC_CHANNEL_MODE_STEREO; 376 else if (supported->channel_mode & SBC_CHANNEL_MODE_DUAL_CHANNEL) 377 cap->channel_mode = SBC_CHANNEL_MODE_DUAL_CHANNEL; 378 else if (supported->channel_mode & SBC_CHANNEL_MODE_MONO) 379 cap->channel_mode = SBC_CHANNEL_MODE_MONO; 413 max_bitpool = MIN(default_bitpool(cap->frequency, cap->channel_mode),
|
H A D | sink.c | 405 if (supported->channel_mode & SBC_CHANNEL_MODE_JOINT_STEREO) 406 cap->channel_mode = SBC_CHANNEL_MODE_JOINT_STEREO; 407 else if (supported->channel_mode & SBC_CHANNEL_MODE_STEREO) 408 cap->channel_mode = SBC_CHANNEL_MODE_STEREO; 409 else if (supported->channel_mode & SBC_CHANNEL_MODE_DUAL_CHANNEL) 410 cap->channel_mode = SBC_CHANNEL_MODE_DUAL_CHANNEL; 411 else if (supported->channel_mode & SBC_CHANNEL_MODE_MONO) 412 cap->channel_mode = SBC_CHANNEL_MODE_MONO; 446 max_bitpool = MIN(default_bitpool(cap->frequency, cap->channel_mode),
|
H A D | unix.c | 456 mpeg->channel_mode & MPEG_CHANNEL_MODE_MONO ? "Mono " : "", 457 mpeg->channel_mode & MPEG_CHANNEL_MODE_DUAL_CHANNEL ? 459 mpeg->channel_mode & MPEG_CHANNEL_MODE_STEREO ? "Stereo " : "", 460 mpeg->channel_mode & MPEG_CHANNEL_MODE_JOINT_STEREO ? 482 sbc->channel_mode & SBC_CHANNEL_MODE_MONO ? "Mono " : "", 483 sbc->channel_mode & SBC_CHANNEL_MODE_DUAL_CHANNEL ? 485 sbc->channel_mode & SBC_CHANNEL_MODE_STEREO ? "Stereo " : "", 486 sbc->channel_mode & SBC_CHANNEL_MODE_JOINT_STEREO ? "JointStereo" : "", 533 sbc->channel_mode = sbc_cap->channel_mode; [all...] |
H A D | ipc.h | 196 uint8_t channel_mode; member in struct:__anon53 207 uint8_t channel_mode; member in struct:__anon54
|
H A D | a2dp.c | 381 sbc_cap.channel_mode = ( SBC_CHANNEL_MODE_JOINT_STEREO | 488 mpeg_cap.channel_mode = ( MPEG_CHANNEL_MODE_JOINT_STEREO |
|
/external/bluetooth/bluez/sbc/ |
H A D | sbcinfo.c | 43 uint8_t channel_mode:2; /* Channel mode */ member in struct:sbc_frame_hdr 54 uint8_t channel_mode:2; /* Channel mode */ member in struct:sbc_frame_hdr 71 switch (hdr->channel_mode) { 202 mode = hdr.channel_mode; 284 printf("Channel mode\t\t%s\n", mode2str(hdr.channel_mode));
|
/external/bluetooth/bluez/tools/ |
H A D | avinfo.c | 174 uint8_t channel_mode:4; member in struct:sbc_codec_cap 185 uint8_t channel_mode:4; member in struct:mpeg_codec_cap 229 uint8_t channel_mode:4; member in struct:sbc_codec_cap 241 uint8_t channel_mode:4; member in struct:mpeg_codec_cap 267 if (mpeg->channel_mode & MPEG_CHANNEL_MODE_MONO) 269 if (mpeg->channel_mode & MPEG_CHANNEL_MODE_DUAL_CHANNEL) 271 if (mpeg->channel_mode & MPEG_CHANNEL_MODE_STEREO) 273 if (mpeg->channel_mode & MPEG_CHANNEL_MODE_JOINT_STEREO) 348 if (sbc->channel_mode & SBC_CHANNEL_MODE_MONO) 350 if (sbc->channel_mode [all...] |
/external/bluetooth/bluez/test/ |
H A D | ipctest.c | 419 if (cap->channel_mode & BT_A2DP_CHANNEL_MODE_MONO) { 420 cap->channel_mode = BT_A2DP_CHANNEL_MODE_MONO; 429 if (cap->channel_mode & BT_A2DP_CHANNEL_MODE_JOINT_STEREO) 430 cap->channel_mode = BT_A2DP_CHANNEL_MODE_JOINT_STEREO; 431 else if (cap->channel_mode & BT_A2DP_CHANNEL_MODE_STEREO) 432 cap->channel_mode = BT_A2DP_CHANNEL_MODE_STEREO; 433 else if (cap->channel_mode & BT_A2DP_CHANNEL_MODE_DUAL_CHANNEL) 434 cap->channel_mode = BT_A2DP_CHANNEL_MODE_DUAL_CHANNEL; 435 else if (cap->channel_mode & BT_A2DP_CHANNEL_MODE_MONO) { 436 cap->channel_mode [all...] |