Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
meta-nemo
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
NemoMobile
meta-nemo
Commits
1a1b1e5a
Commit
1a1b1e5a
authored
Jan 23, 2017
by
Florent Revest
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds a recipe for pulseaudio-modules-droid
parent
cecaa515
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
49 additions
and
0 deletions
+49
-0
0001-Use-pa_card_put-and-pa_card_choose_initial_profile.patch
...-Use-pa_card_put-and-pa_card_choose_initial_profile.patch
+26
-0
pulseaudio-modules-droid_git.bb
...pes-multimedia/pulseaudio/pulseaudio-modules-droid_git.bb
+23
-0
No files found.
recipes-multimedia/pulseaudio/pulseaudio-modules-droid/0001-Use-pa_card_put-and-pa_card_choose_initial_profile.patch
0 → 100644
View file @
1a1b1e5a
From 04b2fe6c1f2c416965723a7736999f7d2660fdd7 Mon Sep 17 00:00:00 2001
From: Florent Revest <revestflo@gmail.com>
Date: Mon, 23 Jan 2017 00:25:55 +0100
Subject: [PATCH] Use pa_card_put and pa_card_choose_initial_profile
---
src/droid/module-droid-card.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/droid/module-droid-card.c b/src/droid/module-droid-card.c
index 03a5875..bede5eb 100644
--- a/src/droid/module-droid-card.c
+++ b/src/droid/module-droid-card.c
@@ -925,6 +925,9 @@
int pa__init(pa_module *m) {
u->card->userdata = u;
u->card->set_profile = card_set_profile;
+ pa_card_choose_initial_profile(u->card);
+ pa_card_put(u->card);
+
u->modargs = ma;
u->module = m;
--
2.11.0
recipes-multimedia/pulseaudio/pulseaudio-modules-droid_git.bb
0 → 100644
View file @
1a1b1e5a
SUMMARY = "Android/hybris plugin for PulseAudio"
HOMEPAGE = "https://github.com/mer-hybris/pulseaudio-modules-droid"
LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=f294906e6e4eac9d917503a0bbd139b4"
SRC_URI = "git://github.com/mer-hybris/pulseaudio-modules-droid;protocol=https \
file://0001-Use-pa_card_put-and-pa_card_choose_initial_profile.patch"
SRCREV = "e28d1e22d3b0963e457e4fa45b952536ca415c9e"
PR = "r1"
PV = "+git${SRCREV}"
S = "${WORKDIR}/git"
DEPENDS += "pulseaudio libhybris"
inherit autotools pkgconfig
B = "${S}"
do_configure_prepend() {
sed -i "/define QCOM_HARDWARE/d" src/common/droid-util-51.h
}
FILES_${PN} += "/usr/lib/pulse-8.0/modules"
FILES_${PN}-dbg += "/usr/lib/pulse-8.0/modules/.debug/"
FILES_${PN}-staticdev += "/usr/lib/pulse-8.0/modules/*.a"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment