alsa: change PLAYBACK_PCM_DEVICE value 27/151427/2 accepted/tizen/unified/20170922.065414 submit/tizen/20170921.084643
authorLee Hackseung <lhs@dignsys.com>
Thu, 21 Sep 2017 01:39:18 +0000 (10:39 +0900)
committerLee hackseung <lhs@dignsys.com>
Thu, 21 Sep 2017 07:26:03 +0000 (07:26 +0000)
commit2b8a3e38fddf546b6aee93fa01b9ae1fda9be849
tree78c4560b2c838914410cbfdfcfb1038d65c9ba56
parente7c2c32d942de45be4a2a1f02b217d42c971a4ec
alsa: change PLAYBACK_PCM_DEVICE value

New PLAYBACK_PCM_DEVICE value is "hw:1,0".
Starting with version 4.9.39 of the Tizen-rpi3 kernel,
there are two playback devices.
So the default playback device is second.

tizen-audio-impl-pcm.c -> _pcm_open() -> snd_pcm_open(PLAYBACK_PCM_DEVICE)

Please see below:
    **** List of PLAYBACK Hardware Devices ****
    card 0: vc4hdmi [vc4-hdmi], device 0: MAI PCM vc4-hdmi-hifi-0 []
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 1: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
      Subdevices: 8/8
      Subdevice #0: subdevice #0
      Subdevice #1: subdevice #1
      Subdevice #2: subdevice #2
      Subdevice #3: subdevice #3
      Subdevice #4: subdevice #4
      Subdevice #5: subdevice #5
      Subdevice #6: subdevice #6
      Subdevice #7: subdevice #7
    card 1: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
      Subdevices: 1/1
      Subdevice #0: subdevice #0

Change-Id: I6142cb904ba9eb6ce4867d3cf325e41676eb4a9b
Signed-off-by: Hackseung Lee <lhs@dignsys.com>
tizen-audio-internal.h