Skip to content

Instantly share code, notes, and snippets.

@streamer45
Created November 6, 2013 07:32
Show Gist options
  • Save streamer45/7332312 to your computer and use it in GitHub Desktop.
Save streamer45/7332312 to your computer and use it in GitHub Desktop.
before starting player
[streamer45@archlinux ~]$ sudo cat /proc/asound/card0/pcm0p/sub0/hw_params
closed
[streamer45@archlinux ~]$ cat /proc/asound/card0/pcm0p/info
card: 0
device: 0
subdevice: 0
stream: PLAYBACK
id: ID 4208 Analog
name: ID 4208 Analog
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
after
[streamer45@archlinux ~]$ sudo cat /proc/asound/card0/pcm0p/sub0/hw_params
access: MMAP_INTERLEAVED
format: S32_LE
subformat: STD
channels: 2
rate: 48000 (48000/1)
period_size: 1024
buffer_size: 16384
[streamer45@archlinux ~]$ cat /proc/asound/card0/pcm0p/info
card: 0
device: 0
subdevice: 0
stream: PLAYBACK
id: ID 4208 Analog
name: ID 4208 Analog
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment