On which platform are you?
Try to get inspired by
http://patch-hosting-for-android-x86-support.googlecode.com/files/asound.conf,
changing controls (you can get them by alsa_actl store)
On 19 Giu, 08:54, xro romanen...@hotmail.com wrote:
i'm really noob in sound...
how can i create i good
thanks for reply...
i'm on a APF27 plateforme... It's based on ARM processor. So Androids
works... I just have to fix the sound...
If i understand i have to begin with
ctl.AndroidPlayback {
type hw
card 0
}
ctl.AndroidRecord {
type hw
card 0
}
And after
i did the alsactl store and that build a asound.state
i have to transform asound.state in asound.conf?
and how?
--~--~-~--~~~---~--~~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
You can try and look at the sample that Luca Belluccini gave you. It's
not that hard if you tried.
On Jun 19, 11:39 am, xro romanen...@hotmail.com wrote:
i did the alsactl store and that build a asound.state
i have to transform asound.state in asound.conf?
and how?
In each
{ name 'Speaker Playback Switch'value
[ true true ] }
{ name 'Line-Out Playback Volume' value
[ 64 64 ] }
{ name 'Line-Out Playback Switch' value
[ true true ] }
{
In asound.state you'll see all kind of controls.
They all have a name and a value.
You need to put the names and values in your asound.conf
On Jun 19, 11:49 am, xro romanen...@hotmail.com wrote:
It's easy for you but not for me...
I try to fix the sound since 2 days
How can i know what
You know how to do. So could you give me just an exemple that would be
great...
i give you my asound.state. Can you just put the first lines of
asound.conf... I hope i will be able to understand...
state.IMX-ALSA {
control.1 {
comment.access 'read write'
I tried to do my asound.conf
Someone could say me what is wrong
ctl.AndroidPlayback {
type hw
card 0
}
ctl.AndroidRecord {
type hw
card 0
}
pcm.AndroidPlayback {
type hooks
slave.pcm {
type hw
card 0
thanks for ur help...
should i do like that? (for each)
hook_args [
{ name 'Master Playback Volume' value.
0 64}
{ name 'Master Playback Volume' value.
1 64}
{ name 'Master
What is this error?
E/AudioHardwareALSA( 1912): Unable to set buffer size to 16384:
Invalid
argument
someone knows it?
--~--~-~--~~~---~--~~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
Remember to set the system properties on init.rc files
On 19 Giu, 14:05, xro romanen...@hotmail.com wrote:
What is this error?
E/AudioHardwareALSA( 1912): Unable to set buffer size to 16384:
Invalid
argument
someone knows it?
--~--~-~--~~~---~--~~
thanks for help...
i put this properties for the sound:
setprop alsa.mixer.playback.master Front
setprop alsa.mixer.capture.master Capture
setprop alsa.mixer.playback.earpiece Master
setprop alsa.mixer.capture.earpiece Capture
setprop alsa.mixer.playback.headset Master
i finally found my error...
it was in the AudioHardwareALSA.cpp...
there is a bug with the buffer Now i comment the test in line
606... It works
--~--~-~--~~~---~--~~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website:
13 matches
Mail list logo