summaryrefslogtreecommitdiff
path: root/firmware/drivers/audio/erosqlinux_codec.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/audio/erosqlinux_codec.c')
-rw-r--r--firmware/drivers/audio/erosqlinux_codec.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/firmware/drivers/audio/erosqlinux_codec.c b/firmware/drivers/audio/erosqlinux_codec.c
index 268da54280..3b7155faef 100644
--- a/firmware/drivers/audio/erosqlinux_codec.c
+++ b/firmware/drivers/audio/erosqlinux_codec.c
@@ -37,6 +37,32 @@
37 37
38#include "logf.h" 38#include "logf.h"
39 39
40/*
41 PCM device hw:0,0
42
43 ACCESS: MMAP_INTERLEAVED RW_INTERLEAVED
44 FORMAT: S16_LE S24_LE
45 SUBFORMAT: STD
46 SAMPLE_BITS: [16 32]
47 FRAME_BITS: [16 64]
48 CHANNELS: [1 2]
49 RATE: [8000 192000]
50 PERIOD_TIME: (2666 8192000]
51 PERIOD_SIZE: [512 65536]
52 PERIOD_BYTES: [4096 131072]
53 PERIODS: [4 128]
54 BUFFER_TIME: (10666 32768000]
55 BUFFER_SIZE: [2048 262144]
56 BUFFER_BYTES: [4096 524288]
57 TICK_TIME: ALL
58
59 Mixer controls:
60
61 numid=1,iface=MIXER,name='Output Port Switch'
62 ; type=INTEGER,access=rw------,values=1,min=0,max=5,step=0
63 : values=4
64*/
65
40static int fd_hw = -1; 66static int fd_hw = -1;
41 67
42static long int vol_l_hw = 255; 68static long int vol_l_hw = 255;