Home
last modified time | relevance | path

Searched refs:mpeg_cap (Results 1 – 2 of 2) sorted by relevance

/external/bluetooth/bluez/audio/
Dunix.c543 struct mpeg_codec_cap *mpeg_cap = (void *) codec_cap; in a2dp_append_codec() local
558 mpeg->channel_mode = mpeg_cap->channel_mode; in a2dp_append_codec()
559 mpeg->crc = mpeg_cap->crc; in a2dp_append_codec()
560 mpeg->layer = mpeg_cap->layer; in a2dp_append_codec()
561 mpeg->frequency = mpeg_cap->frequency; in a2dp_append_codec()
562 mpeg->mpf = mpeg_cap->mpf; in a2dp_append_codec()
563 mpeg->bitrate = mpeg_cap->bitrate; in a2dp_append_codec()
565 print_mpeg12(mpeg_cap); in a2dp_append_codec()
1467 struct mpeg_codec_cap mpeg_cap; in handle_a2dp_transport() local
1491 memset(&mpeg_cap, 0, sizeof(mpeg_cap)); in handle_a2dp_transport()
[all …]
Da2dp.c462 struct mpeg_codec_cap mpeg_cap; in mpeg_getcap_ind() local
476 memset(&mpeg_cap, 0, sizeof(struct mpeg_codec_cap)); in mpeg_getcap_ind()
478 mpeg_cap.cap.media_type = AVDTP_MEDIA_TYPE_AUDIO; in mpeg_getcap_ind()
479 mpeg_cap.cap.media_codec_type = A2DP_CODEC_MPEG12; in mpeg_getcap_ind()
481 mpeg_cap.frequency = ( MPEG_SAMPLING_FREQ_48000 | in mpeg_getcap_ind()
488 mpeg_cap.channel_mode = ( MPEG_CHANNEL_MODE_JOINT_STEREO | in mpeg_getcap_ind()
493 mpeg_cap.layer = ( MPEG_LAYER_MP3 | MPEG_LAYER_MP2 | MPEG_LAYER_MP1 ); in mpeg_getcap_ind()
495 mpeg_cap.bitrate = 0xFFFF; in mpeg_getcap_ind()
497 media_codec = avdtp_service_cap_new(AVDTP_MEDIA_CODEC, &mpeg_cap, in mpeg_getcap_ind()
498 sizeof(mpeg_cap)); in mpeg_getcap_ind()