audio-hal uses sound card name when it trys to open ucm manager.
Therefore the directory contained ucm should be changed to sound card
name like bcm2837. That's a conventinal rules and looked more clearly.
Change-Id: I047e74a4e23bb652923b6455b7083790d424ba9a
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
--- /dev/null
+SectionUseCase."Inactive" {
+ File "inactive"
+ Comment "reset audio path"
+}
+
+SectionUseCase."HiFi" {
+ File "hifi"
+ Comment "Hifi audio path"
+}
+
+SectionUseCase."HDMI" {
+ File "hdmi"
+ Comment "HDMI audio path"
+}
+
+
+ValueDefaults {
+ PlaybackCTL "hw:1"
+ CaptureCTL "hw:1"
+}
+
+SectionDefaults {
+}
--- /dev/null
+SectionVerb {
+ EnableSequence [
+ ]
+ DisableSequence [
+ ]
+
+ Value {
+ TQ "Music"
+ PlaybackCTL "hw:1"
+ }
+}
+
+SectionDevice."HDMI" {
+ Comment "HDMI AUDIO"
+
+ EnableSequence [
+ ]
+
+ DisableSequence [
+ ]
+
+ Value {
+ PlaybackPCM "hw:1,1"
+ }
+}
--- /dev/null
+SectionVerb {
+ EnableSequence [
+ ]
+ DisableSequence [
+ ]
+
+ Value {
+ TQ "Music"
+ PlaybackCTL "hw:1"
+ }
+}
+
+SectionDevice."Speaker" {
+ Comment "3.5mm Speaker"
+
+ EnableSequence [
+ ]
+
+ DisableSequence [
+ ]
+
+ Value {
+ PlaybackPCM "hw:1,0"
+ }
+}
--- /dev/null
+SectionVerb {
+ EnableSequence [
+ ]
+ DisableSequence [
+ ]
+
+ Value {
+ TQ "Music"
+ PlaybackCTL "hw:1"
+ CaptureCTL "hw:1"
+ }
+}
+
+SectionDevice."All" {
+ Comment "reset all"
+
+ EnableSequence [
+ ]
+
+ DisableSequence [
+ ]
+}
+
+SectionDevice."Playback" {
+ Comment "reset playback"
+
+ EnableSequence [
+ ]
+
+ DisableSequence [
+ ]
+}
+
+SectionDevice."Capture" {
+ Comment "reset capture"
+
+ EnableSequence [
+ ]
+
+ DisableSequence [
+ ]
+}
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}/usr/share/alsa/ucm
-cp -a rpi3 %{buildroot}/usr/share/alsa/ucm
+cp -a bcm2837 %{buildroot}/usr/share/alsa/ucm
%post
%files
%manifest alsa-ucm-conf-rpi3.manifest
-/usr/share/alsa/ucm/rpi3/*
+/usr/share/alsa/ucm/bcm2837/*
%license LICENSE.Apache-2.0
+++ /dev/null
-SectionVerb {
- EnableSequence [
- ]
- DisableSequence [
- ]
-
- Value {
- TQ "Music"
- PlaybackCTL "hw:1"
- }
-}
-
-SectionDevice."HDMI" {
- Comment "HDMI AUDIO"
-
- EnableSequence [
- ]
-
- DisableSequence [
- ]
-
- Value {
- PlaybackPCM "hw:1,1"
- }
-}
+++ /dev/null
-SectionVerb {
- EnableSequence [
- ]
- DisableSequence [
- ]
-
- Value {
- TQ "Music"
- PlaybackCTL "hw:1"
- }
-}
-
-SectionDevice."Speaker" {
- Comment "3.5mm Speaker"
-
- EnableSequence [
- ]
-
- DisableSequence [
- ]
-
- Value {
- PlaybackPCM "hw:1,0"
- }
-}
+++ /dev/null
-SectionVerb {
- EnableSequence [
- ]
- DisableSequence [
- ]
-
- Value {
- TQ "Music"
- PlaybackCTL "hw:1"
- CaptureCTL "hw:1"
- }
-}
-
-SectionDevice."All" {
- Comment "reset all"
-
- EnableSequence [
- ]
-
- DisableSequence [
- ]
-}
-
-SectionDevice."Playback" {
- Comment "reset playback"
-
- EnableSequence [
- ]
-
- DisableSequence [
- ]
-}
-
-SectionDevice."Capture" {
- Comment "reset capture"
-
- EnableSequence [
- ]
-
- DisableSequence [
- ]
-}
+++ /dev/null
-SectionUseCase."Inactive" {
- File "inactive"
- Comment "reset audio path"
-}
-
-SectionUseCase."HiFi" {
- File "hifi"
- Comment "Hifi audio path"
-}
-
-SectionUseCase."HDMI" {
- File "hdmi"
- Comment "HDMI audio path"
-}
-
-
-ValueDefaults {
- PlaybackCTL "hw:1"
- CaptureCTL "hw:1"
-}
-
-SectionDefaults {
-}