Home | History | Annotate | Download | only in audio

Lines Matching refs:mpeg

72 #define IS_MPEG_AUDIO(n) (strcmp((n), "audio/mpeg") == 0)
609 GstAvdtpSink *self, mpeg_capabilities_t *mpeg)
617 if (!mpeg)
620 GST_LOG_OBJECT(self, "parsing mpeg caps");
622 structure = gst_structure_empty_new("audio/mpeg");
635 GST_LOG_OBJECT(self, "setting mpeg layer");
637 if (mpeg->layer & BT_MPEG_LAYER_1) {
642 if (mpeg->layer & BT_MPEG_LAYER_2) {
647 if (mpeg->layer & BT_MPEG_LAYER_3) {
665 GST_LOG_OBJECT(self, "setting mpeg rate");
667 if (mpeg->frequency & BT_MPEG_SAMPLING_FREQ_48000) {
671 if (mpeg->frequency & BT_MPEG_SAMPLING_FREQ_44100) {
675 if (mpeg->frequency & BT_MPEG_SAMPLING_FREQ_32000) {
679 if (mpeg->frequency & BT_MPEG_SAMPLING_FREQ_24000) {
683 if (mpeg->frequency & BT_MPEG_SAMPLING_FREQ_22050) {
687 if (mpeg->frequency & BT_MPEG_SAMPLING_FREQ_16000) {
699 GST_LOG_OBJECT(self, "setting mpeg channels");
702 if (mpeg->channel_mode & BT_A2DP_CHANNEL_MODE_MONO)
704 if ((mpeg->channel_mode & BT_A2DP_CHANNEL_MODE_STEREO) ||
705 (mpeg->channel_mode &
707 (mpeg->channel_mode &
735 mpeg_capabilities_t *mpeg;
743 mpeg = (void *) gst_avdtp_find_caps(self, BT_A2DP_MPEG12_SINK);
746 mpeg_structure = gst_avdtp_sink_parse_mpeg_caps(self, mpeg);
1054 else if (gst_structure_has_name(structure, "audio/mpeg"))