Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* There is only one card on the Device card0 == msm8974taikomtp */
- root@hammerhead:/proc/asound # ls -l
- dr-xr-xr-x root root 2014-08-01 13:34 card0
- lrwxrwxrwx root root 2014-08-01 13:34 msm8974taikomtp -> card0
- root@hammerhead:/ # cat /proc/asound/cards
- 0 [msm8974taikomtp]: msm8974-taiko-m - msm8974-taiko-mtp-snd-card
- msm8974-taiko-mtp-snd-card
- /* Different Types of Card:Device */
- root@hammerhead:/ # cat /proc/asound/pcm
- 00-00: MultiMedia1 (*) : : playback 1 : capture 1
- 00-01: MultiMedia2 (*) : : playback 1 : capture 1
- 00-02: CS-Voice (*) : : playback 1 : capture 1
- 00-03: VoIP (*) : : playback 1 : capture 1
- 00-04: LPA (*) : : playback 1
- 00-05: SLIMBUS_0 Hostless (*) : : playback 1 : capture 1
- 00-06: INT_FM Hostless (*) : : playback 1 : capture 1
- 00-07: AFE-PROXY RX msm-stub-rx-7 : : playback 1
- 00-08: AFE-PROXY TX msm-stub-tx-8 : : capture 1
- 00-09: (COMPR) : : playback 1
- 00-10: AUXPCM Hostless (*) : : playback 1 : capture 1
- 00-11: SLIMBUS_1 Hostless (*) : : playback 1 : capture 1
- 00-12: SLIMBUS_3 Hostless (*) : : playback 1 : capture 1
- 00-13: SLIMBUS_4 Hostless (*) : : playback 1 : capture 1
- 00-14: VoLTE (*) : : playback 1 : capture 1
- 00-15: MultiMedia5 (*) : : playback 1 : capture 1
- 00-16: Listen Audio Service (*) : : capture 1
- 00-17: COMPR2 (*) : : playback 1 : capture 1
- 00-18: COMPR3 (*) : : playback 1
- 00-19: COMPR4 (*) : : playback 1
- 00-20: HDMI_RX_HOSTLESS (*) : : playback 1
- 00-21: INT_HFP_BT Hostless (*) : : playback 1 : capture 1
- 00-22: MultiMedia6 (*) : : playback 1 : capture 1
- 00-23: Slimbus4 Capture taiko_vifeedback-23 : : capture 1
- 00-24: SLIMBUS_2 Hostless Playback taiko_rx2-24 : : playback 1
- 00-25: SLIMBUS_2 Hostless Capture taiko_tx2-25 : : capture 1
- 00-26: (Internal BT-SCO Playback) : : playback 1
- 00-27: (Internal BT-SCO Capture) : : capture 1
- 00-28: (Internal FM Playback) : : playback 1
- 00-29: (Internal FM Capture) : : capture 1
- 00-30: (AFE Playback) : : playback 1
- 00-31: (AFE Capture) : : capture 1
- 00-32: (AUX PCM Playback) : : playback 1 : capture 1
- 00-33: (AUX PCM Capture) : : playback 1 : capture 1
- 00-34: (Sec AUX PCM Playback) : : playback 1 : capture 1
- 00-35: (Sec AUX PCM Capture) : : playback 1 : capture 1
- 00-36: (Slimbus Playback) : : playback 1
- 00-37: (Slimbus Capture) : : capture 1
- 00-38: (Slimbus1 Playback) : : playback 1
- 00-39: (Slimbus1 Capture) : : capture 1
- 00-40: (Slimbus3 Playback) : : playback 1
- 00-41: (Slimbus3 Capture) : : capture 1
- 00-42: (Slimbus4 Playback) : : playback 1
- 00-43: (Voice Uplink Capture) : : capture 1
- 00-44: (Voice Downlink Capture) : : capture 1
- 00-45: (Slimbus5 Capture) : : capture 1
- 00-46: (Voice Farend Playback) : : playback 1
- 00-47: (HDMI Playback) : : playback 1
- /* Logcat Output - When a Song is played*/
- V/audio_hw_primary( 216): start_output_stream: enter: usecase(1: low-latency-playback) devices(0x2)
- D/audio_hw_primary( 216): select_devices: out_snd_device(2: speaker) in_snd_device(0: )
- V/audio_hw_primary( 216): enable_snd_device: snd_device(2: speaker) is already active
- V/audio_hw_primary( 216): enable_audio_route: enter: usecase(1)
- V/audio_hw_primary( 216): enable_audio_route: apply mixer path: low-latency-playback
- V/audio_hw_primary( 216): enable_audio_route: exit
- V/audio_hw_primary( 216): start_output_stream: Opening PCM device card_id(0) device_id(15) /* hw:0:15 */
- V/audio_hw_primary( 216): start_output_stream: exit
- V/audio_hw_primary( 216): out_resume
- /* Simultaneously looking at changes in pcm15p */
- root@hammerhead:/proc/asound # cat /proc/asound/card0/pcm15p/sub0/status
- state: RUNNING
- owner_pid : 915
- trigger_time: 5433.323668648
- tstamp : 5436.358784898
- delay : 480
- avail : 0
- avail_max : 240
- -----
- hw_ptr : 145920
- appl_ptr : 146400
- root@hammerhead:/proc/asound # cat /proc/asound/card0/pcm15p/sub0/status
- closed
- /* It is not showing state:RUNNING continuously */
Add Comment
Please, Sign In to add comment