Commit c575803a authored by Daiane Angolini's avatar Daiane Angolini Committed by Otavio Salvador

alsa-state: Fix mx6 buffer time

When the buffer time is 512000, there are many audio
bitstreams can't be played, like 88.2k/6channles/16b
on sabre_SD and 96k/24b/6channels on sabre_auto.
Because ALSA can't calculate a suitable playback parameter
group (period_size, period_time, period_count, buffer_size,
buffer_count and so on) for these bitstreams.

So update the buffer time to 450000, which will fix the problem.

Change-Id: Idf2c59c3e5a2447f5d22e00d9f1b35ddb1a6fc4d
Signed-off-by: 's avatarWang Shengjiu  <B02247@freescale.com>
Signed-off-by: 's avatarDaiane Angolini <daiane.angolini@freescale.com>
parent ad7d3b3e
......@@ -7,7 +7,7 @@ ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 10000
buffer_time 512000
buffer_time 450000
format S16_LE
rate 48000
}
......@@ -20,7 +20,7 @@ ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 10000
buffer_time 512000
buffer_time 450000
format S16_LE
rate 44100
}
......@@ -33,7 +33,7 @@ ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 10000
buffer_time 512000
buffer_time 450000
format S16_LE
rate 32000
}
......@@ -46,7 +46,7 @@ ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 10000
buffer_time 512000
buffer_time 450000
format S16_LE
rate 24000
}
......@@ -59,7 +59,7 @@ ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 10000
buffer_time 512000
buffer_time 450000
format S16_LE
rate 22050
}
......@@ -72,7 +72,7 @@ ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 10000
buffer_time 512000
buffer_time 450000
format S16_LE
rate 16000
}
......@@ -85,7 +85,7 @@ ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 10000
buffer_time 512000
buffer_time 450000
format S16_LE
rate 12000
}
......@@ -98,7 +98,7 @@ ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 10000
buffer_time 512000
buffer_time 450000
format S16_LE
rate 11025
}
......@@ -111,7 +111,7 @@ ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 10000
buffer_time 512000
buffer_time 450000
format S16_LE
rate 8000
}
......@@ -124,7 +124,7 @@ ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 10000
buffer_time 512000
buffer_time 450000
format S16_LE
rate 48000
}
......@@ -137,7 +137,7 @@ ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 10000
buffer_time 512000
buffer_time 450000
format S16_LE
rate 44100
}
......@@ -150,7 +150,7 @@ ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 10000
buffer_time 512000
buffer_time 450000
format S16_LE
rate 32000
}
......@@ -163,7 +163,7 @@ ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 10000
buffer_time 512000
buffer_time 450000
format S16_LE
rate 24000
}
......@@ -176,7 +176,7 @@ ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 10000
buffer_time 512000
buffer_time 450000
format S16_LE
rate 22050
}
......@@ -189,7 +189,7 @@ ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 10000
buffer_time 512000
buffer_time 450000
format S16_LE
rate 16000
}
......@@ -202,7 +202,7 @@ ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 10000
buffer_time 512000
buffer_time 450000
format S16_LE
rate 12000
}
......@@ -215,7 +215,7 @@ ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 10000
buffer_time 512000
buffer_time 450000
format S16_LE
rate 11025
}
......@@ -228,7 +228,7 @@ ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 10000
buffer_time 512000
buffer_time 450000
format S16_LE
rate 8000
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment