added audio configs, reorganized
This commit is contained in:
659
asound.conf
659
asound.conf
@@ -1,659 +0,0 @@
|
||||
#
|
||||
# Copyright(c) 2011 The CyanogenMod Project
|
||||
#
|
||||
|
||||
##
|
||||
## Mixer Devices
|
||||
##
|
||||
|
||||
hwdep.mc1n2 {
|
||||
type hw
|
||||
card 0
|
||||
}
|
||||
|
||||
ctl.mc1n2 {
|
||||
type hw
|
||||
card 0
|
||||
}
|
||||
|
||||
timer.mc1n2 {
|
||||
type hw
|
||||
card 0
|
||||
}
|
||||
|
||||
|
||||
##
|
||||
## Playback Devices
|
||||
##
|
||||
|
||||
pcm.AndroidPlayback {
|
||||
type hooks
|
||||
slave.pcm {
|
||||
type hw
|
||||
card 0
|
||||
device 0
|
||||
format S16_LE
|
||||
channels 2
|
||||
rate 44100
|
||||
}
|
||||
hooks.0 {
|
||||
type ctl_elems
|
||||
hook_args [
|
||||
{ name "AENG6 Switch" value [ 1 1 ] } # bool
|
||||
{ name "AENG6 Volume" value [ 93 93 ] }
|
||||
{ name "Master Playback Switch" value [ 1 1 ] } # bool
|
||||
{ name "Master Playback Volume" value [ 93 93 ] }
|
||||
{ name "Headphone Playback Switch" value [ 0 0 ] } # bool
|
||||
{ name "Headphone Playback Volume" value [ 0 0 ] }
|
||||
{ name "Speaker Playback Switch" value [ 1 1 ] } # bool
|
||||
{ name "Speaker Playback Volume" value [ 31 31 ] }
|
||||
{ name "Voice Playback Switch" value [ 0 0 ] } # bool
|
||||
{ name "Voice Playback Volume" value [ 0 0 ] }
|
||||
{ name "AD Analog Switch" value [ 1 1 ] } # bool
|
||||
{ name "AD Analog Volume" value [ 31 31 ] }
|
||||
{ name "AD Digital Switch" value [ 1 1 ] } # bool
|
||||
{ name "AD Digital Volume" value [ 93 93 ] }
|
||||
{ name "DAC Playback Switch" value [ 1 1 ] } # bool
|
||||
{ name "DAC Playback Volume" value [ 93 93 ] }
|
||||
{ name "DIR#0 ATT Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#0 ATT Volume" value [ 93 93 ] }
|
||||
{ name "DIR#0 Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#0 Volume" value [ 93 93 ] }
|
||||
{ name "DIR#1 ATT Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#1 ATT Volume" value [ 93 93 ] }
|
||||
{ name "DIR#1 Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#1 Volume" value [ 93 93 ] }
|
||||
{ name "DIR#2 ATT Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#2 ATT Volume" value [ 93 93 ] }
|
||||
{ name "DIR#2 Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#2 Volume" value [ 93 93 ] }
|
||||
{ name "DIT#0 Capture Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIT#0 Capture Volume" value [ 93 93 ] }
|
||||
{ name "DIT#1 Capture Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIT#1 Capture Volume" value [ 93 93 ] }
|
||||
{ name "DIT#2 Capture Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIT#2 Capture Volume" value [ 93 93 ] }
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
#pcm.AndroidPlayback_Earpiece {
|
||||
#}
|
||||
|
||||
pcm.AndroidPlayback_Speaker {
|
||||
type hooks
|
||||
slave.pcm {
|
||||
type hw
|
||||
card 0
|
||||
device 0
|
||||
format S16_LE
|
||||
channels 2
|
||||
rate 44100
|
||||
}
|
||||
hooks.0 {
|
||||
type ctl_elems
|
||||
hook_args [
|
||||
{ name "AENG6 Switch" value [ 1 1 ] } # bool
|
||||
{ name "AENG6 Volume" value [ 93 93 ] }
|
||||
{ name "Master Playback Switch" value [ 1 1 ] } # bool
|
||||
{ name "Master Playback Volume" value [ 93 93 ] }
|
||||
{ name "Headphone Playback Switch" value [ 0 0 ] } # bool
|
||||
{ name "Headphone Playback Volume" value [ 0 0 ] }
|
||||
{ name "Speaker Playback Switch" value [ 1 1 ] } # bool
|
||||
{ name "Speaker Playback Volume" value [ 31 31 ] }
|
||||
{ name "Voice Playback Switch" value [ 0 0 ] } # bool
|
||||
{ name "Voice Playback Volume" value [ 0 0 ] }
|
||||
{ name "AD Analog Switch" value [ 1 1 ] } # bool
|
||||
{ name "AD Analog Volume" value [ 31 31 ] }
|
||||
{ name "AD Digital Switch" value [ 1 1 ] } # bool
|
||||
{ name "AD Digital Volume" value [ 93 93 ] }
|
||||
{ name "DAC Playback Switch" value [ 1 1 ] } # bool
|
||||
{ name "DAC Playback Volume" value [ 93 93 ] }
|
||||
{ name "DIR#0 ATT Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#0 ATT Volume" value [ 93 93 ] }
|
||||
{ name "DIR#0 Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#0 Volume" value [ 93 93 ] }
|
||||
{ name "DIR#1 ATT Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#1 ATT Volume" value [ 93 93 ] }
|
||||
{ name "DIR#1 Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#1 Volume" value [ 93 93 ] }
|
||||
{ name "DIR#2 ATT Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#2 ATT Volume" value [ 93 93 ] }
|
||||
{ name "DIR#2 Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#2 Volume" value [ 93 93 ] }
|
||||
{ name "DIT#0 Capture Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIT#0 Capture Volume" value [ 93 93 ] }
|
||||
{ name "DIT#1 Capture Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIT#1 Capture Volume" value [ 93 93 ] }
|
||||
{ name "DIT#2 Capture Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIT#2 Capture Volume" value [ 93 93 ] }
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
pcm.AndroidPlayback_Headset {
|
||||
type hooks
|
||||
slave.pcm {
|
||||
type hw
|
||||
card 0
|
||||
device 0
|
||||
format S16_LE
|
||||
channels 2
|
||||
rate 44100
|
||||
}
|
||||
hooks.0 {
|
||||
type ctl_elems
|
||||
hook_args [
|
||||
{ name "AENG6 Switch" value [ 1 1 ] } # bool
|
||||
{ name "AENG6 Volume" value [ 93 93 ] }
|
||||
{ name "Master Playback Switch" value [ 1 1 ] } # bool
|
||||
{ name "Master Playback Volume" value [ 93 93 ] }
|
||||
{ name "Headphone Playback Switch" value [ 1 1 ] } # bool
|
||||
{ name "Headphone Playback Volume" value [ 31 31 ] }
|
||||
{ name "Speaker Playback Switch" value [ 0 0 ] } # bool
|
||||
{ name "Speaker Playback Volume" value [ 0 0 ] }
|
||||
{ name "Voice Playback Switch" value [ 0 0 ] } # bool
|
||||
{ name "Voice Playback Volume" value [ 0 0 ] }
|
||||
{ name "AD Analog Switch" value [ 1 1 ] } # bool
|
||||
{ name "AD Analog Volume" value [ 31 31 ] }
|
||||
{ name "AD Digital Switch" value [ 1 1 ] } # bool
|
||||
{ name "AD Digital Volume" value [ 93 93 ] }
|
||||
{ name "DAC Playback Switch" value [ 1 1 ] } # bool
|
||||
{ name "DAC Playback Volume" value [ 93 93 ] }
|
||||
{ name "DIR#0 ATT Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#0 ATT Volume" value [ 93 93 ] }
|
||||
{ name "DIR#0 Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#0 Volume" value [ 93 93 ] }
|
||||
{ name "DIR#1 ATT Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#1 ATT Volume" value [ 93 93 ] }
|
||||
{ name "DIR#1 Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#1 Volume" value [ 93 93 ] }
|
||||
{ name "DIR#2 ATT Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#2 ATT Volume" value [ 93 93 ] }
|
||||
{ name "DIR#2 Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#2 Volume" value [ 93 93 ] }
|
||||
{ name "DIT#0 Capture Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIT#0 Capture Volume" value [ 93 93 ] }
|
||||
{ name "DIT#1 Capture Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIT#1 Capture Volume" value [ 93 93 ] }
|
||||
{ name "DIT#2 Capture Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIT#2 Capture Volume" value [ 93 93 ] }
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
pcm.AndroidPlayback_Headphone {
|
||||
type hooks
|
||||
slave.pcm {
|
||||
type hw
|
||||
card 0
|
||||
device 0
|
||||
format S16_LE
|
||||
channels 2
|
||||
rate 44100
|
||||
}
|
||||
hooks.0 {
|
||||
type ctl_elems
|
||||
hook_args [
|
||||
{ name "AENG6 Switch" value [ 1 1 ] } # bool
|
||||
{ name "AENG6 Volume" value [ 93 93 ] }
|
||||
{ name "Master Playback Switch" value [ 1 1 ] } # bool
|
||||
{ name "Master Playback Volume" value [ 93 93 ] }
|
||||
{ name "Headphone Playback Switch" value [ 1 1 ] } # bool
|
||||
{ name "Headphone Playback Volume" value [ 31 31 ] }
|
||||
{ name "Speaker Playback Switch" value [ 0 0 ] } # bool
|
||||
{ name "Speaker Playback Volume" value [ 0 0 ] }
|
||||
{ name "Voice Playback Switch" value [ 0 0 ] } # bool
|
||||
{ name "Voice Playback Volume" value [ 0 0 ] }
|
||||
{ name "AD Analog Switch" value [ 1 1 ] } # bool
|
||||
{ name "AD Analog Volume" value [ 31 31 ] }
|
||||
{ name "AD Digital Switch" value [ 1 1 ] } # bool
|
||||
{ name "AD Digital Volume" value [ 93 93 ] }
|
||||
{ name "DAC Playback Switch" value [ 1 1 ] } # bool
|
||||
{ name "DAC Playback Volume" value [ 93 93 ] }
|
||||
{ name "DIR#0 ATT Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#0 ATT Volume" value [ 93 93 ] }
|
||||
{ name "DIR#0 Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#0 Volume" value [ 93 93 ] }
|
||||
{ name "DIR#1 ATT Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#1 ATT Volume" value [ 93 93 ] }
|
||||
{ name "DIR#1 Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#1 Volume" value [ 93 93 ] }
|
||||
{ name "DIR#2 ATT Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#2 ATT Volume" value [ 93 93 ] }
|
||||
{ name "DIR#2 Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#2 Volume" value [ 93 93 ] }
|
||||
{ name "DIT#0 Capture Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIT#0 Capture Volume" value [ 93 93 ] }
|
||||
{ name "DIT#1 Capture Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIT#1 Capture Volume" value [ 93 93 ] }
|
||||
{ name "DIT#2 Capture Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIT#2 Capture Volume" value [ 93 93 ] }
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
#pcm.AndroidPlayback_Bluetooth {
|
||||
#}
|
||||
|
||||
#pcm.AndroidPlayback_Earpiece_normal {
|
||||
#}
|
||||
|
||||
pcm.AndroidPlayback_Speaker_normal {
|
||||
type hooks
|
||||
slave.pcm {
|
||||
type hw
|
||||
card 0
|
||||
device 0
|
||||
format S16_LE
|
||||
channels 2
|
||||
rate 44100
|
||||
}
|
||||
hooks.0 {
|
||||
type ctl_elems
|
||||
hook_args [
|
||||
{ name "AENG6 Switch" value [ 1 1 ] } # bool
|
||||
{ name "AENG6 Volume" value [ 93 93 ] }
|
||||
{ name "Master Playback Switch" value [ 1 1 ] } # bool
|
||||
{ name "Master Playback Volume" value [ 93 93 ] }
|
||||
{ name "Headphone Playback Switch" value [ 0 0 ] } # bool
|
||||
{ name "Headphone Playback Volume" value [ 0 0 ] }
|
||||
{ name "Speaker Playback Switch" value [ 1 1 ] } # bool
|
||||
{ name "Speaker Playback Volume" value [ 31 31 ] }
|
||||
{ name "Voice Playback Switch" value [ 0 0 ] } # bool
|
||||
{ name "Voice Playback Volume" value [ 0 0 ] }
|
||||
{ name "AD Analog Switch" value [ 1 1 ] } # bool
|
||||
{ name "AD Analog Volume" value [ 31 31 ] }
|
||||
{ name "AD Digital Switch" value [ 1 1 ] } # bool
|
||||
{ name "AD Digital Volume" value [ 93 93 ] }
|
||||
{ name "DAC Playback Switch" value [ 1 1 ] } # bool
|
||||
{ name "DAC Playback Volume" value [ 93 93 ] }
|
||||
{ name "DIR#0 ATT Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#0 ATT Volume" value [ 93 93 ] }
|
||||
{ name "DIR#0 Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#0 Volume" value [ 93 93 ] }
|
||||
{ name "DIR#1 ATT Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#1 ATT Volume" value [ 93 93 ] }
|
||||
{ name "DIR#1 Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#1 Volume" value [ 93 93 ] }
|
||||
{ name "DIR#2 ATT Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#2 ATT Volume" value [ 93 93 ] }
|
||||
{ name "DIR#2 Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#2 Volume" value [ 93 93 ] }
|
||||
{ name "DIT#0 Capture Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIT#0 Capture Volume" value [ 93 93 ] }
|
||||
{ name "DIT#1 Capture Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIT#1 Capture Volume" value [ 93 93 ] }
|
||||
{ name "DIT#2 Capture Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIT#2 Capture Volume" value [ 93 93 ] }
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
#pcm.AndroidPlayback_Headset_normal {
|
||||
#}
|
||||
|
||||
#pcm.AndroidPlayback_Headphone_normal {
|
||||
#}
|
||||
|
||||
#pcm.AndroidPlayback_Bluetooth_normal {
|
||||
#}
|
||||
|
||||
pcm.AndroidPlayback_Speaker_Headset_normal {
|
||||
type hooks
|
||||
slave.pcm {
|
||||
type hw
|
||||
card 0
|
||||
device 0
|
||||
format S16_LE
|
||||
channels 2
|
||||
rate 44100
|
||||
}
|
||||
hooks.0 {
|
||||
type ctl_elems
|
||||
hook_args [
|
||||
{ name "AENG6 Switch" value [ 1 1 ] } # bool
|
||||
{ name "AENG6 Volume" value [ 93 93 ] }
|
||||
{ name "Master Playback Switch" value [ 1 1 ] } # bool
|
||||
{ name "Master Playback Volume" value [ 93 93 ] }
|
||||
{ name "Headphone Playback Switch" value [ 1 1 ] } # bool
|
||||
{ name "Headphone Playback Volume" value [ 31 31 ] }
|
||||
{ name "Speaker Playback Switch" value [ 0 0 ] } # bool
|
||||
{ name "Speaker Playback Volume" value [ 0 0 ] }
|
||||
{ name "Voice Playback Switch" value [ 0 0 ] } # bool
|
||||
{ name "Voice Playback Volume" value [ 0 0 ] }
|
||||
{ name "AD Analog Switch" value [ 1 1 ] } # bool
|
||||
{ name "AD Analog Volume" value [ 31 31 ] }
|
||||
{ name "AD Digital Switch" value [ 1 1 ] } # bool
|
||||
{ name "AD Digital Volume" value [ 93 93 ] }
|
||||
{ name "DAC Playback Switch" value [ 1 1 ] } # bool
|
||||
{ name "DAC Playback Volume" value [ 93 93 ] }
|
||||
{ name "DIR#0 ATT Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#0 ATT Volume" value [ 93 93 ] }
|
||||
{ name "DIR#0 Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#0 Volume" value [ 93 93 ] }
|
||||
{ name "DIR#1 ATT Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#1 ATT Volume" value [ 93 93 ] }
|
||||
{ name "DIR#1 Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#1 Volume" value [ 93 93 ] }
|
||||
{ name "DIR#2 ATT Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#2 ATT Volume" value [ 93 93 ] }
|
||||
{ name "DIR#2 Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#2 Volume" value [ 93 93 ] }
|
||||
{ name "DIT#0 Capture Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIT#0 Capture Volume" value [ 93 93 ] }
|
||||
{ name "DIT#1 Capture Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIT#1 Capture Volume" value [ 93 93 ] }
|
||||
{ name "DIT#2 Capture Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIT#2 Capture Volume" value [ 93 93 ] }
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
pcm.AndroidPlayback_Speaker_Headphone_normal {
|
||||
type hooks
|
||||
slave.pcm {
|
||||
type hw
|
||||
card 0
|
||||
device 0
|
||||
format S16_LE
|
||||
channels 2
|
||||
rate 44100
|
||||
}
|
||||
hooks.0 {
|
||||
type ctl_elems
|
||||
hook_args [
|
||||
{ name "AENG6 Switch" value [ 1 1 ] } # bool
|
||||
{ name "AENG6 Volume" value [ 93 93 ] }
|
||||
{ name "Master Playback Switch" value [ 1 1 ] } # bool
|
||||
{ name "Master Playback Volume" value [ 93 93 ] }
|
||||
{ name "Headphone Playback Switch" value [ 1 1 ] } # bool
|
||||
{ name "Headphone Playback Volume" value [ 31 31 ] }
|
||||
{ name "Speaker Playback Switch" value [ 0 0 ] } # bool
|
||||
{ name "Speaker Playback Volume" value [ 0 0 ] }
|
||||
{ name "Voice Playback Switch" value [ 0 0 ] } # bool
|
||||
{ name "Voice Playback Volume" value [ 0 0 ] }
|
||||
{ name "AD Analog Switch" value [ 1 1 ] } # bool
|
||||
{ name "AD Analog Volume" value [ 31 31 ] }
|
||||
{ name "AD Digital Switch" value [ 1 1 ] } # bool
|
||||
{ name "AD Digital Volume" value [ 93 93 ] }
|
||||
{ name "DAC Playback Switch" value [ 1 1 ] } # bool
|
||||
{ name "DAC Playback Volume" value [ 93 93 ] }
|
||||
{ name "DIR#0 ATT Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#0 ATT Volume" value [ 93 93 ] }
|
||||
{ name "DIR#0 Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#0 Volume" value [ 93 93 ] }
|
||||
{ name "DIR#1 ATT Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#1 ATT Volume" value [ 93 93 ] }
|
||||
{ name "DIR#1 Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#1 Volume" value [ 93 93 ] }
|
||||
{ name "DIR#2 ATT Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#2 ATT Volume" value [ 93 93 ] }
|
||||
{ name "DIR#2 Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#2 Volume" value [ 93 93 ] }
|
||||
{ name "DIT#0 Capture Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIT#0 Capture Volume" value [ 93 93 ] }
|
||||
{ name "DIT#1 Capture Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIT#1 Capture Volume" value [ 93 93 ] }
|
||||
{ name "DIT#2 Capture Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIT#2 Capture Volume" value [ 93 93 ] }
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
#pcm.AndroidPlayback_Speaker_fmradio {
|
||||
#}
|
||||
|
||||
#pcm.AndroidPlayback_Headset_fmradio {
|
||||
#}
|
||||
|
||||
#pcm.AndroidPlayback_Speaker_Headset_fmradio {
|
||||
#}
|
||||
|
||||
#pcm.AndroidPlayback_Earpiece_ringtone {
|
||||
#}
|
||||
|
||||
pcm.AndroidPlayback_Speaker_ringtone {
|
||||
type hooks
|
||||
slave.pcm {
|
||||
type hw
|
||||
card 0
|
||||
device 0
|
||||
format S16_LE
|
||||
channels 2
|
||||
rate 44100
|
||||
}
|
||||
hooks.0 {
|
||||
type ctl_elems
|
||||
hook_args [
|
||||
{ name "AENG6 Switch" value [ 1 1 ] } # bool
|
||||
{ name "AENG6 Volume" value [ 93 93 ] }
|
||||
{ name "Master Playback Switch" value [ 1 1 ] } # bool
|
||||
{ name "Master Playback Volume" value [ 93 93 ] }
|
||||
{ name "Headphone Playback Switch" value [ 0 0 ] } # bool
|
||||
{ name "Headphone Playback Volume" value [ 0 0 ] }
|
||||
{ name "Speaker Playback Switch" value [ 1 1 ] } # bool
|
||||
{ name "Speaker Playback Volume" value [ 31 31 ] }
|
||||
{ name "Voice Playback Switch" value [ 0 0 ] } # bool
|
||||
{ name "Voice Playback Volume" value [ 0 0 ] }
|
||||
{ name "AD Analog Switch" value [ 1 1 ] } # bool
|
||||
{ name "AD Analog Volume" value [ 31 31 ] }
|
||||
{ name "AD Digital Switch" value [ 1 1 ] } # bool
|
||||
{ name "AD Digital Volume" value [ 93 93 ] }
|
||||
{ name "DAC Playback Switch" value [ 1 1 ] } # bool
|
||||
{ name "DAC Playback Volume" value [ 93 93 ] }
|
||||
{ name "DIR#0 ATT Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#0 ATT Volume" value [ 93 93 ] }
|
||||
{ name "DIR#0 Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#0 Volume" value [ 93 93 ] }
|
||||
{ name "DIR#1 ATT Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#1 ATT Volume" value [ 93 93 ] }
|
||||
{ name "DIR#1 Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#1 Volume" value [ 93 93 ] }
|
||||
{ name "DIR#2 ATT Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#2 ATT Volume" value [ 93 93 ] }
|
||||
{ name "DIR#2 Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#2 Volume" value [ 93 93 ] }
|
||||
{ name "DIT#0 Capture Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIT#0 Capture Volume" value [ 93 93 ] }
|
||||
{ name "DIT#1 Capture Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIT#1 Capture Volume" value [ 93 93 ] }
|
||||
{ name "DIT#2 Capture Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIT#2 Capture Volume" value [ 93 93 ] }
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
#pcm.AndroidPlayback_Headset_ringtone {
|
||||
#}
|
||||
|
||||
#pcm.AndroidPlayback_Headphone_ringtone {
|
||||
#}
|
||||
|
||||
#pcm.AndroidPlayback_Bluetooth_ringtone {
|
||||
#}
|
||||
|
||||
pcm.AndroidPlayback_Speaker_Headset_ringtone {
|
||||
type hooks
|
||||
slave.pcm {
|
||||
type hw
|
||||
card 0
|
||||
device 0
|
||||
format S16_LE
|
||||
channels 2
|
||||
rate 44100
|
||||
}
|
||||
hooks.0 {
|
||||
type ctl_elems
|
||||
hook_args [
|
||||
{ name "AENG6 Switch" value [ 1 1 ] } # bool
|
||||
{ name "AENG6 Volume" value [ 93 93 ] }
|
||||
{ name "Master Playback Switch" value [ 1 1 ] } # bool
|
||||
{ name "Master Playback Volume" value [ 93 93 ] }
|
||||
{ name "Headphone Playback Switch" value [ 1 1 ] } # bool
|
||||
{ name "Headphone Playback Volume" value [ 31 31 ] }
|
||||
{ name "Speaker Playback Switch" value [ 0 0 ] } # bool
|
||||
{ name "Speaker Playback Volume" value [ 0 0 ] }
|
||||
{ name "Voice Playback Switch" value [ 0 0 ] } # bool
|
||||
{ name "Voice Playback Volume" value [ 0 0 ] }
|
||||
{ name "AD Analog Switch" value [ 1 1 ] } # bool
|
||||
{ name "AD Analog Volume" value [ 31 31 ] }
|
||||
{ name "AD Digital Switch" value [ 1 1 ] } # bool
|
||||
{ name "AD Digital Volume" value [ 93 93 ] }
|
||||
{ name "DAC Playback Switch" value [ 1 1 ] } # bool
|
||||
{ name "DAC Playback Volume" value [ 93 93 ] }
|
||||
{ name "DIR#0 ATT Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#0 ATT Volume" value [ 93 93 ] }
|
||||
{ name "DIR#0 Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#0 Volume" value [ 93 93 ] }
|
||||
{ name "DIR#1 ATT Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#1 ATT Volume" value [ 93 93 ] }
|
||||
{ name "DIR#1 Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#1 Volume" value [ 93 93 ] }
|
||||
{ name "DIR#2 ATT Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#2 ATT Volume" value [ 93 93 ] }
|
||||
{ name "DIR#2 Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#2 Volume" value [ 93 93 ] }
|
||||
{ name "DIT#0 Capture Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIT#0 Capture Volume" value [ 93 93 ] }
|
||||
{ name "DIT#1 Capture Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIT#1 Capture Volume" value [ 93 93 ] }
|
||||
{ name "DIT#2 Capture Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIT#2 Capture Volume" value [ 93 93 ] }
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
pcm.AndroidPlayback_Speaker_Headphone_ringtone {
|
||||
type hooks
|
||||
slave.pcm {
|
||||
type hw
|
||||
card 0
|
||||
device 0
|
||||
format S16_LE
|
||||
channels 2
|
||||
rate 44100
|
||||
}
|
||||
hooks.0 {
|
||||
type ctl_elems
|
||||
hook_args [
|
||||
{ name "AENG6 Switch" value [ 1 1 ] } # bool
|
||||
{ name "AENG6 Volume" value [ 93 93 ] }
|
||||
{ name "Master Playback Switch" value [ 1 1 ] } # bool
|
||||
{ name "Master Playback Volume" value [ 93 93 ] }
|
||||
{ name "Headphone Playback Switch" value [ 1 1 ] } # bool
|
||||
{ name "Headphone Playback Volume" value [ 31 31 ] }
|
||||
{ name "Speaker Playback Switch" value [ 1 1 ] } # bool
|
||||
{ name "Speaker Playback Volume" value [ 31 31 ] }
|
||||
{ name "Voice Playback Switch" value [ 0 0 ] } # bool
|
||||
{ name "Voice Playback Volume" value [ 0 0 ] }
|
||||
{ name "AD Analog Switch" value [ 1 1 ] } # bool
|
||||
{ name "AD Analog Volume" value [ 31 31 ] }
|
||||
{ name "AD Digital Switch" value [ 1 1 ] } # bool
|
||||
{ name "AD Digital Volume" value [ 93 93 ] }
|
||||
{ name "DAC Playback Switch" value [ 1 1 ] } # bool
|
||||
{ name "DAC Playback Volume" value [ 93 93 ] }
|
||||
{ name "DIR#0 ATT Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#0 ATT Volume" value [ 93 93 ] }
|
||||
{ name "DIR#0 Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#0 Volume" value [ 93 93 ] }
|
||||
{ name "DIR#1 ATT Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#1 ATT Volume" value [ 93 93 ] }
|
||||
{ name "DIR#1 Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#1 Volume" value [ 93 93 ] }
|
||||
{ name "DIR#2 ATT Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#2 ATT Volume" value [ 93 93 ] }
|
||||
{ name "DIR#2 Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIR#2 Volume" value [ 93 93 ] }
|
||||
{ name "DIT#0 Capture Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIT#0 Capture Volume" value [ 93 93 ] }
|
||||
{ name "DIT#1 Capture Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIT#1 Capture Volume" value [ 93 93 ] }
|
||||
{ name "DIT#2 Capture Switch" value [ 1 1 ] } # bool
|
||||
{ name "DIT#2 Capture Volume" value [ 93 93 ] }
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
#pcm.AndroidPlayback_Earpiece_incall {
|
||||
#}
|
||||
|
||||
#pcm.AndroidPlayback_Speaker_incall {
|
||||
#}
|
||||
|
||||
#pcm.AndroidPlayback_Headset_incall {
|
||||
#}
|
||||
|
||||
#pcm.AndroidPlayback_Headphone_incall {
|
||||
#}
|
||||
|
||||
#pcm.AndroidPlayback_Bluetooth_incall {
|
||||
#}
|
||||
|
||||
#pcm.AndroidPlayback_Speaker_Headset_incall {
|
||||
#}
|
||||
|
||||
#pcm.AndroidPlayback_Speaker_Headphone_incall {
|
||||
#}
|
||||
|
||||
|
||||
##
|
||||
## Capture devices
|
||||
##
|
||||
|
||||
#pcm.AndroidCapture {
|
||||
#}
|
||||
|
||||
#pcm.AndroidCapture_Microphone {
|
||||
#}
|
||||
|
||||
#pcm.AndroidCapture_Earpiece_normal {
|
||||
#}
|
||||
|
||||
#pcm.AndroidCapture_Speaker_normal {
|
||||
#}
|
||||
|
||||
#pcm.AndroidCapture_Headset_normal {
|
||||
#}
|
||||
|
||||
#pcm.AndroidCapture_Headphone_normal {
|
||||
#}
|
||||
|
||||
#pcm.AndroidCapture_Bluetooth_normal {
|
||||
#}
|
||||
|
||||
#pcm.AndroidCapture_Speaker_Headset_normal {
|
||||
#}
|
||||
|
||||
#pcm.AndroidCapture_Speaker_Headphone_normal {
|
||||
#}
|
||||
|
||||
#pcm.AndroidCapture_Speaker_ringtone {
|
||||
#}
|
||||
|
||||
#pcm.AndroidCapture_Headset_ringtone {
|
||||
#}
|
||||
|
||||
#pcm.AndroidCapture_Headphone_ringtone {
|
||||
#}
|
||||
|
||||
#pcm.AndroidCapture_Earpiece_incall {
|
||||
#}
|
||||
|
||||
#pcm.AndroidCapture_Speaker_incall {
|
||||
#}
|
||||
|
||||
#pcm.AndroidCapture_Headset_incall {
|
||||
#}
|
||||
|
||||
#pcm.AndroidCapture_Headphone_incall {
|
||||
#}
|
||||
|
||||
#pcm.AndroidCapture_Bluetooth_incall {
|
||||
#}
|
||||
|
||||
#pcm.AndroidCapture_Speaker_Headset_incall {
|
||||
#}
|
||||
|
||||
#pcm.AndroidCapture_Speaker_Headphone_incall {
|
||||
#}
|
61
etc/asound.conf
Normal file
61
etc/asound.conf
Normal file
@@ -0,0 +1,61 @@
|
||||
#
|
||||
# Copyright(c) 2010 Yamaha Corporation
|
||||
#
|
||||
|
||||
# ----------------------------------------
|
||||
# PCM Interface
|
||||
#
|
||||
|
||||
pcm.hifi {
|
||||
type plug
|
||||
slave.pcm {
|
||||
type hw
|
||||
card 0
|
||||
device 0
|
||||
format S16_LE
|
||||
channels 2
|
||||
rate 44100
|
||||
}
|
||||
}
|
||||
|
||||
pcm.voice {
|
||||
type plug
|
||||
slave.pcm {
|
||||
type hw
|
||||
card 0
|
||||
device 1
|
||||
format S16_LE
|
||||
channels 1
|
||||
rate 8000
|
||||
}
|
||||
}
|
||||
|
||||
pcm.bluetooth {
|
||||
type plug
|
||||
slave.pcm {
|
||||
type hw
|
||||
card 0
|
||||
device 2
|
||||
format S16_LE
|
||||
channels 1
|
||||
rate 8000
|
||||
}
|
||||
}
|
||||
|
||||
# ----------------------------------------
|
||||
# Mixer Interface
|
||||
#
|
||||
|
||||
ctl.mc1n2 {
|
||||
type hw
|
||||
card 0
|
||||
}
|
||||
|
||||
# ----------------------------------------
|
||||
# Hardware Dependant Interface
|
||||
#
|
||||
|
||||
hwdep.mc1n2 {
|
||||
type hw
|
||||
card 0
|
||||
}
|
38
etc/audio/LVVEFS_Rx_Configuration.txt
Normal file
38
etc/audio/LVVEFS_Rx_Configuration.txt
Normal file
@@ -0,0 +1,38 @@
|
||||
30
|
||||
4
|
||||
0
|
||||
|
||||
1
|
||||
4
|
||||
/system/etc/audio/Rx_ControlParams_EARPIECE_WIDEBAND.txt
|
||||
/system/etc/audio/Rx_ControlParams_SPEAKER_WIDEBAND.txt
|
||||
/system/etc/audio/Rx_ControlParams_WIRED_HEADPHONE_WIDEBAND.txt
|
||||
/system/etc/audio/Rx_ControlParams_WIRED_HEADSET_WIDEBAND.txt
|
||||
|
||||
17640
|
||||
0
|
||||
0
|
||||
|
||||
17640
|
||||
0
|
||||
0
|
||||
|
||||
1
|
||||
0
|
||||
/data/LVVEFS_Rx_Status.bin
|
||||
|
||||
0
|
||||
2048
|
||||
/data/Fs44100_FemaleSpeech_St_12.pcm
|
||||
|
||||
1
|
||||
2048
|
||||
/data/Fs44100_WhiteNoise_St.pcm
|
||||
|
||||
0
|
||||
2048
|
||||
/data/Rx_out.pcm
|
||||
|
||||
0
|
||||
2048
|
||||
/data/Fs44100_WhiteNoise_St.pcm
|
58
etc/audio/LVVEFS_Tx_Configuration.txt
Normal file
58
etc/audio/LVVEFS_Tx_Configuration.txt
Normal file
@@ -0,0 +1,58 @@
|
||||
45
|
||||
4
|
||||
1
|
||||
|
||||
0
|
||||
4
|
||||
/system/etc/audio/Tx_ControlParams_EARPIECE_WIDEBAND.txt
|
||||
/system/etc/audio/Tx_ControlParams_SPEAKER_WIDEBAND.txt
|
||||
/system/etc/audio/Tx_ControlParams_WIRED_HEADPHONE_WIDEBAND.txt
|
||||
/system/etc/audio/Tx_ControlParams_WIRED_HEADSET_WIDEBAND.txt
|
||||
|
||||
17640
|
||||
0
|
||||
0
|
||||
|
||||
176400
|
||||
0
|
||||
0
|
||||
|
||||
17640
|
||||
0
|
||||
0
|
||||
|
||||
200
|
||||
0
|
||||
0
|
||||
|
||||
1
|
||||
0
|
||||
/data/LVVEFS_Tx_Status.bin
|
||||
|
||||
0
|
||||
0
|
||||
0
|
||||
|
||||
1
|
||||
2048
|
||||
/data/Tx_in_mic.pcm
|
||||
|
||||
0
|
||||
2048
|
||||
/data/WhiteNoise_delayed.pcm
|
||||
|
||||
1
|
||||
2048
|
||||
/data/Tx_in_ref.pcm
|
||||
|
||||
0
|
||||
2048
|
||||
/data/WhiteNoise.pcm
|
||||
|
||||
0
|
||||
2048
|
||||
/data/Tx_out.pcm
|
||||
|
||||
0
|
||||
2048
|
||||
/data/Fs44100_FemaleSpeech_St.pcm
|
291
etc/audio/Rx_ControlParams_EARPIECE_WIDEBAND.txt
Normal file
291
etc/audio/Rx_ControlParams_EARPIECE_WIDEBAND.txt
Normal file
@@ -0,0 +1,291 @@
|
||||
272
|
||||
4
|
||||
2
|
||||
|
||||
1
|
||||
1
|
||||
8
|
||||
|
||||
|
||||
1
|
||||
0
|
||||
1
|
||||
-21
|
||||
1
|
||||
10362
|
||||
0
|
||||
0
|
||||
0
|
||||
1
|
||||
100
|
||||
0
|
||||
0
|
||||
26
|
||||
4096
|
||||
4096
|
||||
32767
|
||||
2049
|
||||
2048
|
||||
2048
|
||||
0
|
||||
0
|
||||
0
|
||||
32767
|
||||
4096
|
||||
|
||||
|
||||
1
|
||||
0
|
||||
1
|
||||
-15
|
||||
1
|
||||
10362
|
||||
0
|
||||
0
|
||||
0
|
||||
1
|
||||
100
|
||||
0
|
||||
0
|
||||
26
|
||||
4096
|
||||
4096
|
||||
32767
|
||||
2049
|
||||
2048
|
||||
2048
|
||||
0
|
||||
0
|
||||
0
|
||||
32767
|
||||
4096
|
||||
|
||||
|
||||
1
|
||||
0
|
||||
1
|
||||
-12
|
||||
1
|
||||
10362
|
||||
0
|
||||
0
|
||||
0
|
||||
1
|
||||
100
|
||||
0
|
||||
0
|
||||
26
|
||||
4096
|
||||
4096
|
||||
32767
|
||||
2049
|
||||
2048
|
||||
2048
|
||||
0
|
||||
0
|
||||
0
|
||||
32767
|
||||
4096
|
||||
|
||||
|
||||
1
|
||||
0
|
||||
1
|
||||
-9
|
||||
1
|
||||
10362
|
||||
0
|
||||
0
|
||||
0
|
||||
1
|
||||
100
|
||||
0
|
||||
0
|
||||
26
|
||||
4096
|
||||
4096
|
||||
32767
|
||||
2049
|
||||
2048
|
||||
2048
|
||||
0
|
||||
0
|
||||
0
|
||||
32767
|
||||
4096
|
||||
|
||||
|
||||
1
|
||||
0
|
||||
1
|
||||
-6
|
||||
1
|
||||
10362
|
||||
0
|
||||
0
|
||||
0
|
||||
1
|
||||
100
|
||||
0
|
||||
0
|
||||
26
|
||||
4096
|
||||
4096
|
||||
32767
|
||||
2049
|
||||
2048
|
||||
2048
|
||||
0
|
||||
0
|
||||
0
|
||||
32767
|
||||
4096
|
||||
|
||||
|
||||
1
|
||||
0
|
||||
1
|
||||
-3
|
||||
1
|
||||
10362
|
||||
0
|
||||
0
|
||||
0
|
||||
1
|
||||
100
|
||||
0
|
||||
0
|
||||
26
|
||||
4096
|
||||
4096
|
||||
32767
|
||||
2049
|
||||
2048
|
||||
2048
|
||||
0
|
||||
0
|
||||
0
|
||||
32767
|
||||
4096
|
||||
|
||||
|
||||
1
|
||||
0
|
||||
1
|
||||
0
|
||||
1
|
||||
10362
|
||||
0
|
||||
0
|
||||
0
|
||||
1
|
||||
100
|
||||
0
|
||||
0
|
||||
26
|
||||
4096
|
||||
4096
|
||||
32767
|
||||
2049
|
||||
2048
|
||||
2048
|
||||
0
|
||||
0
|
||||
0
|
||||
32767
|
||||
4096
|
||||
|
||||
|
||||
1
|
||||
0
|
||||
1
|
||||
4
|
||||
1
|
||||
10362
|
||||
0
|
||||
0
|
||||
0
|
||||
1
|
||||
375
|
||||
0
|
||||
0
|
||||
26
|
||||
4096
|
||||
4096
|
||||
32767
|
||||
2049
|
||||
2048
|
||||
2048
|
||||
0
|
||||
0
|
||||
0
|
||||
32767
|
||||
4096
|
||||
|
||||
|
||||
1
|
||||
32
|
||||
4096
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
291
etc/audio/Rx_ControlParams_SPEAKER_WIDEBAND.txt
Normal file
291
etc/audio/Rx_ControlParams_SPEAKER_WIDEBAND.txt
Normal file
@@ -0,0 +1,291 @@
|
||||
272
|
||||
4
|
||||
2
|
||||
|
||||
2
|
||||
1
|
||||
8
|
||||
|
||||
|
||||
1
|
||||
0
|
||||
1
|
||||
-21
|
||||
1
|
||||
10362
|
||||
0
|
||||
0
|
||||
0
|
||||
1
|
||||
100
|
||||
0
|
||||
0
|
||||
26
|
||||
4096
|
||||
4096
|
||||
32767
|
||||
2049
|
||||
2048
|
||||
2048
|
||||
0
|
||||
0
|
||||
0
|
||||
32767
|
||||
4096
|
||||
|
||||
|
||||
1
|
||||
0
|
||||
1
|
||||
-15
|
||||
1
|
||||
10362
|
||||
0
|
||||
0
|
||||
0
|
||||
1
|
||||
100
|
||||
0
|
||||
0
|
||||
26
|
||||
4096
|
||||
4096
|
||||
32767
|
||||
2049
|
||||
2048
|
||||
2048
|
||||
0
|
||||
0
|
||||
0
|
||||
32767
|
||||
4096
|
||||
|
||||
|
||||
1
|
||||
0
|
||||
1
|
||||
-12
|
||||
1
|
||||
10362
|
||||
0
|
||||
0
|
||||
0
|
||||
1
|
||||
100
|
||||
0
|
||||
0
|
||||
26
|
||||
4096
|
||||
4096
|
||||
32767
|
||||
2049
|
||||
2048
|
||||
2048
|
||||
0
|
||||
0
|
||||
0
|
||||
32767
|
||||
4096
|
||||
|
||||
|
||||
1
|
||||
0
|
||||
1
|
||||
-9
|
||||
1
|
||||
10362
|
||||
0
|
||||
0
|
||||
0
|
||||
1
|
||||
100
|
||||
0
|
||||
0
|
||||
26
|
||||
4096
|
||||
4096
|
||||
32767
|
||||
2049
|
||||
2048
|
||||
2048
|
||||
0
|
||||
0
|
||||
0
|
||||
32767
|
||||
4096
|
||||
|
||||
|
||||
1
|
||||
0
|
||||
1
|
||||
-6
|
||||
1
|
||||
10362
|
||||
0
|
||||
0
|
||||
0
|
||||
1
|
||||
100
|
||||
0
|
||||
0
|
||||
26
|
||||
4096
|
||||
4096
|
||||
32767
|
||||
2049
|
||||
2048
|
||||
2048
|
||||
0
|
||||
0
|
||||
0
|
||||
32767
|
||||
4096
|
||||
|
||||
|
||||
1
|
||||
0
|
||||
1
|
||||
-3
|
||||
1
|
||||
10362
|
||||
0
|
||||
0
|
||||
0
|
||||
1
|
||||
100
|
||||
0
|
||||
0
|
||||
26
|
||||
4096
|
||||
4096
|
||||
32767
|
||||
2049
|
||||
2048
|
||||
2048
|
||||
0
|
||||
0
|
||||
0
|
||||
32767
|
||||
4096
|
||||
|
||||
|
||||
1
|
||||
0
|
||||
1
|
||||
0
|
||||
1
|
||||
10362
|
||||
0
|
||||
0
|
||||
0
|
||||
1
|
||||
100
|
||||
0
|
||||
0
|
||||
26
|
||||
4096
|
||||
4096
|
||||
32767
|
||||
2049
|
||||
2048
|
||||
2048
|
||||
0
|
||||
0
|
||||
0
|
||||
32767
|
||||
4096
|
||||
|
||||
|
||||
1
|
||||
0
|
||||
1
|
||||
4
|
||||
1
|
||||
10362
|
||||
0
|
||||
0
|
||||
0
|
||||
1
|
||||
375
|
||||
0
|
||||
0
|
||||
26
|
||||
4096
|
||||
4096
|
||||
32767
|
||||
2049
|
||||
2048
|
||||
2048
|
||||
0
|
||||
0
|
||||
0
|
||||
32767
|
||||
4096
|
||||
|
||||
|
||||
1
|
||||
32
|
||||
4096
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
291
etc/audio/Rx_ControlParams_WIRED_HEADPHONE_WIDEBAND.txt
Normal file
291
etc/audio/Rx_ControlParams_WIRED_HEADPHONE_WIDEBAND.txt
Normal file
@@ -0,0 +1,291 @@
|
||||
272
|
||||
4
|
||||
2
|
||||
|
||||
8
|
||||
1
|
||||
8
|
||||
|
||||
|
||||
1
|
||||
0
|
||||
1
|
||||
-21
|
||||
1
|
||||
10362
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
100
|
||||
0
|
||||
0
|
||||
26
|
||||
4096
|
||||
4096
|
||||
32767
|
||||
2049
|
||||
2048
|
||||
2048
|
||||
0
|
||||
0
|
||||
0
|
||||
32767
|
||||
4096
|
||||
|
||||
|
||||
1
|
||||
0
|
||||
1
|
||||
-15
|
||||
1
|
||||
10362
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
100
|
||||
0
|
||||
0
|
||||
26
|
||||
4096
|
||||
4096
|
||||
32767
|
||||
2049
|
||||
2048
|
||||
2048
|
||||
0
|
||||
0
|
||||
0
|
||||
32767
|
||||
4096
|
||||
|
||||
|
||||
1
|
||||
0
|
||||
1
|
||||
-12
|
||||
1
|
||||
10362
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
100
|
||||
0
|
||||
0
|
||||
26
|
||||
4096
|
||||
4096
|
||||
32767
|
||||
2049
|
||||
2048
|
||||
2048
|
||||
0
|
||||
0
|
||||
0
|
||||
32767
|
||||
4096
|
||||
|
||||
|
||||
1
|
||||
0
|
||||
1
|
||||
-9
|
||||
1
|
||||
10362
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
100
|
||||
0
|
||||
0
|
||||
26
|
||||
4096
|
||||
4096
|
||||
32767
|
||||
2049
|
||||
2048
|
||||
2048
|
||||
0
|
||||
0
|
||||
0
|
||||
32767
|
||||
4096
|
||||
|
||||
|
||||
1
|
||||
0
|
||||
1
|
||||
-6
|
||||
1
|
||||
10362
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
100
|
||||
0
|
||||
0
|
||||
26
|
||||
4096
|
||||
4096
|
||||
32767
|
||||
2049
|
||||
2048
|
||||
2048
|
||||
0
|
||||
0
|
||||
0
|
||||
32767
|
||||
4096
|
||||
|
||||
|
||||
1
|
||||
0
|
||||
1
|
||||
-3
|
||||
1
|
||||
10362
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
100
|
||||
0
|
||||
0
|
||||
26
|
||||
4096
|
||||
4096
|
||||
32767
|
||||
2049
|
||||
2048
|
||||
2048
|
||||
0
|
||||
0
|
||||
0
|
||||
32767
|
||||
4096
|
||||
|
||||
|
||||
1
|
||||
0
|
||||
1
|
||||
0
|
||||
1
|
||||
10362
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
100
|
||||
0
|
||||
0
|
||||
26
|
||||
4096
|
||||
4096
|
||||
32767
|
||||
2049
|
||||
2048
|
||||
2048
|
||||
0
|
||||
0
|
||||
0
|
||||
32767
|
||||
4096
|
||||
|
||||
|
||||
1
|
||||
0
|
||||
1
|
||||
3
|
||||
1
|
||||
10362
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
375
|
||||
0
|
||||
0
|
||||
26
|
||||
4096
|
||||
4096
|
||||
32767
|
||||
2049
|
||||
2048
|
||||
2048
|
||||
0
|
||||
0
|
||||
0
|
||||
32767
|
||||
4096
|
||||
|
||||
|
||||
1
|
||||
32
|
||||
4096
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
291
etc/audio/Rx_ControlParams_WIRED_HEADSET_WIDEBAND.txt
Normal file
291
etc/audio/Rx_ControlParams_WIRED_HEADSET_WIDEBAND.txt
Normal file
@@ -0,0 +1,291 @@
|
||||
272
|
||||
4
|
||||
2
|
||||
|
||||
4
|
||||
1
|
||||
8
|
||||
|
||||
|
||||
1
|
||||
0
|
||||
1
|
||||
-24
|
||||
1
|
||||
10362
|
||||
0
|
||||
0
|
||||
0
|
||||
1
|
||||
100
|
||||
0
|
||||
0
|
||||
26
|
||||
4096
|
||||
4096
|
||||
32767
|
||||
2049
|
||||
2048
|
||||
2048
|
||||
0
|
||||
0
|
||||
0
|
||||
32767
|
||||
4096
|
||||
|
||||
|
||||
1
|
||||
0
|
||||
1
|
||||
-18
|
||||
1
|
||||
10362
|
||||
0
|
||||
0
|
||||
0
|
||||
1
|
||||
100
|
||||
0
|
||||
0
|
||||
26
|
||||
4096
|
||||
4096
|
||||
32767
|
||||
2049
|
||||
2048
|
||||
2048
|
||||
0
|
||||
0
|
||||
0
|
||||
32767
|
||||
4096
|
||||
|
||||
|
||||
1
|
||||
0
|
||||
1
|
||||
-15
|
||||
1
|
||||
10362
|
||||
0
|
||||
0
|
||||
0
|
||||
1
|
||||
100
|
||||
0
|
||||
0
|
||||
26
|
||||
4096
|
||||
4096
|
||||
32767
|
||||
2049
|
||||
2048
|
||||
2048
|
||||
0
|
||||
0
|
||||
0
|
||||
32767
|
||||
4096
|
||||
|
||||
|
||||
1
|
||||
0
|
||||
1
|
||||
-12
|
||||
1
|
||||
10362
|
||||
0
|
||||
0
|
||||
0
|
||||
1
|
||||
100
|
||||
0
|
||||
0
|
||||
26
|
||||
4096
|
||||
4096
|
||||
32767
|
||||
2049
|
||||
2048
|
||||
2048
|
||||
0
|
||||
0
|
||||
0
|
||||
32767
|
||||
4096
|
||||
|
||||
|
||||
1
|
||||
0
|
||||
1
|
||||
-9
|
||||
1
|
||||
10362
|
||||
0
|
||||
0
|
||||
0
|
||||
1
|
||||
100
|
||||
0
|
||||
0
|
||||
26
|
||||
4096
|
||||
4096
|
||||
32767
|
||||
2049
|
||||
2048
|
||||
2048
|
||||
0
|
||||
0
|
||||
0
|
||||
32767
|
||||
4096
|
||||
|
||||
|
||||
1
|
||||
0
|
||||
1
|
||||
-6
|
||||
1
|
||||
10362
|
||||
0
|
||||
0
|
||||
0
|
||||
1
|
||||
100
|
||||
0
|
||||
0
|
||||
26
|
||||
4096
|
||||
4096
|
||||
32767
|
||||
2049
|
||||
2048
|
||||
2048
|
||||
0
|
||||
0
|
||||
0
|
||||
32767
|
||||
4096
|
||||
|
||||
|
||||
1
|
||||
0
|
||||
1
|
||||
-3
|
||||
1
|
||||
10362
|
||||
0
|
||||
0
|
||||
0
|
||||
1
|
||||
100
|
||||
0
|
||||
0
|
||||
26
|
||||
4096
|
||||
4096
|
||||
32767
|
||||
2049
|
||||
2048
|
||||
2048
|
||||
0
|
||||
0
|
||||
0
|
||||
32767
|
||||
4096
|
||||
|
||||
|
||||
1
|
||||
0
|
||||
1
|
||||
0
|
||||
1
|
||||
10362
|
||||
0
|
||||
0
|
||||
0
|
||||
1
|
||||
375
|
||||
0
|
||||
0
|
||||
26
|
||||
4096
|
||||
4096
|
||||
32767
|
||||
2049
|
||||
2048
|
||||
2048
|
||||
0
|
||||
0
|
||||
0
|
||||
32767
|
||||
4096
|
||||
|
||||
|
||||
1
|
||||
32
|
||||
4096
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
193
etc/audio/Tx_ControlParams_EARPIECE_WIDEBAND.txt
Normal file
193
etc/audio/Tx_ControlParams_EARPIECE_WIDEBAND.txt
Normal file
@@ -0,0 +1,193 @@
|
||||
191
|
||||
4
|
||||
3
|
||||
|
||||
1
|
||||
1
|
||||
|
||||
1
|
||||
0
|
||||
0
|
||||
240
|
||||
1
|
||||
3
|
||||
1
|
||||
150
|
||||
1
|
||||
4287
|
||||
0
|
||||
8192
|
||||
2048
|
||||
0
|
||||
96
|
||||
8192
|
||||
600
|
||||
64
|
||||
8192
|
||||
300
|
||||
1
|
||||
767
|
||||
21000
|
||||
8000
|
||||
700
|
||||
256
|
||||
256
|
||||
16000
|
||||
280
|
||||
10362
|
||||
14000
|
||||
240
|
||||
512
|
||||
512
|
||||
150
|
||||
28000
|
||||
16384
|
||||
1
|
||||
1
|
||||
32
|
||||
64
|
||||
64
|
||||
16800
|
||||
4096
|
||||
0
|
||||
2549
|
||||
14
|
||||
0
|
||||
8192
|
||||
8192
|
||||
2048
|
||||
40
|
||||
2048
|
||||
1568
|
||||
40
|
||||
2048
|
||||
1568
|
||||
1
|
||||
776
|
||||
32
|
||||
1024
|
||||
800
|
||||
32
|
||||
1024
|
||||
800
|
||||
1
|
||||
776
|
||||
1
|
||||
32767
|
||||
8192
|
||||
23062
|
||||
-11398
|
||||
-2622
|
||||
4704
|
||||
8698
|
||||
8807
|
||||
4494
|
||||
835
|
||||
481
|
||||
209
|
||||
6655
|
||||
7358
|
||||
-1669
|
||||
4806
|
||||
-598
|
||||
-880
|
||||
16
|
||||
655
|
||||
1024
|
||||
16
|
||||
1638
|
||||
181
|
||||
10
|
||||
16384
|
||||
10000
|
||||
16000
|
||||
5000
|
||||
128
|
||||
9830
|
||||
16384
|
||||
6554
|
||||
6554
|
||||
9830
|
||||
512
|
||||
12288
|
||||
10240
|
||||
400
|
||||
230
|
||||
26213
|
||||
0
|
||||
7
|
||||
16384
|
||||
256
|
||||
4096
|
||||
12055
|
||||
32442
|
||||
23170
|
||||
4096
|
||||
0
|
||||
0
|
||||
1
|
||||
32
|
||||
3310
|
||||
875
|
||||
195
|
||||
-511
|
||||
195
|
||||
77
|
||||
50
|
||||
-210
|
||||
106
|
||||
63
|
||||
-34
|
||||
-71
|
||||
45
|
||||
24
|
||||
-19
|
||||
-10
|
||||
12
|
||||
0
|
||||
-2
|
||||
-7
|
||||
6
|
||||
1
|
||||
0
|
||||
-2
|
||||
1
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
193
etc/audio/Tx_ControlParams_SPEAKER_WIDEBAND.txt
Normal file
193
etc/audio/Tx_ControlParams_SPEAKER_WIDEBAND.txt
Normal file
@@ -0,0 +1,193 @@
|
||||
191
|
||||
4
|
||||
3
|
||||
|
||||
2
|
||||
1
|
||||
|
||||
1
|
||||
0
|
||||
0
|
||||
240
|
||||
1
|
||||
6
|
||||
1
|
||||
150
|
||||
1
|
||||
4287
|
||||
0
|
||||
8192
|
||||
2048
|
||||
0
|
||||
96
|
||||
8192
|
||||
700
|
||||
64
|
||||
8192
|
||||
400
|
||||
1
|
||||
767
|
||||
21000
|
||||
8000
|
||||
700
|
||||
256
|
||||
256
|
||||
16000
|
||||
280
|
||||
10362
|
||||
14000
|
||||
240
|
||||
512
|
||||
512
|
||||
150
|
||||
28000
|
||||
16384
|
||||
1
|
||||
1
|
||||
32
|
||||
64
|
||||
64
|
||||
16800
|
||||
4096
|
||||
0
|
||||
2549
|
||||
14
|
||||
0
|
||||
8192
|
||||
8192
|
||||
2048
|
||||
40
|
||||
2048
|
||||
1568
|
||||
40
|
||||
2048
|
||||
1568
|
||||
1
|
||||
776
|
||||
32
|
||||
1024
|
||||
800
|
||||
32
|
||||
1024
|
||||
800
|
||||
1
|
||||
776
|
||||
1
|
||||
32767
|
||||
8192
|
||||
23062
|
||||
-11398
|
||||
-2622
|
||||
4704
|
||||
8698
|
||||
8807
|
||||
4494
|
||||
835
|
||||
481
|
||||
209
|
||||
6655
|
||||
7358
|
||||
-1669
|
||||
4806
|
||||
-598
|
||||
-880
|
||||
16
|
||||
655
|
||||
1024
|
||||
16
|
||||
1638
|
||||
181
|
||||
10
|
||||
16384
|
||||
10000
|
||||
16000
|
||||
5000
|
||||
128
|
||||
9830
|
||||
16384
|
||||
6554
|
||||
6554
|
||||
9830
|
||||
512
|
||||
12288
|
||||
10240
|
||||
400
|
||||
230
|
||||
26213
|
||||
0
|
||||
7
|
||||
16384
|
||||
256
|
||||
4096
|
||||
12055
|
||||
32442
|
||||
23170
|
||||
4096
|
||||
0
|
||||
0
|
||||
1
|
||||
32
|
||||
3310
|
||||
875
|
||||
195
|
||||
-511
|
||||
195
|
||||
77
|
||||
50
|
||||
-210
|
||||
106
|
||||
63
|
||||
-34
|
||||
-71
|
||||
45
|
||||
24
|
||||
-19
|
||||
-10
|
||||
12
|
||||
0
|
||||
-2
|
||||
-7
|
||||
6
|
||||
1
|
||||
0
|
||||
-2
|
||||
1
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
193
etc/audio/Tx_ControlParams_WIRED_HEADPHONE_WIDEBAND.txt
Normal file
193
etc/audio/Tx_ControlParams_WIRED_HEADPHONE_WIDEBAND.txt
Normal file
@@ -0,0 +1,193 @@
|
||||
191
|
||||
4
|
||||
3
|
||||
|
||||
8
|
||||
1
|
||||
|
||||
1
|
||||
0
|
||||
0
|
||||
240
|
||||
1
|
||||
6
|
||||
1
|
||||
150
|
||||
1
|
||||
4287
|
||||
0
|
||||
8192
|
||||
2048
|
||||
0
|
||||
64
|
||||
6500
|
||||
1000
|
||||
32
|
||||
6500
|
||||
600
|
||||
1
|
||||
767
|
||||
16000
|
||||
4000
|
||||
512
|
||||
256
|
||||
256
|
||||
16000
|
||||
280
|
||||
5832
|
||||
14000
|
||||
1
|
||||
768
|
||||
512
|
||||
150
|
||||
28000
|
||||
16384
|
||||
1
|
||||
1
|
||||
32
|
||||
64
|
||||
64
|
||||
16800
|
||||
4096
|
||||
0
|
||||
2549
|
||||
14
|
||||
0
|
||||
8192
|
||||
8192
|
||||
2048
|
||||
40
|
||||
2048
|
||||
1568
|
||||
40
|
||||
2048
|
||||
1568
|
||||
1
|
||||
776
|
||||
32
|
||||
1024
|
||||
800
|
||||
32
|
||||
1024
|
||||
800
|
||||
1
|
||||
776
|
||||
1
|
||||
32767
|
||||
8192
|
||||
23062
|
||||
-11398
|
||||
-2622
|
||||
4704
|
||||
8698
|
||||
8807
|
||||
4494
|
||||
835
|
||||
481
|
||||
209
|
||||
6655
|
||||
7358
|
||||
-1669
|
||||
4806
|
||||
-598
|
||||
-880
|
||||
16
|
||||
655
|
||||
1024
|
||||
16
|
||||
1638
|
||||
181
|
||||
10
|
||||
16384
|
||||
10000
|
||||
16000
|
||||
5000
|
||||
128
|
||||
9830
|
||||
16384
|
||||
6554
|
||||
6554
|
||||
9830
|
||||
512
|
||||
12288
|
||||
10240
|
||||
400
|
||||
230
|
||||
26213
|
||||
0
|
||||
7
|
||||
16384
|
||||
256
|
||||
4096
|
||||
12055
|
||||
32442
|
||||
23170
|
||||
4096
|
||||
0
|
||||
0
|
||||
1
|
||||
32
|
||||
3310
|
||||
875
|
||||
195
|
||||
-511
|
||||
195
|
||||
77
|
||||
50
|
||||
-210
|
||||
106
|
||||
63
|
||||
-34
|
||||
-71
|
||||
45
|
||||
24
|
||||
-19
|
||||
-10
|
||||
12
|
||||
0
|
||||
-2
|
||||
-7
|
||||
6
|
||||
1
|
||||
0
|
||||
-2
|
||||
1
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
193
etc/audio/Tx_ControlParams_WIRED_HEADSET_WIDEBAND.txt
Normal file
193
etc/audio/Tx_ControlParams_WIRED_HEADSET_WIDEBAND.txt
Normal file
@@ -0,0 +1,193 @@
|
||||
191
|
||||
4
|
||||
3
|
||||
|
||||
4
|
||||
1
|
||||
|
||||
1
|
||||
0
|
||||
0
|
||||
240
|
||||
1
|
||||
3
|
||||
1
|
||||
150
|
||||
1
|
||||
4287
|
||||
0
|
||||
8192
|
||||
2048
|
||||
0
|
||||
64
|
||||
6500
|
||||
1000
|
||||
32
|
||||
6500
|
||||
600
|
||||
1
|
||||
767
|
||||
16000
|
||||
4000
|
||||
512
|
||||
256
|
||||
256
|
||||
16000
|
||||
280
|
||||
5832
|
||||
14000
|
||||
1
|
||||
768
|
||||
512
|
||||
150
|
||||
28000
|
||||
16384
|
||||
1
|
||||
1
|
||||
32
|
||||
64
|
||||
64
|
||||
16800
|
||||
4096
|
||||
0
|
||||
2549
|
||||
14
|
||||
0
|
||||
8192
|
||||
8192
|
||||
2048
|
||||
40
|
||||
2048
|
||||
1568
|
||||
40
|
||||
2048
|
||||
1568
|
||||
1
|
||||
776
|
||||
32
|
||||
1024
|
||||
800
|
||||
32
|
||||
1024
|
||||
800
|
||||
1
|
||||
776
|
||||
1
|
||||
32767
|
||||
8192
|
||||
23062
|
||||
-11398
|
||||
-2622
|
||||
4704
|
||||
8698
|
||||
8807
|
||||
4494
|
||||
835
|
||||
481
|
||||
209
|
||||
6655
|
||||
7358
|
||||
-1669
|
||||
4806
|
||||
-598
|
||||
-880
|
||||
16
|
||||
655
|
||||
1024
|
||||
16
|
||||
1638
|
||||
181
|
||||
10
|
||||
16384
|
||||
10000
|
||||
16000
|
||||
5000
|
||||
128
|
||||
9830
|
||||
16384
|
||||
6554
|
||||
6554
|
||||
9830
|
||||
512
|
||||
12288
|
||||
10240
|
||||
400
|
||||
230
|
||||
26213
|
||||
0
|
||||
7
|
||||
16384
|
||||
256
|
||||
4096
|
||||
12055
|
||||
32442
|
||||
23170
|
||||
4096
|
||||
0
|
||||
0
|
||||
1
|
||||
32
|
||||
4096
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
6
etc/audio/codec/FMRadioEar.ini
Normal file
6
etc/audio/codec/FMRadioEar.ini
Normal file
@@ -0,0 +1,6 @@
|
||||
0x0E=0x11
|
||||
0x12=0x0f
|
||||
0x44=0x76
|
||||
0x45=0x73
|
||||
0x4D=0x76
|
||||
|
5
etc/audio/codec/FMRadioSpk.ini
Normal file
5
etc/audio/codec/FMRadioSpk.ini
Normal file
@@ -0,0 +1,5 @@
|
||||
0x0E=0x11
|
||||
0x15=0x17
|
||||
0x48=0x76
|
||||
0x49=0x73
|
||||
|
4
etc/audio/codec/MusicEar.ini
Normal file
4
etc/audio/codec/MusicEar.ini
Normal file
@@ -0,0 +1,4 @@
|
||||
0x44=0x76
|
||||
0x4D=0x76
|
||||
0x12=0x0f
|
||||
|
3
etc/audio/codec/MusicSpk.ini
Normal file
3
etc/audio/codec/MusicSpk.ini
Normal file
@@ -0,0 +1,3 @@
|
||||
0x48=0x76
|
||||
0x15=0x17
|
||||
|
2
etc/audio/codec/RecHeadSetMic.ini
Normal file
2
etc/audio/codec/RecHeadSetMic.ini
Normal file
@@ -0,0 +1,2 @@
|
||||
0x0E=0x14
|
||||
|
2
etc/audio/codec/RecMainMic.ini
Normal file
2
etc/audio/codec/RecMainMic.ini
Normal file
@@ -0,0 +1,2 @@
|
||||
0x0E=0x14
|
||||
|
2
etc/audio/codec/RecSubMic.ini
Normal file
2
etc/audio/codec/RecSubMic.ini
Normal file
@@ -0,0 +1,2 @@
|
||||
0x0E=0x14
|
||||
|
4
etc/audio/codec/RingtoneEar.ini
Normal file
4
etc/audio/codec/RingtoneEar.ini
Normal file
@@ -0,0 +1,4 @@
|
||||
0x44=0x76
|
||||
0x4d=0x76
|
||||
0x12=0x0f
|
||||
|
3
etc/audio/codec/RingtoneSpk.ini
Normal file
3
etc/audio/codec/RingtoneSpk.ini
Normal file
@@ -0,0 +1,3 @@
|
||||
0x48=0x76
|
||||
0x15=0x17
|
||||
|
7
etc/audio/codec/VoiceCall3pEar.ini
Normal file
7
etc/audio/codec/VoiceCall3pEar.ini
Normal file
@@ -0,0 +1,7 @@
|
||||
0x0E=0x14
|
||||
0x50=0x78
|
||||
0x46=0x76
|
||||
0x4d=0x78
|
||||
0x12=0x0f
|
||||
0x44=0x76
|
||||
|
7
etc/audio/codec/VoiceCall4pEar.ini
Normal file
7
etc/audio/codec/VoiceCall4pEar.ini
Normal file
@@ -0,0 +1,7 @@
|
||||
0x0E=0x14
|
||||
0x50=0x78
|
||||
0x46=0x78
|
||||
0x4d=0x78
|
||||
0x12=0x0f
|
||||
0x44=0x76
|
||||
|
5
etc/audio/codec/VoiceCallBT.ini
Normal file
5
etc/audio/codec/VoiceCallBT.ini
Normal file
@@ -0,0 +1,5 @@
|
||||
0x50=0x78
|
||||
0x46=0x78
|
||||
0x4D=0x78
|
||||
0x44=0x76
|
||||
|
7
etc/audio/codec/VoiceCallRcv.ini
Normal file
7
etc/audio/codec/VoiceCallRcv.ini
Normal file
@@ -0,0 +1,7 @@
|
||||
0x0E=0x14
|
||||
0x50=0x78
|
||||
0x46=0x78
|
||||
0x4d=0x78
|
||||
0x13=0x0f
|
||||
0x44=0x76
|
||||
|
6
etc/audio/codec/VoiceCallSpk.ini
Normal file
6
etc/audio/codec/VoiceCallSpk.ini
Normal file
@@ -0,0 +1,6 @@
|
||||
0x0E=0x14
|
||||
0x50=0x78
|
||||
0x4A=0x78
|
||||
0x15=0x17
|
||||
0x48=0x76
|
||||
|
1
etc/audio/codec/VoiceRecHeadSetMic.ini
Normal file
1
etc/audio/codec/VoiceRecHeadSetMic.ini
Normal file
@@ -0,0 +1 @@
|
||||
0x0E=0x14
|
1
etc/audio/codec/VoiceRecMainMic.ini
Normal file
1
etc/audio/codec/VoiceRecMainMic.ini
Normal file
@@ -0,0 +1 @@
|
||||
0x0E=0x14
|
5
etc/audio/codec/VoipCall3pEar.ini
Normal file
5
etc/audio/codec/VoipCall3pEar.ini
Normal file
@@ -0,0 +1,5 @@
|
||||
0x0E=0x14
|
||||
0x44=0x76
|
||||
0x4D=0x76
|
||||
0x12=0x0f
|
||||
|
5
etc/audio/codec/VoipCall4pEar.ini
Normal file
5
etc/audio/codec/VoipCall4pEar.ini
Normal file
@@ -0,0 +1,5 @@
|
||||
0x0E=0x14
|
||||
0x44=0x76
|
||||
0x4D=0x76
|
||||
0x12=0x0f
|
||||
|
5
etc/audio/codec/VoipCallRcv.ini
Normal file
5
etc/audio/codec/VoipCallRcv.ini
Normal file
@@ -0,0 +1,5 @@
|
||||
0x0E=0x14
|
||||
0x46=0x76
|
||||
0x4d=0x76
|
||||
0x13=0x0f
|
||||
|
4
etc/audio/codec/VoipCallSpk.ini
Normal file
4
etc/audio/codec/VoipCallSpk.ini
Normal file
@@ -0,0 +1,4 @@
|
||||
0x0E=0x14
|
||||
0x48=0x76
|
||||
0x15=0x17
|
||||
|
7
etc/audio/codec/VtCall3pEar.ini
Normal file
7
etc/audio/codec/VtCall3pEar.ini
Normal file
@@ -0,0 +1,7 @@
|
||||
0x0E=0x14
|
||||
0x50=0x78
|
||||
0x46=0x76
|
||||
0x4d=0x78
|
||||
0x12=0x0f
|
||||
0x44=0x76
|
||||
|
7
etc/audio/codec/VtCall4pEar.ini
Normal file
7
etc/audio/codec/VtCall4pEar.ini
Normal file
@@ -0,0 +1,7 @@
|
||||
0x0E=0x14
|
||||
0x50=0x78
|
||||
0x46=0x78
|
||||
0x4d=0x78
|
||||
0x12=0x0f
|
||||
0x44=0x76
|
||||
|
5
etc/audio/codec/VtCallBT.ini
Normal file
5
etc/audio/codec/VtCallBT.ini
Normal file
@@ -0,0 +1,5 @@
|
||||
0x50=0x78
|
||||
0x46=0x78
|
||||
0x4D=0x78
|
||||
0x44=0x76
|
||||
|
7
etc/audio/codec/VtCallRcv.ini
Normal file
7
etc/audio/codec/VtCallRcv.ini
Normal file
@@ -0,0 +1,7 @@
|
||||
0x0E=0x14
|
||||
0x50=0x78
|
||||
0x46=0x78
|
||||
0x4d=0x78
|
||||
0x13=0x0f
|
||||
0x44=0x76
|
||||
|
6
etc/audio/codec/VtCallSpk.ini
Normal file
6
etc/audio/codec/VtCallSpk.ini
Normal file
@@ -0,0 +1,6 @@
|
||||
0x0E=0x14
|
||||
0x50=0x78
|
||||
0x4A=0x78
|
||||
0x15=0x17
|
||||
0x48=0x76
|
||||
|
@@ -1,76 +0,0 @@
|
||||
# external/alsa-lib/Android.mk
|
||||
#
|
||||
# Copyright 2008 Wind River Systems
|
||||
#
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
##
|
||||
## Copy ALSA configuration files to rootfs
|
||||
##
|
||||
TARGET_ALSA_CONF_DIR := $(TARGET_OUT)/usr/share/alsa
|
||||
LOCAL_ALSA_CONF_DIR := $(LOCAL_PATH)/src/conf
|
||||
|
||||
copy_from := \
|
||||
alsa.conf \
|
||||
pcm/dsnoop.conf \
|
||||
pcm/modem.conf \
|
||||
pcm/dpl.conf \
|
||||
pcm/default.conf \
|
||||
pcm/surround51.conf \
|
||||
pcm/surround41.conf \
|
||||
pcm/surround50.conf \
|
||||
pcm/dmix.conf \
|
||||
pcm/center_lfe.conf \
|
||||
pcm/surround40.conf \
|
||||
pcm/side.conf \
|
||||
pcm/iec958.conf \
|
||||
pcm/rear.conf \
|
||||
pcm/surround71.conf \
|
||||
pcm/front.conf \
|
||||
cards/aliases.conf
|
||||
|
||||
copy_to := $(addprefix $(TARGET_ALSA_CONF_DIR)/,$(copy_from))
|
||||
copy_from := $(addprefix $(LOCAL_ALSA_CONF_DIR)/,$(copy_from))
|
||||
|
||||
$(copy_to) : $(TARGET_ALSA_CONF_DIR)/% : $(LOCAL_ALSA_CONF_DIR)/% | $(ACP)
|
||||
$(transform-prebuilt-to-target)
|
||||
|
||||
ALL_PREBUILT += $(copy_to)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE := libasound
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
|
||||
LOCAL_PRELINK_MODULE := false
|
||||
LOCAL_ARM_MODE := arm
|
||||
|
||||
LOCAL_C_INCLUDES += $(LOCAL_PATH)/include
|
||||
|
||||
# libasound must be compiled with -fno-short-enums, as it makes extensive
|
||||
# use of enums which are often type casted to unsigned ints.
|
||||
LOCAL_CFLAGS := \
|
||||
-fPIC -DPIC -D_POSIX_SOURCE \
|
||||
-DALSA_CONFIG_DIR=\"/system/usr/share/alsa\" \
|
||||
-DALSA_PLUGIN_DIR=\"/system/usr/lib/alsa-lib\" \
|
||||
-DALSA_DEVICE_DIRECTORY=\"/dev/snd/\"
|
||||
|
||||
LOCAL_SRC_FILES := $(sort $(call all-c-files-under, src))
|
||||
|
||||
# It is easier to exclude the ones we don't want...
|
||||
#
|
||||
LOCAL_SRC_FILES := $(filter-out src/alisp/alisp_snd.c, $(LOCAL_SRC_FILES))
|
||||
LOCAL_SRC_FILES := $(filter-out src/compat/hsearch_r.c, $(LOCAL_SRC_FILES))
|
||||
LOCAL_SRC_FILES := $(filter-out src/control/control_shm.c, $(LOCAL_SRC_FILES))
|
||||
LOCAL_SRC_FILES := $(filter-out src/pcm/pcm_d%.c, $(LOCAL_SRC_FILES))
|
||||
LOCAL_SRC_FILES := $(filter-out src/pcm/pcm_ladspa.c, $(LOCAL_SRC_FILES))
|
||||
LOCAL_SRC_FILES := $(filter-out src/pcm/pcm_shm.c, $(LOCAL_SRC_FILES))
|
||||
LOCAL_SRC_FILES := $(filter-out src/pcm/scopes/level.c, $(LOCAL_SRC_FILES))
|
||||
LOCAL_SRC_FILES := $(filter-out src/shmarea.c, $(LOCAL_SRC_FILES))
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libdl
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
@@ -1,504 +0,0 @@
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
Version 2.1, February 1999
|
||||
|
||||
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
|
||||
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
[This is the first released version of the Lesser GPL. It also counts
|
||||
as the successor of the GNU Library Public License, version 2, hence
|
||||
the version number 2.1.]
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
Licenses are intended to guarantee your freedom to share and change
|
||||
free software--to make sure the software is free for all its users.
|
||||
|
||||
This license, the Lesser General Public License, applies to some
|
||||
specially designated software packages--typically libraries--of the
|
||||
Free Software Foundation and other authors who decide to use it. You
|
||||
can use it too, but we suggest you first think carefully about whether
|
||||
this license or the ordinary General Public License is the better
|
||||
strategy to use in any particular case, based on the explanations below.
|
||||
|
||||
When we speak of free software, we are referring to freedom of use,
|
||||
not price. Our General Public Licenses are designed to make sure that
|
||||
you have the freedom to distribute copies of free software (and charge
|
||||
for this service if you wish); that you receive source code or can get
|
||||
it if you want it; that you can change the software and use pieces of
|
||||
it in new free programs; and that you are informed that you can do
|
||||
these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
distributors to deny you these rights or to ask you to surrender these
|
||||
rights. These restrictions translate to certain responsibilities for
|
||||
you if you distribute copies of the library or if you modify it.
|
||||
|
||||
For example, if you distribute copies of the library, whether gratis
|
||||
or for a fee, you must give the recipients all the rights that we gave
|
||||
you. You must make sure that they, too, receive or can get the source
|
||||
code. If you link other code with the library, you must provide
|
||||
complete object files to the recipients, so that they can relink them
|
||||
with the library after making changes to the library and recompiling
|
||||
it. And you must show them these terms so they know their rights.
|
||||
|
||||
We protect your rights with a two-step method: (1) we copyright the
|
||||
library, and (2) we offer you this license, which gives you legal
|
||||
permission to copy, distribute and/or modify the library.
|
||||
|
||||
To protect each distributor, we want to make it very clear that
|
||||
there is no warranty for the free library. Also, if the library is
|
||||
modified by someone else and passed on, the recipients should know
|
||||
that what they have is not the original version, so that the original
|
||||
author's reputation will not be affected by problems that might be
|
||||
introduced by others.
|
||||
|
||||
Finally, software patents pose a constant threat to the existence of
|
||||
any free program. We wish to make sure that a company cannot
|
||||
effectively restrict the users of a free program by obtaining a
|
||||
restrictive license from a patent holder. Therefore, we insist that
|
||||
any patent license obtained for a version of the library must be
|
||||
consistent with the full freedom of use specified in this license.
|
||||
|
||||
Most GNU software, including some libraries, is covered by the
|
||||
ordinary GNU General Public License. This license, the GNU Lesser
|
||||
General Public License, applies to certain designated libraries, and
|
||||
is quite different from the ordinary General Public License. We use
|
||||
this license for certain libraries in order to permit linking those
|
||||
libraries into non-free programs.
|
||||
|
||||
When a program is linked with a library, whether statically or using
|
||||
a shared library, the combination of the two is legally speaking a
|
||||
combined work, a derivative of the original library. The ordinary
|
||||
General Public License therefore permits such linking only if the
|
||||
entire combination fits its criteria of freedom. The Lesser General
|
||||
Public License permits more lax criteria for linking other code with
|
||||
the library.
|
||||
|
||||
We call this license the "Lesser" General Public License because it
|
||||
does Less to protect the user's freedom than the ordinary General
|
||||
Public License. It also provides other free software developers Less
|
||||
of an advantage over competing non-free programs. These disadvantages
|
||||
are the reason we use the ordinary General Public License for many
|
||||
libraries. However, the Lesser license provides advantages in certain
|
||||
special circumstances.
|
||||
|
||||
For example, on rare occasions, there may be a special need to
|
||||
encourage the widest possible use of a certain library, so that it becomes
|
||||
a de-facto standard. To achieve this, non-free programs must be
|
||||
allowed to use the library. A more frequent case is that a free
|
||||
library does the same job as widely used non-free libraries. In this
|
||||
case, there is little to gain by limiting the free library to free
|
||||
software only, so we use the Lesser General Public License.
|
||||
|
||||
In other cases, permission to use a particular library in non-free
|
||||
programs enables a greater number of people to use a large body of
|
||||
free software. For example, permission to use the GNU C Library in
|
||||
non-free programs enables many more people to use the whole GNU
|
||||
operating system, as well as its variant, the GNU/Linux operating
|
||||
system.
|
||||
|
||||
Although the Lesser General Public License is Less protective of the
|
||||
users' freedom, it does ensure that the user of a program that is
|
||||
linked with the Library has the freedom and the wherewithal to run
|
||||
that program using a modified version of the Library.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow. Pay close attention to the difference between a
|
||||
"work based on the library" and a "work that uses the library". The
|
||||
former contains code derived from the library, whereas the latter must
|
||||
be combined with the library in order to run.
|
||||
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License Agreement applies to any software library or other
|
||||
program which contains a notice placed by the copyright holder or
|
||||
other authorized party saying it may be distributed under the terms of
|
||||
this Lesser General Public License (also called "this License").
|
||||
Each licensee is addressed as "you".
|
||||
|
||||
A "library" means a collection of software functions and/or data
|
||||
prepared so as to be conveniently linked with application programs
|
||||
(which use some of those functions and data) to form executables.
|
||||
|
||||
The "Library", below, refers to any such software library or work
|
||||
which has been distributed under these terms. A "work based on the
|
||||
Library" means either the Library or any derivative work under
|
||||
copyright law: that is to say, a work containing the Library or a
|
||||
portion of it, either verbatim or with modifications and/or translated
|
||||
straightforwardly into another language. (Hereinafter, translation is
|
||||
included without limitation in the term "modification".)
|
||||
|
||||
"Source code" for a work means the preferred form of the work for
|
||||
making modifications to it. For a library, complete source code means
|
||||
all the source code for all modules it contains, plus any associated
|
||||
interface definition files, plus the scripts used to control compilation
|
||||
and installation of the library.
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running a program using the Library is not restricted, and output from
|
||||
such a program is covered only if its contents constitute a work based
|
||||
on the Library (independent of the use of the Library in a tool for
|
||||
writing it). Whether that is true depends on what the Library does
|
||||
and what the program that uses the Library does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Library's
|
||||
complete source code as you receive it, in any medium, provided that
|
||||
you conspicuously and appropriately publish on each copy an
|
||||
appropriate copyright notice and disclaimer of warranty; keep intact
|
||||
all the notices that refer to this License and to the absence of any
|
||||
warranty; and distribute a copy of this License along with the
|
||||
Library.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy,
|
||||
and you may at your option offer warranty protection in exchange for a
|
||||
fee.
|
||||
|
||||
2. You may modify your copy or copies of the Library or any portion
|
||||
of it, thus forming a work based on the Library, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) The modified work must itself be a software library.
|
||||
|
||||
b) You must cause the files modified to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
c) You must cause the whole of the work to be licensed at no
|
||||
charge to all third parties under the terms of this License.
|
||||
|
||||
d) If a facility in the modified Library refers to a function or a
|
||||
table of data to be supplied by an application program that uses
|
||||
the facility, other than as an argument passed when the facility
|
||||
is invoked, then you must make a good faith effort to ensure that,
|
||||
in the event an application does not supply such function or
|
||||
table, the facility still operates, and performs whatever part of
|
||||
its purpose remains meaningful.
|
||||
|
||||
(For example, a function in a library to compute square roots has
|
||||
a purpose that is entirely well-defined independent of the
|
||||
application. Therefore, Subsection 2d requires that any
|
||||
application-supplied function or table used by this function must
|
||||
be optional: if the application does not supply it, the square
|
||||
root function must still compute square roots.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Library,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Library, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote
|
||||
it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Library.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Library
|
||||
with the Library (or with a work based on the Library) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may opt to apply the terms of the ordinary GNU General Public
|
||||
License instead of this License to a given copy of the Library. To do
|
||||
this, you must alter all the notices that refer to this License, so
|
||||
that they refer to the ordinary GNU General Public License, version 2,
|
||||
instead of to this License. (If a newer version than version 2 of the
|
||||
ordinary GNU General Public License has appeared, then you can specify
|
||||
that version instead if you wish.) Do not make any other change in
|
||||
these notices.
|
||||
|
||||
Once this change is made in a given copy, it is irreversible for
|
||||
that copy, so the ordinary GNU General Public License applies to all
|
||||
subsequent copies and derivative works made from that copy.
|
||||
|
||||
This option is useful when you wish to copy part of the code of
|
||||
the Library into a program that is not a library.
|
||||
|
||||
4. You may copy and distribute the Library (or a portion or
|
||||
derivative of it, under Section 2) in object code or executable form
|
||||
under the terms of Sections 1 and 2 above provided that you accompany
|
||||
it with the complete corresponding machine-readable source code, which
|
||||
must be distributed under the terms of Sections 1 and 2 above on a
|
||||
medium customarily used for software interchange.
|
||||
|
||||
If distribution of object code is made by offering access to copy
|
||||
from a designated place, then offering equivalent access to copy the
|
||||
source code from the same place satisfies the requirement to
|
||||
distribute the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
5. A program that contains no derivative of any portion of the
|
||||
Library, but is designed to work with the Library by being compiled or
|
||||
linked with it, is called a "work that uses the Library". Such a
|
||||
work, in isolation, is not a derivative work of the Library, and
|
||||
therefore falls outside the scope of this License.
|
||||
|
||||
However, linking a "work that uses the Library" with the Library
|
||||
creates an executable that is a derivative of the Library (because it
|
||||
contains portions of the Library), rather than a "work that uses the
|
||||
library". The executable is therefore covered by this License.
|
||||
Section 6 states terms for distribution of such executables.
|
||||
|
||||
When a "work that uses the Library" uses material from a header file
|
||||
that is part of the Library, the object code for the work may be a
|
||||
derivative work of the Library even though the source code is not.
|
||||
Whether this is true is especially significant if the work can be
|
||||
linked without the Library, or if the work is itself a library. The
|
||||
threshold for this to be true is not precisely defined by law.
|
||||
|
||||
If such an object file uses only numerical parameters, data
|
||||
structure layouts and accessors, and small macros and small inline
|
||||
functions (ten lines or less in length), then the use of the object
|
||||
file is unrestricted, regardless of whether it is legally a derivative
|
||||
work. (Executables containing this object code plus portions of the
|
||||
Library will still fall under Section 6.)
|
||||
|
||||
Otherwise, if the work is a derivative of the Library, you may
|
||||
distribute the object code for the work under the terms of Section 6.
|
||||
Any executables containing that work also fall under Section 6,
|
||||
whether or not they are linked directly with the Library itself.
|
||||
|
||||
6. As an exception to the Sections above, you may also combine or
|
||||
link a "work that uses the Library" with the Library to produce a
|
||||
work containing portions of the Library, and distribute that work
|
||||
under terms of your choice, provided that the terms permit
|
||||
modification of the work for the customer's own use and reverse
|
||||
engineering for debugging such modifications.
|
||||
|
||||
You must give prominent notice with each copy of the work that the
|
||||
Library is used in it and that the Library and its use are covered by
|
||||
this License. You must supply a copy of this License. If the work
|
||||
during execution displays copyright notices, you must include the
|
||||
copyright notice for the Library among them, as well as a reference
|
||||
directing the user to the copy of this License. Also, you must do one
|
||||
of these things:
|
||||
|
||||
a) Accompany the work with the complete corresponding
|
||||
machine-readable source code for the Library including whatever
|
||||
changes were used in the work (which must be distributed under
|
||||
Sections 1 and 2 above); and, if the work is an executable linked
|
||||
with the Library, with the complete machine-readable "work that
|
||||
uses the Library", as object code and/or source code, so that the
|
||||
user can modify the Library and then relink to produce a modified
|
||||
executable containing the modified Library. (It is understood
|
||||
that the user who changes the contents of definitions files in the
|
||||
Library will not necessarily be able to recompile the application
|
||||
to use the modified definitions.)
|
||||
|
||||
b) Use a suitable shared library mechanism for linking with the
|
||||
Library. A suitable mechanism is one that (1) uses at run time a
|
||||
copy of the library already present on the user's computer system,
|
||||
rather than copying library functions into the executable, and (2)
|
||||
will operate properly with a modified version of the library, if
|
||||
the user installs one, as long as the modified version is
|
||||
interface-compatible with the version that the work was made with.
|
||||
|
||||
c) Accompany the work with a written offer, valid for at
|
||||
least three years, to give the same user the materials
|
||||
specified in Subsection 6a, above, for a charge no more
|
||||
than the cost of performing this distribution.
|
||||
|
||||
d) If distribution of the work is made by offering access to copy
|
||||
from a designated place, offer equivalent access to copy the above
|
||||
specified materials from the same place.
|
||||
|
||||
e) Verify that the user has already received a copy of these
|
||||
materials or that you have already sent this user a copy.
|
||||
|
||||
For an executable, the required form of the "work that uses the
|
||||
Library" must include any data and utility programs needed for
|
||||
reproducing the executable from it. However, as a special exception,
|
||||
the materials to be distributed need not include anything that is
|
||||
normally distributed (in either source or binary form) with the major
|
||||
components (compiler, kernel, and so on) of the operating system on
|
||||
which the executable runs, unless that component itself accompanies
|
||||
the executable.
|
||||
|
||||
It may happen that this requirement contradicts the license
|
||||
restrictions of other proprietary libraries that do not normally
|
||||
accompany the operating system. Such a contradiction means you cannot
|
||||
use both them and the Library together in an executable that you
|
||||
distribute.
|
||||
|
||||
7. You may place library facilities that are a work based on the
|
||||
Library side-by-side in a single library together with other library
|
||||
facilities not covered by this License, and distribute such a combined
|
||||
library, provided that the separate distribution of the work based on
|
||||
the Library and of the other library facilities is otherwise
|
||||
permitted, and provided that you do these two things:
|
||||
|
||||
a) Accompany the combined library with a copy of the same work
|
||||
based on the Library, uncombined with any other library
|
||||
facilities. This must be distributed under the terms of the
|
||||
Sections above.
|
||||
|
||||
b) Give prominent notice with the combined library of the fact
|
||||
that part of it is a work based on the Library, and explaining
|
||||
where to find the accompanying uncombined form of the same work.
|
||||
|
||||
8. You may not copy, modify, sublicense, link with, or distribute
|
||||
the Library except as expressly provided under this License. Any
|
||||
attempt otherwise to copy, modify, sublicense, link with, or
|
||||
distribute the Library is void, and will automatically terminate your
|
||||
rights under this License. However, parties who have received copies,
|
||||
or rights, from you under this License will not have their licenses
|
||||
terminated so long as such parties remain in full compliance.
|
||||
|
||||
9. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Library or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Library (or any work based on the
|
||||
Library), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Library or works based on it.
|
||||
|
||||
10. Each time you redistribute the Library (or any work based on the
|
||||
Library), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute, link with or modify the Library
|
||||
subject to these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties with
|
||||
this License.
|
||||
|
||||
11. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Library at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Library by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Library.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under any
|
||||
particular circumstance, the balance of the section is intended to apply,
|
||||
and the section as a whole is intended to apply in other circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
12. If the distribution and/or use of the Library is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Library under this License may add
|
||||
an explicit geographical distribution limitation excluding those countries,
|
||||
so that distribution is permitted only in or among countries not thus
|
||||
excluded. In such case, this License incorporates the limitation as if
|
||||
written in the body of this License.
|
||||
|
||||
13. The Free Software Foundation may publish revised and/or new
|
||||
versions of the Lesser General Public License from time to time.
|
||||
Such new versions will be similar in spirit to the present version,
|
||||
but may differ in detail to address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Library
|
||||
specifies a version number of this License which applies to it and
|
||||
"any later version", you have the option of following the terms and
|
||||
conditions either of that version or of any later version published by
|
||||
the Free Software Foundation. If the Library does not specify a
|
||||
license version number, you may choose any version ever published by
|
||||
the Free Software Foundation.
|
||||
|
||||
14. If you wish to incorporate parts of the Library into other free
|
||||
programs whose distribution conditions are incompatible with these,
|
||||
write to the author to ask for permission. For software which is
|
||||
copyrighted by the Free Software Foundation, write to the Free
|
||||
Software Foundation; we sometimes make exceptions for this. Our
|
||||
decision will be guided by the two goals of preserving the free status
|
||||
of all derivatives of our free software and of promoting the sharing
|
||||
and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
|
||||
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
|
||||
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
|
||||
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
|
||||
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
|
||||
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
|
||||
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
|
||||
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
|
||||
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
|
||||
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
|
||||
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
|
||||
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
|
||||
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
|
||||
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
|
||||
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
||||
DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Libraries
|
||||
|
||||
If you develop a new library, and you want it to be of the greatest
|
||||
possible use to the public, we recommend making it free software that
|
||||
everyone can redistribute and change. You can do so by permitting
|
||||
redistribution under these terms (or, alternatively, under the terms of the
|
||||
ordinary General Public License).
|
||||
|
||||
To apply these terms, attach the following notices to the library. It is
|
||||
safest to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least the
|
||||
"copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the library's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2.1 of the License, or (at your option) any later version.
|
||||
|
||||
This library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the library, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the
|
||||
library `Frob' (a library for tweaking knobs) written by James Random Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1990
|
||||
Ty Coon, President of Vice
|
||||
|
||||
That's all there is to it!
|
||||
|
||||
|
@@ -1,69 +0,0 @@
|
||||
* update to libtool 1.3.3
|
||||
|
||||
0.1.3 -> 0.2.0
|
||||
|
||||
* added snd_pcm_loopback_block_mode to PCM loopback interface
|
||||
* fixups in header files (according to documentation)
|
||||
* version is now compatible with driver
|
||||
|
||||
0.1.2 -> 0.1.3
|
||||
|
||||
* added PCM loopback interface
|
||||
|
||||
0.1.1 -> 0.1.2
|
||||
|
||||
* bug fixes in open() functions
|
||||
|
||||
0.1.0 -> 0.1.1
|
||||
|
||||
* added more switch functions to control interface
|
||||
|
||||
0.0.9 -> 0.1.0
|
||||
|
||||
* renamed soundlib.h to asoundlib.h
|
||||
* renamed libraries from libsound to libasound
|
||||
* big API changes
|
||||
- added switches interfaces
|
||||
* added RawMIDI API
|
||||
|
||||
0.0.8 -> 0.0.9
|
||||
|
||||
* Makefile and configure.in changes
|
||||
- added check for alsa driver package
|
||||
- added spec file for RPM
|
||||
|
||||
0.0.7 -> 0.0.8
|
||||
|
||||
* added LGPL notice to all source and header files
|
||||
|
||||
0.0.6 -> 0.0.7
|
||||
|
||||
* added snd_cards_name function
|
||||
|
||||
0.0.5 -> 0.0.6
|
||||
|
||||
* fixed SND_PCM_OPEN constants
|
||||
|
||||
0.0.4 -> 0.0.5
|
||||
|
||||
* added snd_cards_mask function
|
||||
* added info functions for pcm playback/record in control interface
|
||||
* fixed Makefile bugs for shared library (added -fPIC)
|
||||
|
||||
0.0.3 -> 0.0.4
|
||||
|
||||
* changed COPYING policy from GPL to LGPL
|
||||
* fixed bug in snd_mixer_channel_read & write
|
||||
* added mixer exact support
|
||||
* added pcm time mode support
|
||||
* 'make install' is now possible
|
||||
|
||||
0.0.2 -> 0.0.3
|
||||
|
||||
* corrected documentation
|
||||
|
||||
0.0.1 -> 0.0.2
|
||||
|
||||
* added file COPYING
|
||||
* added documentation in sgml + plan.txt
|
||||
* minor changes in API for MIXER & PCM
|
@@ -1,122 +0,0 @@
|
||||
|
||||
ALSA library installation
|
||||
=========================
|
||||
|
||||
Installation from tarball
|
||||
-------------------------
|
||||
|
||||
For installation you can use these commands:
|
||||
|
||||
./configure
|
||||
make install
|
||||
|
||||
|
||||
Compilation from HG sources
|
||||
---------------------------
|
||||
|
||||
You need also GNU packages automake and libtool installed in your system
|
||||
to compile HG (Mercurial) sources of alsa-lib package.
|
||||
|
||||
For compilation you can use these commands:
|
||||
|
||||
libtoolize --force --copy --automake
|
||||
aclocal
|
||||
autoheader
|
||||
automake --foreign --copy --add-missing
|
||||
autoconf
|
||||
./configure
|
||||
make
|
||||
|
||||
The included hgcompile script does this job for you.
|
||||
|
||||
Note: Some automake packages have missing aclocal program. Use newer version
|
||||
in the case.
|
||||
|
||||
|
||||
Compilation of static library
|
||||
-----------------------------
|
||||
|
||||
If you would like to use the static ALSA library, you need to use these
|
||||
options for the configure script:
|
||||
|
||||
./configure --enable-shared=no --enable-static=yes
|
||||
|
||||
Unfortunately, due to bug in the libtool script, the shared and static
|
||||
library cannot be built together.
|
||||
|
||||
|
||||
Partial Builds
|
||||
--------------
|
||||
|
||||
You can choose the core components to build via --enable-* or --disable-*
|
||||
configure option for reducing the size of libasound. The selectable
|
||||
components are: pcm, mixer, rawmidi, hwdep, seq and instr.
|
||||
For example, --disable-rawmidi will prevent to build the stuff related
|
||||
with raw MIDI. As default, all components are enabled.
|
||||
|
||||
The PCM plugins to build can be selected via --with-pcm-plugins
|
||||
configure option. Multiple plugins can be passed by separation with
|
||||
comma. For example, to select _only_ rate and linear plugins (and
|
||||
disable other plugins), pass
|
||||
--with-pcm-plugins=rate,linear
|
||||
Note that "hw" plugin is always enabled.
|
||||
Passing "all" will select all available plugins (which is the default
|
||||
behavior).
|
||||
|
||||
When you select "plug" plugin, copy and linear plugins will be
|
||||
automatically selected, too. That is, the linear-format and
|
||||
access-type conversions are always available with plug layer.
|
||||
The other conversions of plug (channel shrink/expansion, rate,
|
||||
non-linear and float conversions) are enabled when the corresponding
|
||||
plugin is selected, too.
|
||||
|
||||
|
||||
Configuration for cross-compilation
|
||||
-----------------------------------
|
||||
|
||||
When you would like to cross-compile ALSA library (e.g. compile on
|
||||
i686 host but for arm architecture) you will need to call ./configure
|
||||
script with additional parameters:
|
||||
|
||||
CC=arm-linux-gcc ./configure --target=arm-linux
|
||||
|
||||
In this example host where the library is build is guessed (should be
|
||||
given with --host=platform) and target for which is the library build is
|
||||
Linux on ARM architecture. You should omit setting 'CC' variable and
|
||||
cross-compiler will be guessed too.
|
||||
|
||||
So simplest version would be:
|
||||
|
||||
./configure --target=arm-linux
|
||||
|
||||
For platform names in the form cpu-vendor-os (or aliases for this)
|
||||
you should look in 'config.guess' script. Target and all paths
|
||||
used here are only examples and should not be directly applicable to
|
||||
your system.
|
||||
|
||||
Configuration for machines without FPU
|
||||
--------------------------------------
|
||||
|
||||
If your machine does not have FP unit, you should use '--with-softfloat'
|
||||
option. This option disables usage of float numbers in PCM route plugin.
|
||||
ALSA could then leave much more CPU cycles for your applications, but you
|
||||
could still need some floating point emulator.
|
||||
|
||||
Jack plugin
|
||||
-----------
|
||||
|
||||
JACK plugin is moved to alsa-plugins package.
|
||||
|
||||
Trouble Shooting
|
||||
----------------
|
||||
|
||||
* Install path on Fedora Core 3
|
||||
|
||||
FC3 installs its system ALSA library to /lib instead of /usr/lib.
|
||||
Specify --libdir=/lib to configure to overwrite it with the new library,
|
||||
or run like
|
||||
|
||||
# ln -sf /usr/lib/libasound.so.2.0.0 /lib/libasound.so.2.0.0
|
||||
|
||||
to make symlink to the new path.
|
||||
Note that /lib might be /lib64 on 64bit architecture.
|
@@ -1,13 +0,0 @@
|
||||
|
||||
|
||||
Memory leaks - really?
|
||||
----------------------
|
||||
|
||||
Note that some developers are thinking that the ALSA library has some memory
|
||||
leaks. Sure, it can be truth, but before contacting us, please, be sure that
|
||||
these leaks are not forced.
|
||||
|
||||
The biggest reported leak is that the global configuration is cached for
|
||||
next usage. If you do not want this feature, simply, call
|
||||
snd_config_update_free_global() after all snd_*_open*() calls. This function
|
||||
will free the cache.
|
@@ -1,37 +0,0 @@
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
|
||||
SUBDIRS=doc include src
|
||||
if BUILD_MODULES
|
||||
SUBDIRS += modules
|
||||
endif
|
||||
if BUILD_PCM_PLUGIN_SHM
|
||||
SUBDIRS += aserver
|
||||
endif
|
||||
if BUILD_MIXER
|
||||
if BUILD_ALISP
|
||||
SUBDIRS += alsalisp
|
||||
endif
|
||||
endif
|
||||
SUBDIRS += test utils
|
||||
EXTRA_DIST=ChangeLog INSTALL TODO NOTES configure gitcompile libtool \
|
||||
depcomp version MEMORY-LEAK m4/attributes.m4
|
||||
AUTOMAKE_OPTIONS=foreign
|
||||
|
||||
INCLUDES=-I$(top_srcdir)/include
|
||||
|
||||
rpm: dist
|
||||
$(MAKE) -C utils rpm
|
||||
|
||||
dist-hook:
|
||||
-chmod -R a+r $(distdir)
|
||||
@if ! test -z "$(AMTAR)"; then \
|
||||
$(AMTAR) --create --verbose --file=- $(distdir) | bzip2 -c -9 > $(distdir).tar.bz2 ; \
|
||||
else \
|
||||
$(TAR) --create --verbose --file=- $(distdir) | bzip2 -c -9 > $(distdir).tar.bz2 ; \
|
||||
fi
|
||||
|
||||
doc-dummy:
|
||||
|
||||
doc: doc-dummy
|
||||
$(MAKE) -C include all
|
||||
$(MAKE) -C doc doc
|
@@ -1,741 +0,0 @@
|
||||
# Makefile.in generated by automake 1.11.1 from Makefile.am.
|
||||
# @configure_input@
|
||||
|
||||
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
||||
# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
|
||||
# Inc.
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
VPATH = @srcdir@
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkglibexecdir = $(libexecdir)/@PACKAGE@
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
install_sh_DATA = $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = $(install_sh) -c
|
||||
install_sh_SCRIPT = $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = $(program_transform_name)
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
build_triplet = @build@
|
||||
host_triplet = @host@
|
||||
@BUILD_MODULES_TRUE@am__append_1 = modules
|
||||
@BUILD_PCM_PLUGIN_SHM_TRUE@am__append_2 = aserver
|
||||
@BUILD_ALISP_TRUE@@BUILD_MIXER_TRUE@am__append_3 = alsalisp
|
||||
subdir = .
|
||||
DIST_COMMON = $(am__configure_deps) $(srcdir)/Makefile.am \
|
||||
$(srcdir)/Makefile.in $(top_srcdir)/configure COPYING \
|
||||
ChangeLog INSTALL TODO config.guess config.sub depcomp \
|
||||
install-sh ltconfig ltmain.sh missing
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
|
||||
$(top_srcdir)/configure.in
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
|
||||
configure.lineno config.status.lineno
|
||||
mkinstalldirs = $(install_sh) -d
|
||||
CONFIG_HEADER = $(top_builddir)/include/config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
CONFIG_CLEAN_VPATH_FILES =
|
||||
AM_V_GEN = $(am__v_GEN_$(V))
|
||||
am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
|
||||
am__v_GEN_0 = @echo " GEN " $@;
|
||||
AM_V_at = $(am__v_at_$(V))
|
||||
am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
|
||||
am__v_at_0 = @
|
||||
SOURCES =
|
||||
DIST_SOURCES =
|
||||
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
|
||||
html-recursive info-recursive install-data-recursive \
|
||||
install-dvi-recursive install-exec-recursive \
|
||||
install-html-recursive install-info-recursive \
|
||||
install-pdf-recursive install-ps-recursive install-recursive \
|
||||
installcheck-recursive installdirs-recursive pdf-recursive \
|
||||
ps-recursive uninstall-recursive
|
||||
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
|
||||
distclean-recursive maintainer-clean-recursive
|
||||
AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
|
||||
$(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
|
||||
distdir dist dist-all distcheck
|
||||
ETAGS = etags
|
||||
CTAGS = ctags
|
||||
DIST_SUBDIRS = doc include src modules aserver alsalisp test utils
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
distdir = $(PACKAGE)-$(VERSION)
|
||||
top_distdir = $(distdir)
|
||||
am__remove_distdir = \
|
||||
{ test ! -d "$(distdir)" \
|
||||
|| { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
|
||||
&& rm -fr "$(distdir)"; }; }
|
||||
am__relativize = \
|
||||
dir0=`pwd`; \
|
||||
sed_first='s,^\([^/]*\)/.*$$,\1,'; \
|
||||
sed_rest='s,^[^/]*/*,,'; \
|
||||
sed_last='s,^.*/\([^/]*\)$$,\1,'; \
|
||||
sed_butlast='s,/*[^/]*$$,,'; \
|
||||
while test -n "$$dir1"; do \
|
||||
first=`echo "$$dir1" | sed -e "$$sed_first"`; \
|
||||
if test "$$first" != "."; then \
|
||||
if test "$$first" = ".."; then \
|
||||
dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
|
||||
dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
|
||||
else \
|
||||
first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
|
||||
if test "$$first2" = "$$first"; then \
|
||||
dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
|
||||
else \
|
||||
dir2="../$$dir2"; \
|
||||
fi; \
|
||||
dir0="$$dir0"/"$$first"; \
|
||||
fi; \
|
||||
fi; \
|
||||
dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
|
||||
done; \
|
||||
reldir="$$dir2"
|
||||
DIST_ARCHIVES = $(distdir).tar.gz
|
||||
GZIP_ENV = --best
|
||||
distuninstallcheck_listfiles = find . -type f -print
|
||||
distcleancheck_listfiles = find . -type f -print
|
||||
ACLOCAL = @ACLOCAL@
|
||||
ALSA_CONFIG_DIR = @ALSA_CONFIG_DIR@
|
||||
ALSA_DEPLIBS = @ALSA_DEPLIBS@
|
||||
ALSA_PLUGIN_DIR = @ALSA_PLUGIN_DIR@
|
||||
AMTAR = @AMTAR@
|
||||
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
|
||||
AR = @AR@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AWK = @AWK@
|
||||
CC = @CC@
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
CFLAGS = @CFLAGS@
|
||||
CPP = @CPP@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CXX = @CXX@
|
||||
CXXCPP = @CXXCPP@
|
||||
CXXDEPMODE = @CXXDEPMODE@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
ECHO = @ECHO@
|
||||
ECHO_C = @ECHO_C@
|
||||
ECHO_N = @ECHO_N@
|
||||
ECHO_T = @ECHO_T@
|
||||
EGREP = @EGREP@
|
||||
EXEEXT = @EXEEXT@
|
||||
F77 = @F77@
|
||||
FFLAGS = @FFLAGS@
|
||||
GREP = @GREP@
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
LIBTOOL_VERSION_INFO = @LIBTOOL_VERSION_INFO@
|
||||
LN_S = @LN_S@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
OBJEXT = @OBJEXT@
|
||||
PACKAGE = @PACKAGE@
|
||||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||
PACKAGE_NAME = @PACKAGE_NAME@
|
||||
PACKAGE_STRING = @PACKAGE_STRING@
|
||||
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||
PACKAGE_URL = @PACKAGE_URL@
|
||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||
PYTHON_INCLUDES = @PYTHON_INCLUDES@
|
||||
PYTHON_LIBS = @PYTHON_LIBS@
|
||||
RANLIB = @RANLIB@
|
||||
SET_MAKE = @SET_MAKE@
|
||||
SHELL = @SHELL@
|
||||
SND_LIB_EXTRAVER = @SND_LIB_EXTRAVER@
|
||||
SND_LIB_MAJOR = @SND_LIB_MAJOR@
|
||||
SND_LIB_MINOR = @SND_LIB_MINOR@
|
||||
SND_LIB_SUBMINOR = @SND_LIB_SUBMINOR@
|
||||
SND_LIB_VERSION = @SND_LIB_VERSION@
|
||||
STRIP = @STRIP@
|
||||
SYMBOL_PREFIX = @SYMBOL_PREFIX@
|
||||
VERSION = @VERSION@
|
||||
abs_builddir = @abs_builddir@
|
||||
abs_srcdir = @abs_srcdir@
|
||||
abs_top_builddir = @abs_top_builddir@
|
||||
abs_top_srcdir = @abs_top_srcdir@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
ac_ct_CXX = @ac_ct_CXX@
|
||||
ac_ct_F77 = @ac_ct_F77@
|
||||
am__include = @am__include@
|
||||
am__leading_dot = @am__leading_dot@
|
||||
am__quote = @am__quote@
|
||||
am__tar = @am__tar@
|
||||
am__untar = @am__untar@
|
||||
bindir = @bindir@
|
||||
build = @build@
|
||||
build_alias = @build_alias@
|
||||
build_cpu = @build_cpu@
|
||||
build_os = @build_os@
|
||||
build_vendor = @build_vendor@
|
||||
builddir = @builddir@
|
||||
datadir = @datadir@
|
||||
datarootdir = @datarootdir@
|
||||
docdir = @docdir@
|
||||
dvidir = @dvidir@
|
||||
exec_prefix = @exec_prefix@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
host_os = @host_os@
|
||||
host_vendor = @host_vendor@
|
||||
htmldir = @htmldir@
|
||||
includedir = @includedir@
|
||||
infodir = @infodir@
|
||||
install_sh = @install_sh@
|
||||
libdir = @libdir@
|
||||
libexecdir = @libexecdir@
|
||||
localedir = @localedir@
|
||||
localstatedir = @localstatedir@
|
||||
mandir = @mandir@
|
||||
mkdir_p = @mkdir_p@
|
||||
oldincludedir = @oldincludedir@
|
||||
pdfdir = @pdfdir@
|
||||
prefix = @prefix@
|
||||
program_transform_name = @program_transform_name@
|
||||
psdir = @psdir@
|
||||
sbindir = @sbindir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
srcdir = @srcdir@
|
||||
sysconfdir = @sysconfdir@
|
||||
target_alias = @target_alias@
|
||||
top_build_prefix = @top_build_prefix@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
SUBDIRS = doc include src $(am__append_1) $(am__append_2) \
|
||||
$(am__append_3) test utils
|
||||
EXTRA_DIST = ChangeLog INSTALL TODO NOTES configure gitcompile libtool \
|
||||
depcomp version MEMORY-LEAK m4/attributes.m4
|
||||
|
||||
AUTOMAKE_OPTIONS = foreign
|
||||
INCLUDES = -I$(top_srcdir)/include
|
||||
all: all-recursive
|
||||
|
||||
.SUFFIXES:
|
||||
am--refresh:
|
||||
@:
|
||||
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
||||
@for dep in $?; do \
|
||||
case '$(am__configure_deps)' in \
|
||||
*$$dep*) \
|
||||
echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
|
||||
$(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
|
||||
&& exit 0; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
|
||||
$(am__cd) $(top_srcdir) && \
|
||||
$(AUTOMAKE) --foreign Makefile
|
||||
.PRECIOUS: Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
echo ' $(SHELL) ./config.status'; \
|
||||
$(SHELL) ./config.status;; \
|
||||
*) \
|
||||
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
|
||||
esac;
|
||||
|
||||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||
$(SHELL) ./config.status --recheck
|
||||
|
||||
$(top_srcdir)/configure: $(am__configure_deps)
|
||||
$(am__cd) $(srcdir) && $(AUTOCONF)
|
||||
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
||||
$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
|
||||
$(am__aclocal_m4_deps):
|
||||
|
||||
mostlyclean-libtool:
|
||||
-rm -f *.lo
|
||||
|
||||
clean-libtool:
|
||||
-rm -rf .libs _libs
|
||||
|
||||
distclean-libtool:
|
||||
-rm -f libtool config.lt
|
||||
|
||||
# This directory's subdirectories are mostly independent; you can cd
|
||||
# into them and run `make' without going through this Makefile.
|
||||
# To change the values of `make' variables: instead of editing Makefiles,
|
||||
# (1) if the variable is set in `config.status', edit `config.status'
|
||||
# (which will cause the Makefiles to be regenerated when you run `make');
|
||||
# (2) otherwise, pass the desired values on the `make' command line.
|
||||
$(RECURSIVE_TARGETS):
|
||||
@fail= failcom='exit 1'; \
|
||||
for f in x $$MAKEFLAGS; do \
|
||||
case $$f in \
|
||||
*=* | --[!k]*);; \
|
||||
*k*) failcom='fail=yes';; \
|
||||
esac; \
|
||||
done; \
|
||||
dot_seen=no; \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
echo "Making $$target in $$subdir"; \
|
||||
if test "$$subdir" = "."; then \
|
||||
dot_seen=yes; \
|
||||
local_target="$$target-am"; \
|
||||
else \
|
||||
local_target="$$target"; \
|
||||
fi; \
|
||||
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||
|| eval $$failcom; \
|
||||
done; \
|
||||
if test "$$dot_seen" = "no"; then \
|
||||
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
||||
fi; test -z "$$fail"
|
||||
|
||||
$(RECURSIVE_CLEAN_TARGETS):
|
||||
@fail= failcom='exit 1'; \
|
||||
for f in x $$MAKEFLAGS; do \
|
||||
case $$f in \
|
||||
*=* | --[!k]*);; \
|
||||
*k*) failcom='fail=yes';; \
|
||||
esac; \
|
||||
done; \
|
||||
dot_seen=no; \
|
||||
case "$@" in \
|
||||
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
|
||||
*) list='$(SUBDIRS)' ;; \
|
||||
esac; \
|
||||
rev=''; for subdir in $$list; do \
|
||||
if test "$$subdir" = "."; then :; else \
|
||||
rev="$$subdir $$rev"; \
|
||||
fi; \
|
||||
done; \
|
||||
rev="$$rev ."; \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
for subdir in $$rev; do \
|
||||
echo "Making $$target in $$subdir"; \
|
||||
if test "$$subdir" = "."; then \
|
||||
local_target="$$target-am"; \
|
||||
else \
|
||||
local_target="$$target"; \
|
||||
fi; \
|
||||
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||
|| eval $$failcom; \
|
||||
done && test -z "$$fail"
|
||||
tags-recursive:
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
||||
done
|
||||
ctags-recursive:
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
|
||||
done
|
||||
|
||||
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
mkid -fID $$unique
|
||||
tags: TAGS
|
||||
|
||||
TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
set x; \
|
||||
here=`pwd`; \
|
||||
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
|
||||
include_option=--etags-include; \
|
||||
empty_fix=.; \
|
||||
else \
|
||||
include_option=--include; \
|
||||
empty_fix=; \
|
||||
fi; \
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
test ! -f $$subdir/TAGS || \
|
||||
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
|
||||
fi; \
|
||||
done; \
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
shift; \
|
||||
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
|
||||
test -n "$$unique" || unique=$$empty_fix; \
|
||||
if test $$# -gt 0; then \
|
||||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
"$$@" $$unique; \
|
||||
else \
|
||||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
$$unique; \
|
||||
fi; \
|
||||
fi
|
||||
ctags: CTAGS
|
||||
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
test -z "$(CTAGS_ARGS)$$unique" \
|
||||
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
||||
$$unique
|
||||
|
||||
GTAGS:
|
||||
here=`$(am__cd) $(top_builddir) && pwd` \
|
||||
&& $(am__cd) $(top_srcdir) \
|
||||
&& gtags -i $(GTAGS_ARGS) "$$here"
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
$(am__remove_distdir)
|
||||
test -d "$(distdir)" || mkdir "$(distdir)"
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
list='$(DISTFILES)'; \
|
||||
dist_files=`for file in $$list; do echo $$file; done | \
|
||||
sed -e "s|^$$srcdirstrip/||;t" \
|
||||
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
||||
case $$dist_files in \
|
||||
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
||||
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
||||
sort -u` ;; \
|
||||
esac; \
|
||||
for file in $$dist_files; do \
|
||||
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test -d "$(distdir)/$$file"; then \
|
||||
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||
fi; \
|
||||
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
|
||||
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||
fi; \
|
||||
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
|
||||
else \
|
||||
test -f "$(distdir)/$$file" \
|
||||
|| cp -p $$d/$$file "$(distdir)/$$file" \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
test -d "$(distdir)/$$subdir" \
|
||||
|| $(MKDIR_P) "$(distdir)/$$subdir" \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
|
||||
$(am__relativize); \
|
||||
new_distdir=$$reldir; \
|
||||
dir1=$$subdir; dir2="$(top_distdir)"; \
|
||||
$(am__relativize); \
|
||||
new_top_distdir=$$reldir; \
|
||||
echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
|
||||
echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
|
||||
($(am__cd) $$subdir && \
|
||||
$(MAKE) $(AM_MAKEFLAGS) \
|
||||
top_distdir="$$new_top_distdir" \
|
||||
distdir="$$new_distdir" \
|
||||
am__remove_distdir=: \
|
||||
am__skip_length_check=: \
|
||||
am__skip_mode_fix=: \
|
||||
distdir) \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
$(MAKE) $(AM_MAKEFLAGS) \
|
||||
top_distdir="$(top_distdir)" distdir="$(distdir)" \
|
||||
dist-hook
|
||||
-test -n "$(am__skip_mode_fix)" \
|
||||
|| find "$(distdir)" -type d ! -perm -755 \
|
||||
-exec chmod u+rwx,go+rx {} \; -o \
|
||||
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
|
||||
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
|
||||
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
|
||||
|| chmod -R a+r "$(distdir)"
|
||||
dist-gzip: distdir
|
||||
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
||||
$(am__remove_distdir)
|
||||
|
||||
dist-bzip2: distdir
|
||||
tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
|
||||
$(am__remove_distdir)
|
||||
|
||||
dist-lzma: distdir
|
||||
tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
|
||||
$(am__remove_distdir)
|
||||
|
||||
dist-xz: distdir
|
||||
tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
|
||||
$(am__remove_distdir)
|
||||
|
||||
dist-tarZ: distdir
|
||||
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
|
||||
$(am__remove_distdir)
|
||||
|
||||
dist-shar: distdir
|
||||
shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
|
||||
$(am__remove_distdir)
|
||||
|
||||
dist-zip: distdir
|
||||
-rm -f $(distdir).zip
|
||||
zip -rq $(distdir).zip $(distdir)
|
||||
$(am__remove_distdir)
|
||||
|
||||
dist dist-all: distdir
|
||||
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
||||
$(am__remove_distdir)
|
||||
|
||||
# This target untars the dist file and tries a VPATH configuration. Then
|
||||
# it guarantees that the distribution is self-contained by making another
|
||||
# tarfile.
|
||||
distcheck: dist
|
||||
case '$(DIST_ARCHIVES)' in \
|
||||
*.tar.gz*) \
|
||||
GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
|
||||
*.tar.bz2*) \
|
||||
bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
|
||||
*.tar.lzma*) \
|
||||
lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
|
||||
*.tar.xz*) \
|
||||
xz -dc $(distdir).tar.xz | $(am__untar) ;;\
|
||||
*.tar.Z*) \
|
||||
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
|
||||
*.shar.gz*) \
|
||||
GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
|
||||
*.zip*) \
|
||||
unzip $(distdir).zip ;;\
|
||||
esac
|
||||
chmod -R a-w $(distdir); chmod a+w $(distdir)
|
||||
mkdir $(distdir)/_build
|
||||
mkdir $(distdir)/_inst
|
||||
chmod a-w $(distdir)
|
||||
test -d $(distdir)/_build || exit 0; \
|
||||
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
|
||||
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
|
||||
&& am__cwd=`pwd` \
|
||||
&& $(am__cd) $(distdir)/_build \
|
||||
&& ../configure --srcdir=.. --prefix="$$dc_install_base" \
|
||||
$(DISTCHECK_CONFIGURE_FLAGS) \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
|
||||
distuninstallcheck \
|
||||
&& chmod -R a-w "$$dc_install_base" \
|
||||
&& ({ \
|
||||
(cd ../.. && umask 077 && mkdir "$$dc_destdir") \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
|
||||
distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
|
||||
} || { rm -rf "$$dc_destdir"; exit 1; }) \
|
||||
&& rm -rf "$$dc_destdir" \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) dist \
|
||||
&& rm -rf $(DIST_ARCHIVES) \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
|
||||
&& cd "$$am__cwd" \
|
||||
|| exit 1
|
||||
$(am__remove_distdir)
|
||||
@(echo "$(distdir) archives ready for distribution: "; \
|
||||
list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
|
||||
sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
|
||||
distuninstallcheck:
|
||||
@$(am__cd) '$(distuninstallcheck_dir)' \
|
||||
&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
|
||||
|| { echo "ERROR: files left after uninstall:" ; \
|
||||
if test -n "$(DESTDIR)"; then \
|
||||
echo " (check DESTDIR support)"; \
|
||||
fi ; \
|
||||
$(distuninstallcheck_listfiles) ; \
|
||||
exit 1; } >&2
|
||||
distcleancheck: distclean
|
||||
@if test '$(srcdir)' = . ; then \
|
||||
echo "ERROR: distcleancheck can only run from a VPATH build" ; \
|
||||
exit 1 ; \
|
||||
fi
|
||||
@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
|
||||
|| { echo "ERROR: files left in build directory after distclean:" ; \
|
||||
$(distcleancheck_listfiles) ; \
|
||||
exit 1; } >&2
|
||||
check-am: all-am
|
||||
check: check-recursive
|
||||
all-am: Makefile
|
||||
installdirs: installdirs-recursive
|
||||
installdirs-am:
|
||||
install: install-recursive
|
||||
install-exec: install-exec-recursive
|
||||
install-data: install-data-recursive
|
||||
uninstall: uninstall-recursive
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-recursive
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
clean: clean-recursive
|
||||
|
||||
clean-am: clean-generic clean-libtool mostlyclean-am
|
||||
|
||||
distclean: distclean-recursive
|
||||
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
||||
-rm -f Makefile
|
||||
distclean-am: clean-am distclean-generic distclean-libtool \
|
||||
distclean-tags
|
||||
|
||||
dvi: dvi-recursive
|
||||
|
||||
dvi-am:
|
||||
|
||||
html: html-recursive
|
||||
|
||||
html-am:
|
||||
|
||||
info: info-recursive
|
||||
|
||||
info-am:
|
||||
|
||||
install-data-am:
|
||||
|
||||
install-dvi: install-dvi-recursive
|
||||
|
||||
install-dvi-am:
|
||||
|
||||
install-exec-am:
|
||||
|
||||
install-html: install-html-recursive
|
||||
|
||||
install-html-am:
|
||||
|
||||
install-info: install-info-recursive
|
||||
|
||||
install-info-am:
|
||||
|
||||
install-man:
|
||||
|
||||
install-pdf: install-pdf-recursive
|
||||
|
||||
install-pdf-am:
|
||||
|
||||
install-ps: install-ps-recursive
|
||||
|
||||
install-ps-am:
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-recursive
|
||||
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
||||
-rm -rf $(top_srcdir)/autom4te.cache
|
||||
-rm -f Makefile
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||
|
||||
mostlyclean: mostlyclean-recursive
|
||||
|
||||
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
|
||||
|
||||
pdf: pdf-recursive
|
||||
|
||||
pdf-am:
|
||||
|
||||
ps: ps-recursive
|
||||
|
||||
ps-am:
|
||||
|
||||
uninstall-am:
|
||||
|
||||
.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
|
||||
install-am install-strip tags-recursive
|
||||
|
||||
.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
|
||||
all all-am am--refresh check check-am clean clean-generic \
|
||||
clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
|
||||
dist-gzip dist-hook dist-lzma dist-shar dist-tarZ dist-xz \
|
||||
dist-zip distcheck distclean distclean-generic \
|
||||
distclean-libtool distclean-tags distcleancheck distdir \
|
||||
distuninstallcheck dvi dvi-am html html-am info info-am \
|
||||
install install-am install-data install-data-am install-dvi \
|
||||
install-dvi-am install-exec install-exec-am install-html \
|
||||
install-html-am install-info install-info-am install-man \
|
||||
install-pdf install-pdf-am install-ps install-ps-am \
|
||||
install-strip installcheck installcheck-am installdirs \
|
||||
installdirs-am maintainer-clean maintainer-clean-generic \
|
||||
mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
|
||||
ps ps-am tags tags-recursive uninstall uninstall-am
|
||||
|
||||
|
||||
rpm: dist
|
||||
$(MAKE) -C utils rpm
|
||||
|
||||
dist-hook:
|
||||
-chmod -R a+r $(distdir)
|
||||
@if ! test -z "$(AMTAR)"; then \
|
||||
$(AMTAR) --create --verbose --file=- $(distdir) | bzip2 -c -9 > $(distdir).tar.bz2 ; \
|
||||
else \
|
||||
$(TAR) --create --verbose --file=- $(distdir) | bzip2 -c -9 > $(distdir).tar.bz2 ; \
|
||||
fi
|
||||
|
||||
doc-dummy:
|
||||
|
||||
doc: doc-dummy
|
||||
$(MAKE) -C include all
|
||||
$(MAKE) -C doc doc
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
@@ -1,56 +0,0 @@
|
||||
Old versus new PCM API (values returned using indirect pointers)
|
||||
================================================================
|
||||
|
||||
From the binary compatibility view, there is no change. For compilation,
|
||||
1.0 ALSA applications do not need any change. The older applications must
|
||||
use this include sequence:
|
||||
|
||||
#define ALSA_PCM_OLD_HW_PARAMS_API
|
||||
#define ALSA_PCM_OLD_SW_PARAMS_API
|
||||
#include <alsa/asoundlib.h>
|
||||
|
||||
If you use already the new API, you may remove old defines selecting
|
||||
this API, because they are no longer used:
|
||||
|
||||
#define ALSA_PCM_NEW_HW_PARAMS_API
|
||||
#define ALSA_PCM_NEW_SW_PARAMS_API
|
||||
|
||||
|
||||
Verbose Error Messages
|
||||
======================
|
||||
|
||||
Since version 1.0.8, assert() for some non-fatal errors are removed
|
||||
and error messages are no longer shown to stderr as default. Instead,
|
||||
the error messages appear only when the environment variable
|
||||
LIBASOUND_DEBUG is set (to a non-empty value).
|
||||
|
||||
When LIBASOUND_DEBUG=1 is set, the errors in hw_params configuration
|
||||
will be dumped to stderr. Note that this will show even the non-fatal
|
||||
errors of plug layer (trial-and-error of parameters).
|
||||
|
||||
This feature is disabled when --with-debug=no is passed to configure,
|
||||
i.e. no strict checking is done in alsa-lib.
|
||||
|
||||
In addition, when --enable-debug-assert configure option is given and
|
||||
when LIBASOUND_DEBUG_ASSERT=1 is set, the default error message
|
||||
handler can call assert() to catch with a debugger. This feature was
|
||||
formerly activated via LIBASOUND_DEBUG=2.
|
||||
|
||||
|
||||
Blocking Open Mode
|
||||
==================
|
||||
|
||||
The default behavior of blocking at snd_pcm_open is changed to
|
||||
non-blocking since version 1.0.11. That is, snd_pcm_open() returns
|
||||
-EAGAIN immediately when the device is in use and cannot be opened,
|
||||
while the function was blocked in the former version. This influences
|
||||
only on the opening behavior. The behavior of the further access,
|
||||
read/write, poll or commit, are not changed. They follow the extra
|
||||
flag argument of snd_pcm_open() as well as the former version.
|
||||
|
||||
For taking back the compatible behavior of open blocking mode, set
|
||||
|
||||
defaults.pcm.nonblock 0
|
||||
|
||||
in /etc/asound.conf or ~/.asoundrc file.
|
||||
|
@@ -1,31 +0,0 @@
|
||||
# This version of the ALSA library was obtained from the following location:
|
||||
# ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.0.23.tar.bz2
|
||||
|
||||
# This package was (in 1.0.16) configured with the following options:
|
||||
|
||||
./configure \
|
||||
--disable-debug \
|
||||
--disable-resmgr \
|
||||
--enable-aload \
|
||||
--enable-mixer \
|
||||
--enable-pcm \
|
||||
--disable-rawmidi \
|
||||
--enable-hwdep \
|
||||
--disable-seq \
|
||||
--disable-alisp \
|
||||
--disable-old-symbols \
|
||||
--disable-python \
|
||||
--with-confdir=/system/usr/share/alsa \
|
||||
--with-plugindir=/system/usr/lib/alsa-lib \
|
||||
--with-versioned=no \
|
||||
--with-debug=no \
|
||||
--with-tmpdir=/tmp \
|
||||
--with-softfloat=yes \
|
||||
--with-libdl=yes \
|
||||
--with-pthread=yes \
|
||||
--with-librt=no \
|
||||
--with-alsa-devdir=/dev/snd \
|
||||
--with-aload-devdir=/dev \
|
||||
--with-pcm-plugins="plug null empty hooks asym extplug ioplug" \
|
||||
--with-ctl-plugins="ext"
|
||||
|
@@ -1,4 +0,0 @@
|
||||
H add serious PCM test application to test various period/buffer size
|
||||
combinations to determine possible problems in the lowlevel drivers
|
||||
M think about xrun recovery helpers
|
||||
L move OSS emulation to user space? (pseudo device driver and daemon)
|
@@ -1,24 +0,0 @@
|
||||
AC_DEFUN([SAVE_LIBRARY_VERSION], [
|
||||
AC_MSG_CHECKING(for library version)
|
||||
SND_LIB_VERSION=$VERSION
|
||||
echo $VERSION > $srcdir/version
|
||||
AC_DEFINE_UNQUOTED(VERSION, "$SND_LIB_VERSION", [sound library version string])
|
||||
AC_SUBST(SND_LIB_VERSION)
|
||||
SND_LIB_MAJOR=`echo $VERSION | cut -d . -f 1`
|
||||
AC_SUBST(SND_LIB_MAJOR)
|
||||
SND_LIB_MINOR=`echo $VERSION | cut -d . -f 2`
|
||||
AC_SUBST(SND_LIB_MINOR)
|
||||
SND_LIB_SUBMINOR=`echo $VERSION | cut -d . -f 3 | sed -e 's/^\([[^[:alpha:]]]*\)\(.*\)$/\1/g'`
|
||||
AC_SUBST(SND_LIB_SUBMINOR)
|
||||
SND_LIB_EXTRASTR=`echo $VERSION | cut -d . -f 3 | sed -e 's/^\([[^[:alpha:]]]*\)\([[[:alpha:]]]*\)\([[[:digit:]]]*\)\(.*\)$/\2/g'`
|
||||
SND_LIB_EXTRAVER=`echo $VERSION | cut -d . -f 3 | sed -e 's/^\([[^[:alpha:]]]*\)\([[[:alpha:]]]*\)\([[[:digit:]]]*\)\(.*\)$/\3/g'`
|
||||
case "$SND_LIB_EXTRASTR" in
|
||||
pre) SND_LIB_EXTRAVER=`expr $SND_LIB_EXTRAVER + 00000` ;;
|
||||
alpha) SND_LIB_EXTRAVER=`expr $SND_LIB_EXTRAVER + 10000` ;;
|
||||
beta) SND_LIB_EXTRAVER=`expr $SND_LIB_EXTRAVER + 20000` ;;
|
||||
rc) SND_LIB_EXTRAVER=`expr $SND_LIB_EXTRAVER + 100000` ;;
|
||||
*) SND_LIB_EXTRAVER=1000000 ;;
|
||||
esac
|
||||
AC_MSG_RESULT(major $SND_LIB_MAJOR minor $SND_LIB_MINOR subminor $SND_LIB_SUBMINOR extrastr $SND_LIB_EXTRASTR extraver $SND_LIB_EXTRAVER)
|
||||
AC_SUBST(SND_LIB_EXTRAVER)
|
||||
])
|
7368
libasound/aclocal.m4
vendored
7368
libasound/aclocal.m4
vendored
File diff suppressed because it is too large
Load Diff
@@ -1,8 +0,0 @@
|
||||
noinst_PROGRAMS = alsalisp
|
||||
|
||||
alsalisp_SOURCES = alsalisp.c
|
||||
alsalisp_LDADD = ../src/libasound.la
|
||||
|
||||
all: alsalisp
|
||||
|
||||
INCLUDES=-I$(top_srcdir)/include -I$(top_srcdir)/src/alisp
|
@@ -1,497 +0,0 @@
|
||||
# Makefile.in generated by automake 1.11.1 from Makefile.am.
|
||||
# @configure_input@
|
||||
|
||||
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
||||
# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
|
||||
# Inc.
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
VPATH = @srcdir@
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkglibexecdir = $(libexecdir)/@PACKAGE@
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
install_sh_DATA = $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = $(install_sh) -c
|
||||
install_sh_SCRIPT = $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = $(program_transform_name)
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
build_triplet = @build@
|
||||
host_triplet = @host@
|
||||
noinst_PROGRAMS = alsalisp$(EXEEXT)
|
||||
subdir = alsalisp
|
||||
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
|
||||
$(top_srcdir)/configure.in
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
mkinstalldirs = $(install_sh) -d
|
||||
CONFIG_HEADER = $(top_builddir)/include/config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
CONFIG_CLEAN_VPATH_FILES =
|
||||
PROGRAMS = $(noinst_PROGRAMS)
|
||||
am_alsalisp_OBJECTS = alsalisp.$(OBJEXT)
|
||||
alsalisp_OBJECTS = $(am_alsalisp_OBJECTS)
|
||||
alsalisp_DEPENDENCIES = ../src/libasound.la
|
||||
AM_V_lt = $(am__v_lt_$(V))
|
||||
am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
|
||||
am__v_lt_0 = --silent
|
||||
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
|
||||
depcomp = $(SHELL) $(top_srcdir)/depcomp
|
||||
am__depfiles_maybe = depfiles
|
||||
am__mv = mv -f
|
||||
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
|
||||
$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
|
||||
$(AM_CFLAGS) $(CFLAGS)
|
||||
AM_V_CC = $(am__v_CC_$(V))
|
||||
am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
|
||||
am__v_CC_0 = @echo " CC " $@;
|
||||
AM_V_at = $(am__v_at_$(V))
|
||||
am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
|
||||
am__v_at_0 = @
|
||||
CCLD = $(CC)
|
||||
LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
||||
$(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||
AM_V_CCLD = $(am__v_CCLD_$(V))
|
||||
am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
|
||||
am__v_CCLD_0 = @echo " CCLD " $@;
|
||||
AM_V_GEN = $(am__v_GEN_$(V))
|
||||
am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
|
||||
am__v_GEN_0 = @echo " GEN " $@;
|
||||
SOURCES = $(alsalisp_SOURCES)
|
||||
DIST_SOURCES = $(alsalisp_SOURCES)
|
||||
ETAGS = etags
|
||||
CTAGS = ctags
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
ACLOCAL = @ACLOCAL@
|
||||
ALSA_CONFIG_DIR = @ALSA_CONFIG_DIR@
|
||||
ALSA_DEPLIBS = @ALSA_DEPLIBS@
|
||||
ALSA_PLUGIN_DIR = @ALSA_PLUGIN_DIR@
|
||||
AMTAR = @AMTAR@
|
||||
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
|
||||
AR = @AR@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AWK = @AWK@
|
||||
CC = @CC@
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
CFLAGS = @CFLAGS@
|
||||
CPP = @CPP@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CXX = @CXX@
|
||||
CXXCPP = @CXXCPP@
|
||||
CXXDEPMODE = @CXXDEPMODE@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
ECHO = @ECHO@
|
||||
ECHO_C = @ECHO_C@
|
||||
ECHO_N = @ECHO_N@
|
||||
ECHO_T = @ECHO_T@
|
||||
EGREP = @EGREP@
|
||||
EXEEXT = @EXEEXT@
|
||||
F77 = @F77@
|
||||
FFLAGS = @FFLAGS@
|
||||
GREP = @GREP@
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
LIBTOOL_VERSION_INFO = @LIBTOOL_VERSION_INFO@
|
||||
LN_S = @LN_S@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
OBJEXT = @OBJEXT@
|
||||
PACKAGE = @PACKAGE@
|
||||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||
PACKAGE_NAME = @PACKAGE_NAME@
|
||||
PACKAGE_STRING = @PACKAGE_STRING@
|
||||
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||
PACKAGE_URL = @PACKAGE_URL@
|
||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||
PYTHON_INCLUDES = @PYTHON_INCLUDES@
|
||||
PYTHON_LIBS = @PYTHON_LIBS@
|
||||
RANLIB = @RANLIB@
|
||||
SET_MAKE = @SET_MAKE@
|
||||
SHELL = @SHELL@
|
||||
SND_LIB_EXTRAVER = @SND_LIB_EXTRAVER@
|
||||
SND_LIB_MAJOR = @SND_LIB_MAJOR@
|
||||
SND_LIB_MINOR = @SND_LIB_MINOR@
|
||||
SND_LIB_SUBMINOR = @SND_LIB_SUBMINOR@
|
||||
SND_LIB_VERSION = @SND_LIB_VERSION@
|
||||
STRIP = @STRIP@
|
||||
SYMBOL_PREFIX = @SYMBOL_PREFIX@
|
||||
VERSION = @VERSION@
|
||||
abs_builddir = @abs_builddir@
|
||||
abs_srcdir = @abs_srcdir@
|
||||
abs_top_builddir = @abs_top_builddir@
|
||||
abs_top_srcdir = @abs_top_srcdir@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
ac_ct_CXX = @ac_ct_CXX@
|
||||
ac_ct_F77 = @ac_ct_F77@
|
||||
am__include = @am__include@
|
||||
am__leading_dot = @am__leading_dot@
|
||||
am__quote = @am__quote@
|
||||
am__tar = @am__tar@
|
||||
am__untar = @am__untar@
|
||||
bindir = @bindir@
|
||||
build = @build@
|
||||
build_alias = @build_alias@
|
||||
build_cpu = @build_cpu@
|
||||
build_os = @build_os@
|
||||
build_vendor = @build_vendor@
|
||||
builddir = @builddir@
|
||||
datadir = @datadir@
|
||||
datarootdir = @datarootdir@
|
||||
docdir = @docdir@
|
||||
dvidir = @dvidir@
|
||||
exec_prefix = @exec_prefix@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
host_os = @host_os@
|
||||
host_vendor = @host_vendor@
|
||||
htmldir = @htmldir@
|
||||
includedir = @includedir@
|
||||
infodir = @infodir@
|
||||
install_sh = @install_sh@
|
||||
libdir = @libdir@
|
||||
libexecdir = @libexecdir@
|
||||
localedir = @localedir@
|
||||
localstatedir = @localstatedir@
|
||||
mandir = @mandir@
|
||||
mkdir_p = @mkdir_p@
|
||||
oldincludedir = @oldincludedir@
|
||||
pdfdir = @pdfdir@
|
||||
prefix = @prefix@
|
||||
program_transform_name = @program_transform_name@
|
||||
psdir = @psdir@
|
||||
sbindir = @sbindir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
srcdir = @srcdir@
|
||||
sysconfdir = @sysconfdir@
|
||||
target_alias = @target_alias@
|
||||
top_build_prefix = @top_build_prefix@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
alsalisp_SOURCES = alsalisp.c
|
||||
alsalisp_LDADD = ../src/libasound.la
|
||||
INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/src/alisp
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .c .lo .o .obj
|
||||
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
||||
@for dep in $?; do \
|
||||
case '$(am__configure_deps)' in \
|
||||
*$$dep*) \
|
||||
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
|
||||
&& { if test -f $@; then exit 0; else break; fi; }; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign alsalisp/Makefile'; \
|
||||
$(am__cd) $(top_srcdir) && \
|
||||
$(AUTOMAKE) --foreign alsalisp/Makefile
|
||||
.PRECIOUS: Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
|
||||
*) \
|
||||
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
|
||||
esac;
|
||||
|
||||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
|
||||
$(top_srcdir)/configure: $(am__configure_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(am__aclocal_m4_deps):
|
||||
|
||||
clean-noinstPROGRAMS:
|
||||
@list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \
|
||||
echo " rm -f" $$list; \
|
||||
rm -f $$list || exit $$?; \
|
||||
test -n "$(EXEEXT)" || exit 0; \
|
||||
list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
|
||||
echo " rm -f" $$list; \
|
||||
rm -f $$list
|
||||
alsalisp$(EXEEXT): $(alsalisp_OBJECTS) $(alsalisp_DEPENDENCIES)
|
||||
@rm -f alsalisp$(EXEEXT)
|
||||
$(AM_V_CCLD)$(LINK) $(alsalisp_OBJECTS) $(alsalisp_LDADD) $(LIBS)
|
||||
|
||||
mostlyclean-compile:
|
||||
-rm -f *.$(OBJEXT)
|
||||
|
||||
distclean-compile:
|
||||
-rm -f *.tab.c
|
||||
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/alsalisp.Po@am__quote@
|
||||
|
||||
.c.o:
|
||||
@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
|
||||
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
||||
@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(COMPILE) -c $<
|
||||
|
||||
.c.obj:
|
||||
@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
|
||||
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
||||
@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
|
||||
|
||||
.c.lo:
|
||||
@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
|
||||
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
|
||||
@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
|
||||
|
||||
mostlyclean-libtool:
|
||||
-rm -f *.lo
|
||||
|
||||
clean-libtool:
|
||||
-rm -rf .libs _libs
|
||||
|
||||
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
mkid -fID $$unique
|
||||
tags: TAGS
|
||||
|
||||
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
set x; \
|
||||
here=`pwd`; \
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
shift; \
|
||||
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
|
||||
test -n "$$unique" || unique=$$empty_fix; \
|
||||
if test $$# -gt 0; then \
|
||||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
"$$@" $$unique; \
|
||||
else \
|
||||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
$$unique; \
|
||||
fi; \
|
||||
fi
|
||||
ctags: CTAGS
|
||||
CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
test -z "$(CTAGS_ARGS)$$unique" \
|
||||
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
||||
$$unique
|
||||
|
||||
GTAGS:
|
||||
here=`$(am__cd) $(top_builddir) && pwd` \
|
||||
&& $(am__cd) $(top_srcdir) \
|
||||
&& gtags -i $(GTAGS_ARGS) "$$here"
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
list='$(DISTFILES)'; \
|
||||
dist_files=`for file in $$list; do echo $$file; done | \
|
||||
sed -e "s|^$$srcdirstrip/||;t" \
|
||||
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
||||
case $$dist_files in \
|
||||
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
||||
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
||||
sort -u` ;; \
|
||||
esac; \
|
||||
for file in $$dist_files; do \
|
||||
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test -d "$(distdir)/$$file"; then \
|
||||
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||
fi; \
|
||||
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
|
||||
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||
fi; \
|
||||
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
|
||||
else \
|
||||
test -f "$(distdir)/$$file" \
|
||||
|| cp -p $$d/$$file "$(distdir)/$$file" \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
check-am: all-am
|
||||
check: check-am
|
||||
all-am: Makefile $(PROGRAMS)
|
||||
installdirs:
|
||||
install: install-am
|
||||
install-exec: install-exec-am
|
||||
install-data: install-data-am
|
||||
uninstall: uninstall-am
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-am
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
clean: clean-am
|
||||
|
||||
clean-am: clean-generic clean-libtool clean-noinstPROGRAMS \
|
||||
mostlyclean-am
|
||||
|
||||
distclean: distclean-am
|
||||
-rm -rf ./$(DEPDIR)
|
||||
-rm -f Makefile
|
||||
distclean-am: clean-am distclean-compile distclean-generic \
|
||||
distclean-tags
|
||||
|
||||
dvi: dvi-am
|
||||
|
||||
dvi-am:
|
||||
|
||||
html: html-am
|
||||
|
||||
html-am:
|
||||
|
||||
info: info-am
|
||||
|
||||
info-am:
|
||||
|
||||
install-data-am:
|
||||
|
||||
install-dvi: install-dvi-am
|
||||
|
||||
install-dvi-am:
|
||||
|
||||
install-exec-am:
|
||||
|
||||
install-html: install-html-am
|
||||
|
||||
install-html-am:
|
||||
|
||||
install-info: install-info-am
|
||||
|
||||
install-info-am:
|
||||
|
||||
install-man:
|
||||
|
||||
install-pdf: install-pdf-am
|
||||
|
||||
install-pdf-am:
|
||||
|
||||
install-ps: install-ps-am
|
||||
|
||||
install-ps-am:
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-am
|
||||
-rm -rf ./$(DEPDIR)
|
||||
-rm -f Makefile
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||
|
||||
mostlyclean: mostlyclean-am
|
||||
|
||||
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
|
||||
mostlyclean-libtool
|
||||
|
||||
pdf: pdf-am
|
||||
|
||||
pdf-am:
|
||||
|
||||
ps: ps-am
|
||||
|
||||
ps-am:
|
||||
|
||||
uninstall-am:
|
||||
|
||||
.MAKE: install-am install-strip
|
||||
|
||||
.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
|
||||
clean-libtool clean-noinstPROGRAMS ctags distclean \
|
||||
distclean-compile distclean-generic distclean-libtool \
|
||||
distclean-tags distdir dvi dvi-am html html-am info info-am \
|
||||
install install-am install-data install-data-am install-dvi \
|
||||
install-dvi-am install-exec install-exec-am install-html \
|
||||
install-html-am install-info install-info-am install-man \
|
||||
install-pdf install-pdf-am install-ps install-ps-am \
|
||||
install-strip installcheck installcheck-am installdirs \
|
||||
maintainer-clean maintainer-clean-generic mostlyclean \
|
||||
mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
|
||||
pdf pdf-am ps ps-am tags uninstall uninstall-am
|
||||
|
||||
|
||||
all: alsalisp
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
@@ -1,110 +0,0 @@
|
||||
/*
|
||||
* ALSA lisp implementation
|
||||
* Copyright (c) 2003 by Jaroslav Kysela <perex@perex.cz>
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as
|
||||
* published by the Free Software Foundation; either version 2.1 of
|
||||
* the License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <err.h>
|
||||
|
||||
#include "asoundlib.h"
|
||||
#include "alisp.h"
|
||||
|
||||
static int verbose = 0;
|
||||
static int warning = 0;
|
||||
static int debug = 0;
|
||||
|
||||
static void interpret_filename(const char *file)
|
||||
{
|
||||
struct alisp_cfg cfg;
|
||||
snd_input_t *in;
|
||||
snd_output_t *out;
|
||||
int err;
|
||||
|
||||
memset(&cfg, 0, sizeof(cfg));
|
||||
if (file != NULL && strcmp(file, "-") != 0) {
|
||||
if ((err = snd_input_stdio_open(&in, file, "r")) < 0) {
|
||||
fprintf(stderr, "unable to open filename '%s' (%s)\n", file, snd_strerror(err));
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
if ((err = snd_input_stdio_attach(&in, stdin, 0)) < 0) {
|
||||
fprintf(stderr, "unable to attach stdin '%s' (%s)\n", file, snd_strerror(err));
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (snd_output_stdio_attach(&out, stdout, 0) < 0) {
|
||||
snd_input_close(in);
|
||||
fprintf(stderr, "unable to attach stdout (%s)\n", strerror(errno));
|
||||
return;
|
||||
}
|
||||
cfg.verbose = verbose;
|
||||
cfg.warning = warning;
|
||||
cfg.debug = debug;
|
||||
cfg.in = in;
|
||||
cfg.out = cfg.eout = cfg.vout = cfg.wout = cfg.dout = out;
|
||||
err = alsa_lisp(&cfg, NULL);
|
||||
if (err < 0)
|
||||
fprintf(stderr, "alsa lisp returned error %i (%s)\n", err, strerror(err));
|
||||
else if (verbose)
|
||||
printf("file %s passed ok via alsa lisp interpreter\n", file);
|
||||
snd_output_close(out);
|
||||
snd_input_close(in);
|
||||
}
|
||||
|
||||
static void usage(void)
|
||||
{
|
||||
fprintf(stderr, "usage: alsalisp [-vdw] [file...]\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
int c;
|
||||
|
||||
while ((c = getopt(argc, argv, "vdw")) != -1) {
|
||||
switch (c) {
|
||||
case 'v':
|
||||
verbose = 1;
|
||||
break;
|
||||
case 'd':
|
||||
debug = 1;
|
||||
break;
|
||||
case 'w':
|
||||
warning = 1;
|
||||
break;
|
||||
case '?':
|
||||
default:
|
||||
usage();
|
||||
/* NOTREACHED */
|
||||
}
|
||||
}
|
||||
argc -= optind;
|
||||
argv += optind;
|
||||
|
||||
if (argc < 1)
|
||||
interpret_filename(NULL);
|
||||
else
|
||||
while (*argv)
|
||||
interpret_filename(*argv++);
|
||||
|
||||
return 0;
|
||||
}
|
@@ -1,340 +0,0 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
License is intended to guarantee your freedom to share and change free
|
||||
software--to make sure the software is free for all its users. This
|
||||
General Public License applies to most of the Free Software
|
||||
Foundation's software and to any other program whose authors commit to
|
||||
using it. (Some other Free Software Foundation software is covered by
|
||||
the GNU Lesser General Public License instead.) You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
this service if you wish), that you receive source code or can get it
|
||||
if you want it, that you can change the software or use pieces of it
|
||||
in new free programs; and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
anyone to deny you these rights or to ask you to surrender the rights.
|
||||
These restrictions translate to certain responsibilities for you if you
|
||||
distribute copies of the software, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must give the recipients all the rights that
|
||||
you have. You must make sure that they, too, receive or can get the
|
||||
source code. And you must show them these terms so they know their
|
||||
rights.
|
||||
|
||||
We protect your rights with two steps: (1) copyright the software, and
|
||||
(2) offer you this license which gives you legal permission to copy,
|
||||
distribute and/or modify the software.
|
||||
|
||||
Also, for each author's protection and ours, we want to make certain
|
||||
that everyone understands that there is no warranty for this free
|
||||
software. If the software is modified by someone else and passed on, we
|
||||
want its recipients to know that what they have is not the original, so
|
||||
that any problems introduced by others will not reflect on the original
|
||||
authors' reputations.
|
||||
|
||||
Finally, any free program is threatened constantly by software
|
||||
patents. We wish to avoid the danger that redistributors of a free
|
||||
program will individually obtain patent licenses, in effect making the
|
||||
program proprietary. To prevent this, we have made it clear that any
|
||||
patent must be licensed for everyone's free use or not licensed at all.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License applies to any program or other work which contains
|
||||
a notice placed by the copyright holder saying it may be distributed
|
||||
under the terms of this General Public License. The "Program", below,
|
||||
refers to any such program or work, and a "work based on the Program"
|
||||
means either the Program or any derivative work under copyright law:
|
||||
that is to say, a work containing the Program or a portion of it,
|
||||
either verbatim or with modifications and/or translated into another
|
||||
language. (Hereinafter, translation is included without limitation in
|
||||
the term "modification".) Each licensee is addressed as "you".
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running the Program is not restricted, and the output from the Program
|
||||
is covered only if its contents constitute a work based on the
|
||||
Program (independent of having been made by running the Program).
|
||||
Whether that is true depends on what the Program does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Program's
|
||||
source code as you receive it, in any medium, provided that you
|
||||
conspicuously and appropriately publish on each copy an appropriate
|
||||
copyright notice and disclaimer of warranty; keep intact all the
|
||||
notices that refer to this License and to the absence of any warranty;
|
||||
and give any other recipients of the Program a copy of this License
|
||||
along with the Program.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and
|
||||
you may at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Program or any portion
|
||||
of it, thus forming a work based on the Program, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) You must cause the modified files to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
b) You must cause any work that you distribute or publish, that in
|
||||
whole or in part contains or is derived from the Program or any
|
||||
part thereof, to be licensed as a whole at no charge to all third
|
||||
parties under the terms of this License.
|
||||
|
||||
c) If the modified program normally reads commands interactively
|
||||
when run, you must cause it, when started running for such
|
||||
interactive use in the most ordinary way, to print or display an
|
||||
announcement including an appropriate copyright notice and a
|
||||
notice that there is no warranty (or else, saying that you provide
|
||||
a warranty) and that users may redistribute the program under
|
||||
these conditions, and telling the user how to view a copy of this
|
||||
License. (Exception: if the Program itself is interactive but
|
||||
does not normally print such an announcement, your work based on
|
||||
the Program is not required to print an announcement.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Program,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Program, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Program.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Program
|
||||
with the Program (or with a work based on the Program) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may copy and distribute the Program (or a work based on it,
|
||||
under Section 2) in object code or executable form under the terms of
|
||||
Sections 1 and 2 above provided that you also do one of the following:
|
||||
|
||||
a) Accompany it with the complete corresponding machine-readable
|
||||
source code, which must be distributed under the terms of Sections
|
||||
1 and 2 above on a medium customarily used for software interchange; or,
|
||||
|
||||
b) Accompany it with a written offer, valid for at least three
|
||||
years, to give any third party, for a charge no more than your
|
||||
cost of physically performing source distribution, a complete
|
||||
machine-readable copy of the corresponding source code, to be
|
||||
distributed under the terms of Sections 1 and 2 above on a medium
|
||||
customarily used for software interchange; or,
|
||||
|
||||
c) Accompany it with the information you received as to the offer
|
||||
to distribute corresponding source code. (This alternative is
|
||||
allowed only for noncommercial distribution and only if you
|
||||
received the program in object code or executable form with such
|
||||
an offer, in accord with Subsection b above.)
|
||||
|
||||
The source code for a work means the preferred form of the work for
|
||||
making modifications to it. For an executable work, complete source
|
||||
code means all the source code for all modules it contains, plus any
|
||||
associated interface definition files, plus the scripts used to
|
||||
control compilation and installation of the executable. However, as a
|
||||
special exception, the source code distributed need not include
|
||||
anything that is normally distributed (in either source or binary
|
||||
form) with the major components (compiler, kernel, and so on) of the
|
||||
operating system on which the executable runs, unless that component
|
||||
itself accompanies the executable.
|
||||
|
||||
If distribution of executable or object code is made by offering
|
||||
access to copy from a designated place, then offering equivalent
|
||||
access to copy the source code from the same place counts as
|
||||
distribution of the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
4. You may not copy, modify, sublicense, or distribute the Program
|
||||
except as expressly provided under this License. Any attempt
|
||||
otherwise to copy, modify, sublicense or distribute the Program is
|
||||
void, and will automatically terminate your rights under this License.
|
||||
However, parties who have received copies, or rights, from you under
|
||||
this License will not have their licenses terminated so long as such
|
||||
parties remain in full compliance.
|
||||
|
||||
5. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Program or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Program (or any work based on the
|
||||
Program), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Program or works based on it.
|
||||
|
||||
6. Each time you redistribute the Program (or any work based on the
|
||||
Program), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute or modify the Program subject to
|
||||
these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties to
|
||||
this License.
|
||||
|
||||
7. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Program at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Program by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Program.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under
|
||||
any particular circumstance, the balance of the section is intended to
|
||||
apply and the section as a whole is intended to apply in other
|
||||
circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system, which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
8. If the distribution and/or use of the Program is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Program under this License
|
||||
may add an explicit geographical distribution limitation excluding
|
||||
those countries, so that distribution is permitted only in or among
|
||||
countries not thus excluded. In such case, this License incorporates
|
||||
the limitation as if written in the body of this License.
|
||||
|
||||
9. The Free Software Foundation may publish revised and/or new versions
|
||||
of the General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program
|
||||
specifies a version number of this License which applies to it and "any
|
||||
later version", you have the option of following the terms and conditions
|
||||
either of that version or of any later version published by the Free
|
||||
Software Foundation. If the Program does not specify a version number of
|
||||
this License, you may choose any version ever published by the Free Software
|
||||
Foundation.
|
||||
|
||||
10. If you wish to incorporate parts of the Program into other free
|
||||
programs whose distribution conditions are different, write to the author
|
||||
to ask for permission. For software which is copyrighted by the Free
|
||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||
make exceptions for this. Our decision will be guided by the two goals
|
||||
of preserving the free status of all derivatives of our free software and
|
||||
of promoting the sharing and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||
REPAIR OR CORRECTION.
|
||||
|
||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2.1 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program is interactive, make it output a short notice like this
|
||||
when it starts in an interactive mode:
|
||||
|
||||
Gnomovision version 69, Copyright (C) year name of author
|
||||
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, the commands you use may
|
||||
be called something other than `show w' and `show c'; they could even be
|
||||
mouse-clicks or menu items--whatever suits your program.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1989
|
||||
Ty Coon, President of Vice
|
||||
|
||||
This General Public License does not permit incorporating your program into
|
||||
proprietary programs. If your program is a subroutine library, you may
|
||||
consider it more useful to permit linking proprietary applications with the
|
||||
library. If this is what you want to do, use the GNU Library General
|
||||
Public License instead of this License.
|
@@ -1,12 +0,0 @@
|
||||
bin_PROGRAMS = aserver
|
||||
aserver_SOURCES = aserver.c
|
||||
# aserver_LDADD = -lasound
|
||||
aserver_LDADD = ../src/libasound.la
|
||||
|
||||
all: aserver
|
||||
|
||||
INCLUDES=-I$(top_srcdir)/include -I$(top_srcdir)/src/pcm
|
||||
|
||||
../src/libasound.la:
|
||||
$(MAKE) -C ../src libasound.la
|
||||
|
@@ -1,539 +0,0 @@
|
||||
# Makefile.in generated by automake 1.11.1 from Makefile.am.
|
||||
# @configure_input@
|
||||
|
||||
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
||||
# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
|
||||
# Inc.
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
VPATH = @srcdir@
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkglibexecdir = $(libexecdir)/@PACKAGE@
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
install_sh_DATA = $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = $(install_sh) -c
|
||||
install_sh_SCRIPT = $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = $(program_transform_name)
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
build_triplet = @build@
|
||||
host_triplet = @host@
|
||||
bin_PROGRAMS = aserver$(EXEEXT)
|
||||
subdir = aserver
|
||||
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in COPYING
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
|
||||
$(top_srcdir)/configure.in
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
mkinstalldirs = $(install_sh) -d
|
||||
CONFIG_HEADER = $(top_builddir)/include/config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
CONFIG_CLEAN_VPATH_FILES =
|
||||
am__installdirs = "$(DESTDIR)$(bindir)"
|
||||
PROGRAMS = $(bin_PROGRAMS)
|
||||
am_aserver_OBJECTS = aserver.$(OBJEXT)
|
||||
aserver_OBJECTS = $(am_aserver_OBJECTS)
|
||||
aserver_DEPENDENCIES = ../src/libasound.la
|
||||
AM_V_lt = $(am__v_lt_$(V))
|
||||
am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
|
||||
am__v_lt_0 = --silent
|
||||
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
|
||||
depcomp = $(SHELL) $(top_srcdir)/depcomp
|
||||
am__depfiles_maybe = depfiles
|
||||
am__mv = mv -f
|
||||
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
|
||||
$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
|
||||
$(AM_CFLAGS) $(CFLAGS)
|
||||
AM_V_CC = $(am__v_CC_$(V))
|
||||
am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
|
||||
am__v_CC_0 = @echo " CC " $@;
|
||||
AM_V_at = $(am__v_at_$(V))
|
||||
am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
|
||||
am__v_at_0 = @
|
||||
CCLD = $(CC)
|
||||
LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
||||
$(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||
AM_V_CCLD = $(am__v_CCLD_$(V))
|
||||
am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
|
||||
am__v_CCLD_0 = @echo " CCLD " $@;
|
||||
AM_V_GEN = $(am__v_GEN_$(V))
|
||||
am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
|
||||
am__v_GEN_0 = @echo " GEN " $@;
|
||||
SOURCES = $(aserver_SOURCES)
|
||||
DIST_SOURCES = $(aserver_SOURCES)
|
||||
ETAGS = etags
|
||||
CTAGS = ctags
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
ACLOCAL = @ACLOCAL@
|
||||
ALSA_CONFIG_DIR = @ALSA_CONFIG_DIR@
|
||||
ALSA_DEPLIBS = @ALSA_DEPLIBS@
|
||||
ALSA_PLUGIN_DIR = @ALSA_PLUGIN_DIR@
|
||||
AMTAR = @AMTAR@
|
||||
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
|
||||
AR = @AR@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AWK = @AWK@
|
||||
CC = @CC@
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
CFLAGS = @CFLAGS@
|
||||
CPP = @CPP@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CXX = @CXX@
|
||||
CXXCPP = @CXXCPP@
|
||||
CXXDEPMODE = @CXXDEPMODE@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
ECHO = @ECHO@
|
||||
ECHO_C = @ECHO_C@
|
||||
ECHO_N = @ECHO_N@
|
||||
ECHO_T = @ECHO_T@
|
||||
EGREP = @EGREP@
|
||||
EXEEXT = @EXEEXT@
|
||||
F77 = @F77@
|
||||
FFLAGS = @FFLAGS@
|
||||
GREP = @GREP@
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
LIBTOOL_VERSION_INFO = @LIBTOOL_VERSION_INFO@
|
||||
LN_S = @LN_S@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
OBJEXT = @OBJEXT@
|
||||
PACKAGE = @PACKAGE@
|
||||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||
PACKAGE_NAME = @PACKAGE_NAME@
|
||||
PACKAGE_STRING = @PACKAGE_STRING@
|
||||
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||
PACKAGE_URL = @PACKAGE_URL@
|
||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||
PYTHON_INCLUDES = @PYTHON_INCLUDES@
|
||||
PYTHON_LIBS = @PYTHON_LIBS@
|
||||
RANLIB = @RANLIB@
|
||||
SET_MAKE = @SET_MAKE@
|
||||
SHELL = @SHELL@
|
||||
SND_LIB_EXTRAVER = @SND_LIB_EXTRAVER@
|
||||
SND_LIB_MAJOR = @SND_LIB_MAJOR@
|
||||
SND_LIB_MINOR = @SND_LIB_MINOR@
|
||||
SND_LIB_SUBMINOR = @SND_LIB_SUBMINOR@
|
||||
SND_LIB_VERSION = @SND_LIB_VERSION@
|
||||
STRIP = @STRIP@
|
||||
SYMBOL_PREFIX = @SYMBOL_PREFIX@
|
||||
VERSION = @VERSION@
|
||||
abs_builddir = @abs_builddir@
|
||||
abs_srcdir = @abs_srcdir@
|
||||
abs_top_builddir = @abs_top_builddir@
|
||||
abs_top_srcdir = @abs_top_srcdir@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
ac_ct_CXX = @ac_ct_CXX@
|
||||
ac_ct_F77 = @ac_ct_F77@
|
||||
am__include = @am__include@
|
||||
am__leading_dot = @am__leading_dot@
|
||||
am__quote = @am__quote@
|
||||
am__tar = @am__tar@
|
||||
am__untar = @am__untar@
|
||||
bindir = @bindir@
|
||||
build = @build@
|
||||
build_alias = @build_alias@
|
||||
build_cpu = @build_cpu@
|
||||
build_os = @build_os@
|
||||
build_vendor = @build_vendor@
|
||||
builddir = @builddir@
|
||||
datadir = @datadir@
|
||||
datarootdir = @datarootdir@
|
||||
docdir = @docdir@
|
||||
dvidir = @dvidir@
|
||||
exec_prefix = @exec_prefix@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
host_os = @host_os@
|
||||
host_vendor = @host_vendor@
|
||||
htmldir = @htmldir@
|
||||
includedir = @includedir@
|
||||
infodir = @infodir@
|
||||
install_sh = @install_sh@
|
||||
libdir = @libdir@
|
||||
libexecdir = @libexecdir@
|
||||
localedir = @localedir@
|
||||
localstatedir = @localstatedir@
|
||||
mandir = @mandir@
|
||||
mkdir_p = @mkdir_p@
|
||||
oldincludedir = @oldincludedir@
|
||||
pdfdir = @pdfdir@
|
||||
prefix = @prefix@
|
||||
program_transform_name = @program_transform_name@
|
||||
psdir = @psdir@
|
||||
sbindir = @sbindir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
srcdir = @srcdir@
|
||||
sysconfdir = @sysconfdir@
|
||||
target_alias = @target_alias@
|
||||
top_build_prefix = @top_build_prefix@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
aserver_SOURCES = aserver.c
|
||||
# aserver_LDADD = -lasound
|
||||
aserver_LDADD = ../src/libasound.la
|
||||
INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/src/pcm
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .c .lo .o .obj
|
||||
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
||||
@for dep in $?; do \
|
||||
case '$(am__configure_deps)' in \
|
||||
*$$dep*) \
|
||||
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
|
||||
&& { if test -f $@; then exit 0; else break; fi; }; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign aserver/Makefile'; \
|
||||
$(am__cd) $(top_srcdir) && \
|
||||
$(AUTOMAKE) --foreign aserver/Makefile
|
||||
.PRECIOUS: Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
|
||||
*) \
|
||||
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
|
||||
esac;
|
||||
|
||||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
|
||||
$(top_srcdir)/configure: $(am__configure_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(am__aclocal_m4_deps):
|
||||
install-binPROGRAMS: $(bin_PROGRAMS)
|
||||
@$(NORMAL_INSTALL)
|
||||
test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
|
||||
@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
|
||||
for p in $$list; do echo "$$p $$p"; done | \
|
||||
sed 's/$(EXEEXT)$$//' | \
|
||||
while read p p1; do if test -f $$p || test -f $$p1; \
|
||||
then echo "$$p"; echo "$$p"; else :; fi; \
|
||||
done | \
|
||||
sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
|
||||
-e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
|
||||
sed 'N;N;N;s,\n, ,g' | \
|
||||
$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
|
||||
{ d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
|
||||
if ($$2 == $$4) files[d] = files[d] " " $$1; \
|
||||
else { print "f", $$3 "/" $$4, $$1; } } \
|
||||
END { for (d in files) print "f", d, files[d] }' | \
|
||||
while read type dir files; do \
|
||||
if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
|
||||
test -z "$$files" || { \
|
||||
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
|
||||
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
|
||||
} \
|
||||
; done
|
||||
|
||||
uninstall-binPROGRAMS:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
|
||||
files=`for p in $$list; do echo "$$p"; done | \
|
||||
sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
|
||||
-e 's/$$/$(EXEEXT)/' `; \
|
||||
test -n "$$list" || exit 0; \
|
||||
echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
|
||||
cd "$(DESTDIR)$(bindir)" && rm -f $$files
|
||||
|
||||
clean-binPROGRAMS:
|
||||
@list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
|
||||
echo " rm -f" $$list; \
|
||||
rm -f $$list || exit $$?; \
|
||||
test -n "$(EXEEXT)" || exit 0; \
|
||||
list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
|
||||
echo " rm -f" $$list; \
|
||||
rm -f $$list
|
||||
aserver$(EXEEXT): $(aserver_OBJECTS) $(aserver_DEPENDENCIES)
|
||||
@rm -f aserver$(EXEEXT)
|
||||
$(AM_V_CCLD)$(LINK) $(aserver_OBJECTS) $(aserver_LDADD) $(LIBS)
|
||||
|
||||
mostlyclean-compile:
|
||||
-rm -f *.$(OBJEXT)
|
||||
|
||||
distclean-compile:
|
||||
-rm -f *.tab.c
|
||||
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/aserver.Po@am__quote@
|
||||
|
||||
.c.o:
|
||||
@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
|
||||
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
||||
@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(COMPILE) -c $<
|
||||
|
||||
.c.obj:
|
||||
@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
|
||||
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
||||
@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
|
||||
|
||||
.c.lo:
|
||||
@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
|
||||
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
|
||||
@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
|
||||
|
||||
mostlyclean-libtool:
|
||||
-rm -f *.lo
|
||||
|
||||
clean-libtool:
|
||||
-rm -rf .libs _libs
|
||||
|
||||
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
mkid -fID $$unique
|
||||
tags: TAGS
|
||||
|
||||
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
set x; \
|
||||
here=`pwd`; \
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
shift; \
|
||||
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
|
||||
test -n "$$unique" || unique=$$empty_fix; \
|
||||
if test $$# -gt 0; then \
|
||||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
"$$@" $$unique; \
|
||||
else \
|
||||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
$$unique; \
|
||||
fi; \
|
||||
fi
|
||||
ctags: CTAGS
|
||||
CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
test -z "$(CTAGS_ARGS)$$unique" \
|
||||
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
||||
$$unique
|
||||
|
||||
GTAGS:
|
||||
here=`$(am__cd) $(top_builddir) && pwd` \
|
||||
&& $(am__cd) $(top_srcdir) \
|
||||
&& gtags -i $(GTAGS_ARGS) "$$here"
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
list='$(DISTFILES)'; \
|
||||
dist_files=`for file in $$list; do echo $$file; done | \
|
||||
sed -e "s|^$$srcdirstrip/||;t" \
|
||||
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
||||
case $$dist_files in \
|
||||
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
||||
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
||||
sort -u` ;; \
|
||||
esac; \
|
||||
for file in $$dist_files; do \
|
||||
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test -d "$(distdir)/$$file"; then \
|
||||
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||
fi; \
|
||||
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
|
||||
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||
fi; \
|
||||
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
|
||||
else \
|
||||
test -f "$(distdir)/$$file" \
|
||||
|| cp -p $$d/$$file "$(distdir)/$$file" \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
check-am: all-am
|
||||
check: check-am
|
||||
all-am: Makefile $(PROGRAMS)
|
||||
installdirs:
|
||||
for dir in "$(DESTDIR)$(bindir)"; do \
|
||||
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
|
||||
done
|
||||
install: install-am
|
||||
install-exec: install-exec-am
|
||||
install-data: install-data-am
|
||||
uninstall: uninstall-am
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-am
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
clean: clean-am
|
||||
|
||||
clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
|
||||
|
||||
distclean: distclean-am
|
||||
-rm -rf ./$(DEPDIR)
|
||||
-rm -f Makefile
|
||||
distclean-am: clean-am distclean-compile distclean-generic \
|
||||
distclean-tags
|
||||
|
||||
dvi: dvi-am
|
||||
|
||||
dvi-am:
|
||||
|
||||
html: html-am
|
||||
|
||||
html-am:
|
||||
|
||||
info: info-am
|
||||
|
||||
info-am:
|
||||
|
||||
install-data-am:
|
||||
|
||||
install-dvi: install-dvi-am
|
||||
|
||||
install-dvi-am:
|
||||
|
||||
install-exec-am: install-binPROGRAMS
|
||||
|
||||
install-html: install-html-am
|
||||
|
||||
install-html-am:
|
||||
|
||||
install-info: install-info-am
|
||||
|
||||
install-info-am:
|
||||
|
||||
install-man:
|
||||
|
||||
install-pdf: install-pdf-am
|
||||
|
||||
install-pdf-am:
|
||||
|
||||
install-ps: install-ps-am
|
||||
|
||||
install-ps-am:
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-am
|
||||
-rm -rf ./$(DEPDIR)
|
||||
-rm -f Makefile
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||
|
||||
mostlyclean: mostlyclean-am
|
||||
|
||||
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
|
||||
mostlyclean-libtool
|
||||
|
||||
pdf: pdf-am
|
||||
|
||||
pdf-am:
|
||||
|
||||
ps: ps-am
|
||||
|
||||
ps-am:
|
||||
|
||||
uninstall-am: uninstall-binPROGRAMS
|
||||
|
||||
.MAKE: install-am install-strip
|
||||
|
||||
.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
|
||||
clean-generic clean-libtool ctags distclean distclean-compile \
|
||||
distclean-generic distclean-libtool distclean-tags distdir dvi \
|
||||
dvi-am html html-am info info-am install install-am \
|
||||
install-binPROGRAMS install-data install-data-am install-dvi \
|
||||
install-dvi-am install-exec install-exec-am install-html \
|
||||
install-html-am install-info install-info-am install-man \
|
||||
install-pdf install-pdf-am install-ps install-ps-am \
|
||||
install-strip installcheck installcheck-am installdirs \
|
||||
maintainer-clean maintainer-clean-generic mostlyclean \
|
||||
mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
|
||||
pdf pdf-am ps ps-am tags uninstall uninstall-am \
|
||||
uninstall-binPROGRAMS
|
||||
|
||||
|
||||
all: aserver
|
||||
|
||||
../src/libasound.la:
|
||||
$(MAKE) -C ../src libasound.la
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
File diff suppressed because it is too large
Load Diff
@@ -1,142 +0,0 @@
|
||||
#! /bin/sh
|
||||
# Wrapper for compilers which do not understand `-c -o'.
|
||||
|
||||
scriptversion=2005-05-14.22
|
||||
|
||||
# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc.
|
||||
# Written by Tom Tromey <tromey@cygnus.com>.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
# As a special exception to the GNU General Public License, if you
|
||||
# distribute this file as part of a program that contains a
|
||||
# configuration script generated by Autoconf, you may include it under
|
||||
# the same distribution terms that you use for the rest of that program.
|
||||
|
||||
# This file is maintained in Automake, please report
|
||||
# bugs to <bug-automake@gnu.org> or send patches to
|
||||
# <automake-patches@gnu.org>.
|
||||
|
||||
case $1 in
|
||||
'')
|
||||
echo "$0: No command. Try \`$0 --help' for more information." 1>&2
|
||||
exit 1;
|
||||
;;
|
||||
-h | --h*)
|
||||
cat <<\EOF
|
||||
Usage: compile [--help] [--version] PROGRAM [ARGS]
|
||||
|
||||
Wrapper for compilers which do not understand `-c -o'.
|
||||
Remove `-o dest.o' from ARGS, run PROGRAM with the remaining
|
||||
arguments, and rename the output as expected.
|
||||
|
||||
If you are trying to build a whole package this is not the
|
||||
right script to run: please start by reading the file `INSTALL'.
|
||||
|
||||
Report bugs to <bug-automake@gnu.org>.
|
||||
EOF
|
||||
exit $?
|
||||
;;
|
||||
-v | --v*)
|
||||
echo "compile $scriptversion"
|
||||
exit $?
|
||||
;;
|
||||
esac
|
||||
|
||||
ofile=
|
||||
cfile=
|
||||
eat=
|
||||
|
||||
for arg
|
||||
do
|
||||
if test -n "$eat"; then
|
||||
eat=
|
||||
else
|
||||
case $1 in
|
||||
-o)
|
||||
# configure might choose to run compile as `compile cc -o foo foo.c'.
|
||||
# So we strip `-o arg' only if arg is an object.
|
||||
eat=1
|
||||
case $2 in
|
||||
*.o | *.obj)
|
||||
ofile=$2
|
||||
;;
|
||||
*)
|
||||
set x "$@" -o "$2"
|
||||
shift
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*.c)
|
||||
cfile=$1
|
||||
set x "$@" "$1"
|
||||
shift
|
||||
;;
|
||||
*)
|
||||
set x "$@" "$1"
|
||||
shift
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
shift
|
||||
done
|
||||
|
||||
if test -z "$ofile" || test -z "$cfile"; then
|
||||
# If no `-o' option was seen then we might have been invoked from a
|
||||
# pattern rule where we don't need one. That is ok -- this is a
|
||||
# normal compilation that the losing compiler can handle. If no
|
||||
# `.c' file was seen then we are probably linking. That is also
|
||||
# ok.
|
||||
exec "$@"
|
||||
fi
|
||||
|
||||
# Name of file we expect compiler to create.
|
||||
cofile=`echo "$cfile" | sed -e 's|^.*/||' -e 's/\.c$/.o/'`
|
||||
|
||||
# Create the lock directory.
|
||||
# Note: use `[/.-]' here to ensure that we don't use the same name
|
||||
# that we are using for the .o file. Also, base the name on the expected
|
||||
# object file name, since that is what matters with a parallel build.
|
||||
lockdir=`echo "$cofile" | sed -e 's|[/.-]|_|g'`.d
|
||||
while true; do
|
||||
if mkdir "$lockdir" >/dev/null 2>&1; then
|
||||
break
|
||||
fi
|
||||
sleep 1
|
||||
done
|
||||
# FIXME: race condition here if user kills between mkdir and trap.
|
||||
trap "rmdir '$lockdir'; exit 1" 1 2 15
|
||||
|
||||
# Run the compile.
|
||||
"$@"
|
||||
ret=$?
|
||||
|
||||
if test -f "$cofile"; then
|
||||
mv "$cofile" "$ofile"
|
||||
elif test -f "${cofile}bj"; then
|
||||
mv "${cofile}bj" "$ofile"
|
||||
fi
|
||||
|
||||
rmdir "$lockdir"
|
||||
exit $ret
|
||||
|
||||
# Local Variables:
|
||||
# mode: shell-script
|
||||
# sh-indentation: 2
|
||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
||||
# time-stamp-start: "scriptversion="
|
||||
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
||||
# time-stamp-end: "$"
|
||||
# End:
|
1507
libasound/config.guess
vendored
1507
libasound/config.guess
vendored
File diff suppressed because it is too large
Load Diff
1608
libasound/config.sub
vendored
1608
libasound/config.sub
vendored
File diff suppressed because it is too large
Load Diff
22003
libasound/configure
vendored
22003
libasound/configure
vendored
File diff suppressed because it is too large
Load Diff
@@ -1,631 +0,0 @@
|
||||
dnl Process this file with autoconf to produce a configure script.
|
||||
AC_PREREQ(2.59)
|
||||
AC_INIT(src/control/control.c)
|
||||
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
|
||||
dnl *************************************************
|
||||
dnl current:revision:age
|
||||
dnl change (without API) = c:r+1:a
|
||||
dnl change API = c+1:0:a
|
||||
dnl add API = c+1:0:a+1
|
||||
dnl remove API = c+1:0:0
|
||||
dnl *************************************************
|
||||
AC_CANONICAL_HOST
|
||||
AM_INIT_AUTOMAKE(alsa-lib, 1.0.24.1)
|
||||
eval LIBTOOL_VERSION_INFO="2:0:0"
|
||||
dnl *************************************************
|
||||
AM_CONDITIONAL(INSTALL_M4, test -n "${ACLOCAL}")
|
||||
|
||||
# Test for new silent rules and enable only if they are available
|
||||
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
|
||||
|
||||
AC_PREFIX_DEFAULT(/usr)
|
||||
|
||||
dnl Checks for programs.
|
||||
|
||||
dnl try to gues cross-compiler if not set
|
||||
if test "x$host" != "x$build" -a -z "`echo $CC | grep -e '-gcc'`";
|
||||
then
|
||||
AC_MSG_CHECKING(for cross-compiler)
|
||||
|
||||
which ${program_prefix}gcc >/dev/null 2>&1 && CC=${program_prefix}gcc
|
||||
which ${host_cpu}-${host_os}-gcc >/dev/null 2>&1 \
|
||||
&& CC=${host_cpu}-${host-os}-gcc
|
||||
which ${host_cpu}-${host_vendor}-${host_os}-gcc >/dev/null 2>&1 \
|
||||
&& CC=${host_cpu}-${host_vendor}-${host_os}-gcc
|
||||
|
||||
AC_MSG_RESULT($CC)
|
||||
fi
|
||||
|
||||
CFLAGS="$CFLAGS -D_GNU_SOURCE"
|
||||
|
||||
|
||||
AC_PROG_CC
|
||||
AC_PROG_CPP
|
||||
AC_PROG_INSTALL
|
||||
AC_PROG_LN_S
|
||||
AC_DISABLE_STATIC
|
||||
AC_LIBTOOL_DLOPEN
|
||||
AM_PROG_LIBTOOL
|
||||
|
||||
CC_NOUNDEFINED
|
||||
|
||||
dnl Checks for header files.
|
||||
AC_HEADER_STDC
|
||||
AM_CONFIG_HEADER(include/config.h)
|
||||
|
||||
dnl Checks for typedefs, structures, and compiler characteristics.
|
||||
AC_C_CONST
|
||||
AC_C_INLINE
|
||||
AC_HEADER_TIME
|
||||
|
||||
dnl Checks for library functions.
|
||||
AC_PROG_GCC_TRADITIONAL
|
||||
AC_CHECK_FUNC([hsearch_r], [HAVE_HSEARCH_R=yes])
|
||||
AM_CONDITIONAL(ALSA_HSEARCH_R, [test "x$HAVE_HSEARCH_R" != xyes])
|
||||
AC_CHECK_FUNCS([uselocale])
|
||||
|
||||
SAVE_LIBRARY_VERSION
|
||||
AC_SUBST(LIBTOOL_VERSION_INFO)
|
||||
|
||||
test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
||||
|
||||
dnl ALSA configuration directory
|
||||
AC_ARG_WITH(configdir,
|
||||
AS_HELP_STRING([--with-configdir=dir],
|
||||
[path where ALSA config files are stored]),
|
||||
confdir="$withval", confdir="")
|
||||
if test -z "$confdir"; then
|
||||
eval dir="$datadir"
|
||||
case "$dir" in
|
||||
/*) ;;
|
||||
*) dir="$prefix/share"
|
||||
esac
|
||||
confdir="$dir/alsa"
|
||||
fi
|
||||
ALSA_CONFIG_DIR="$confdir"
|
||||
AC_DEFINE_UNQUOTED(ALSA_CONFIG_DIR, "$confdir", [directory containing ALSA configuration database])
|
||||
AC_SUBST(ALSA_CONFIG_DIR)
|
||||
|
||||
dnl ALSA plugin directory
|
||||
test "x$exec_prefix" = xNONE && exec_prefix=$prefix
|
||||
|
||||
AC_ARG_WITH(plugindir,
|
||||
AS_HELP_STRING([--with-plugindir=dir],
|
||||
[path where ALSA plugin files are stored]),
|
||||
plugindir="$withval", plugindir="")
|
||||
if test -z "$plugindir"; then
|
||||
eval dir="$libdir"
|
||||
case "$dir" in
|
||||
/*) ;;
|
||||
*) dir="$dir"
|
||||
esac
|
||||
plugindir="$dir/$PACKAGE"
|
||||
fi
|
||||
AC_DEFINE_UNQUOTED(ALSA_PLUGIN_DIR, "$plugindir", [directory containing ALSA add-on modules])
|
||||
ALSA_PLUGIN_DIR="$plugindir"
|
||||
AC_SUBST(ALSA_PLUGIN_DIR)
|
||||
|
||||
dnl Check for versioned symbols
|
||||
AC_MSG_CHECKING(for versioned symbols)
|
||||
AC_ARG_WITH(versioned,
|
||||
AS_HELP_STRING([--with-versioned],
|
||||
[shared library will be compiled with versioned symbols (default = yes)]),
|
||||
versioned="$withval", versioned="yes")
|
||||
if test "$versioned" = "yes"; then
|
||||
# it seems that GNU ld versions since 2.10 are not broken
|
||||
xres=`grep '^VERSION=' ${srcdir}/ltmain.sh | cut -d = -f 2 | cut -d \" -f 2`
|
||||
major=`echo $xres | cut -d . -f 1`
|
||||
minor=`echo $xres | cut -d . -f 2`
|
||||
pass=0
|
||||
if test $major -eq 1 && test $minor -gt 3; then
|
||||
pass=1
|
||||
else
|
||||
if test $major -gt 1; then
|
||||
pass=1
|
||||
fi
|
||||
fi
|
||||
if test $pass -eq 1; then
|
||||
AC_DEFINE(VERSIONED_SYMBOLS,,[compiled with versioned symbols])
|
||||
AC_MSG_RESULT(yes)
|
||||
else
|
||||
AC_MSG_RESULT(broken libtool - use libtool v1.4+; no versions)
|
||||
fi
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
AM_CONDITIONAL(VERSIONED_SYMBOLS, test x$versioned = xyes)
|
||||
|
||||
dnl Check for symbolic-functions
|
||||
AC_MSG_CHECKING(for symbolic-functions)
|
||||
AC_ARG_ENABLE(symbolic-functions,
|
||||
AS_HELP_STRING([--enable-symbolic-functions],
|
||||
[use -Bsymbolic-functions option if available (optmization for size and speed)]),
|
||||
symfuncs="$enableval", symfuncs="no")
|
||||
if test "$symfuncs" = "yes"; then
|
||||
if ld --help | grep -q -- '-Bsymbolic-functions'; then
|
||||
AC_MSG_RESULT(yes)
|
||||
else
|
||||
AC_MSG_RESULT(not supported by ld)
|
||||
symfuncs="no"
|
||||
fi
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
AM_CONDITIONAL(SYMBOLIC_FUNCTIONS, test x"$symfuncs" = xyes)
|
||||
|
||||
dnl See if toolchain has a custom prefix for symbols ...
|
||||
AC_MSG_CHECKING(for custom symbol prefixes)
|
||||
SYMBOL_PREFIX=` \
|
||||
echo "PREFIX=__USER_LABEL_PREFIX__" \
|
||||
| ${CPP-${CC-gcc} -E} - 2>&1 \
|
||||
| ${EGREP-grep} "^PREFIX=" \
|
||||
| ${SED-sed} "s:^PREFIX=::"`
|
||||
AC_DEFINE_UNQUOTED([__SYMBOL_PREFIX], "$SYMBOL_PREFIX", [Toolchain Symbol Prefix])
|
||||
AC_SUBST(SYMBOL_PREFIX)
|
||||
AC_MSG_RESULT($SYMBOL_PREFIX)
|
||||
|
||||
dnl Check for debug...
|
||||
AC_MSG_CHECKING(for debug)
|
||||
AC_ARG_WITH(debug,
|
||||
AS_HELP_STRING([--with-debug],
|
||||
[library will be compiled with asserts (default = yes)]),
|
||||
debug="$withval", debug="yes")
|
||||
if test "$debug" = "yes"; then
|
||||
AC_MSG_RESULT(yes)
|
||||
else
|
||||
AC_DEFINE(NDEBUG,,[No assert debug])
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
|
||||
if test "$debug" = "yes"; then
|
||||
AC_MSG_CHECKING(for debug assert)
|
||||
AC_ARG_ENABLE(debug-assert,
|
||||
AS_HELP_STRING([--enable-debug],
|
||||
[enable assert call at the default error message handler]),
|
||||
debug_assert="$enableval", debug_assert="no")
|
||||
if test "$debug_assert" = "yes"; then
|
||||
AC_MSG_RESULT(yes)
|
||||
AC_DEFINE(ALSA_DEBUG_ASSERT,,[Enable assert at error message handler])
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
fi
|
||||
|
||||
dnl Temporary directory
|
||||
AC_MSG_CHECKING(for tmpdir)
|
||||
AC_ARG_WITH(tmpdir,
|
||||
AS_HELP_STRING([--with-tmpdir=directory],
|
||||
[directory to put tmp socket files (/tmp)]),
|
||||
tmpdir="$withval", tmpdir="/tmp")
|
||||
AC_MSG_RESULT($tmpdir)
|
||||
AC_DEFINE_UNQUOTED(TMPDIR, "$tmpdir", [directory to put tmp socket files])
|
||||
|
||||
dnl Check for softfloat...
|
||||
AC_MSG_CHECKING(for softfloat)
|
||||
AC_ARG_WITH(softfloat,
|
||||
AS_HELP_STRING([--with-softfloat],
|
||||
[do you have floating point unit on this machine? (optional)]),
|
||||
[case "$withval" in
|
||||
y|yes) softfloat=yes ;;
|
||||
*) softfloat=no ;;
|
||||
esac],)
|
||||
if test "$softfloat" = "yes" ; then
|
||||
AC_DEFINE(HAVE_SOFT_FLOAT, "1", [Avoid calculation in float])
|
||||
AC_MSG_RESULT(yes)
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
|
||||
ALSA_DEPLIBS=""
|
||||
if test "$softfloat" != "yes"; then
|
||||
ALSA_DEPLIBS="-lm"
|
||||
fi
|
||||
|
||||
dnl Check for libdl
|
||||
AC_MSG_CHECKING(for libdl)
|
||||
AC_ARG_WITH(libdl,
|
||||
AS_HELP_STRING([--with-libdl], [Use libdl for plugins (default = yes)]),
|
||||
[ have_libdl="$withval" ], [ have_libdl="yes" ])
|
||||
if test "$have_libdl" = "yes"; then
|
||||
AC_CHECK_LIB([dl], [dlsym], [HAVE_LIBDL="yes"])
|
||||
if test "$HAVE_LIBDL" = "yes" ; then
|
||||
ALSA_DEPLIBS="$ALSA_DEPLIBS -ldl"
|
||||
AC_DEFINE([HAVE_LIBDL], 1, [Have libdl])
|
||||
fi
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
AM_CONDITIONAL(BUILD_MODULES, test "$HAVE_LIBDL"="yes")
|
||||
|
||||
dnl Check for pthread
|
||||
AC_MSG_CHECKING(for pthread)
|
||||
AC_ARG_WITH(pthread,
|
||||
AS_HELP_STRING([--with-pthread], [Use pthread (default = yes)]),
|
||||
[ have_pthread="$withval" ], [ have_pthread="yes" ])
|
||||
if test "$have_pthread" = "yes"; then
|
||||
AC_CHECK_LIB([pthread], [pthread_join], [HAVE_LIBPTHREAD="yes"])
|
||||
if test "$HAVE_LIBPTHREAD" = "yes"; then
|
||||
ALSA_DEPLIBS="$ALSA_DEPLIBS -lpthread"
|
||||
AC_DEFINE([HAVE_LIBPTHREAD], 1, [Have libpthread])
|
||||
fi
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
|
||||
dnl Check for librt
|
||||
AC_MSG_CHECKING(for librt)
|
||||
AC_ARG_WITH(librt,
|
||||
AS_HELP_STRING([--with-librt], [Use librt for monotonic clock (default = yes)]),
|
||||
[ have_librt="$withval" ], [ have_librt="yes" ])
|
||||
if test "$have_librt" = "yes"; then
|
||||
AC_CHECK_LIB([rt], [clock_gettime], [HAVE_LIBRT="yes"])
|
||||
if test "$HAVE_LIBRT" = "yes" ; then
|
||||
ALSA_DEPLIBS="$ALSA_DEPLIBS -lrt"
|
||||
AC_DEFINE([HAVE_LIBRT], 1, [Have librt])
|
||||
AC_DEFINE([HAVE_CLOCK_GETTIME], 1, [Have clock gettime])
|
||||
fi
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
|
||||
AC_SUBST(ALSA_DEPLIBS)
|
||||
|
||||
dnl Check for architecture
|
||||
AC_MSG_CHECKING(for architecture)
|
||||
case "$host" in
|
||||
i?86*)
|
||||
AC_MSG_RESULT(x86)
|
||||
;;
|
||||
x86_64*)
|
||||
AC_MSG_RESULT(x86)
|
||||
;;
|
||||
alpha*)
|
||||
AC_MSG_RESULT(alpha)
|
||||
;;
|
||||
powerpc*|ppc*)
|
||||
AC_MSG_RESULT(ppc)
|
||||
CPPFLAGS="$CPPFLAGS -D__ppc__"
|
||||
;;
|
||||
ia64*)
|
||||
AC_MSG_RESULT(ia64)
|
||||
CPPFLAGS="$CPPFLAGS -D__ia64__"
|
||||
;;
|
||||
mips*)
|
||||
AC_MSG_RESULT(mips)
|
||||
CPPFLAGS="$CPPFLAGS -D__mips__"
|
||||
;;
|
||||
arm*)
|
||||
AC_MSG_RESULT(arm)
|
||||
CPPFLAGS="$CPPFLAGS -D__arm__"
|
||||
;;
|
||||
*)
|
||||
AC_MSG_RESULT($host_cpu)
|
||||
echo "No atomic operations supported.."
|
||||
;;
|
||||
esac
|
||||
|
||||
dnl Check for wordexp.h
|
||||
AC_CHECK_HEADERS([wordexp.h])
|
||||
|
||||
dnl Check for resmgr support...
|
||||
AC_MSG_CHECKING(for resmgr support)
|
||||
AC_ARG_ENABLE(resmgr,
|
||||
AS_HELP_STRING([--enable-resmgr], [support resmgr (optional)]),
|
||||
resmgr="$enableval", resmgr="no")
|
||||
AC_MSG_RESULT($resmgr)
|
||||
if test "$resmgr" = "yes"; then
|
||||
AC_CHECK_LIB(resmgr, rsm_open_device,,
|
||||
AC_ERROR([Cannot find libresmgr]))
|
||||
AC_DEFINE(SUPPORT_RESMGR, "1", [Support resmgr with alsa-lib])
|
||||
fi
|
||||
|
||||
dnl Check for aload* support...
|
||||
AC_MSG_CHECKING(for aload* support)
|
||||
AC_ARG_ENABLE(aload,
|
||||
AS_HELP_STRING([--disable-aload], [disable reading /dev/aload*]),
|
||||
aload="$enableval", aload="yes")
|
||||
AC_MSG_RESULT($aload)
|
||||
if test "$aload" = "yes"; then
|
||||
AC_DEFINE(SUPPORT_ALOAD, "1", [Support /dev/aload* access for auto-loading])
|
||||
fi
|
||||
|
||||
dnl Check for non-standard /dev directory
|
||||
AC_MSG_CHECKING([for ALSA device file directory])
|
||||
AC_ARG_WITH(alsa-devdir,
|
||||
AS_HELP_STRING([--with-alsa-devdir=dir],
|
||||
[directory with ALSA device files (default /dev/snd)]),
|
||||
[alsa_dev_dir="$withval"],
|
||||
[alsa_dev_dir="/dev/snd"])
|
||||
dnl make sure it has a trailing slash
|
||||
if echo "$alsa_dev_dir" | grep -v '/$' > /dev/null; then
|
||||
alsa_dev_dir="$alsa_dev_dir/"
|
||||
fi
|
||||
AC_DEFINE_UNQUOTED(ALSA_DEVICE_DIRECTORY, "$alsa_dev_dir", [Directory with ALSA device files])
|
||||
AC_MSG_RESULT([$alsa_dev_dir])
|
||||
|
||||
AC_MSG_CHECKING([for aload* device file directory])
|
||||
AC_ARG_WITH(aload-devdir,
|
||||
AS_HELP_STRING([--with-aload-devdir=dir],
|
||||
[directory with aload* device files (default /dev)]),
|
||||
[aload_dev_dir="$withval"],
|
||||
[aload_dev_dir="/dev"])
|
||||
if echo "$aload_dev_dir" | grep -v '/$' > /dev/null; then
|
||||
aload_dev_dir="$aload_dev_dir/"
|
||||
fi
|
||||
AC_DEFINE_UNQUOTED(ALOAD_DEVICE_DIRECTORY, "$aload_dev_dir", [Directory with aload* device files])
|
||||
AC_MSG_RESULT([$aload_dev_dir])
|
||||
|
||||
dnl Build conditions
|
||||
AC_ARG_ENABLE(mixer,
|
||||
AS_HELP_STRING([--disable-mixer], [disable the mixer component]),
|
||||
[build_mixer="$enableval"], [build_mixer="yes"])
|
||||
AC_ARG_ENABLE(pcm,
|
||||
AS_HELP_STRING([--disable-pcm], [disable the PCM component]),
|
||||
[build_pcm="$enableval"], [build_pcm="yes"])
|
||||
AC_ARG_ENABLE(rawmidi,
|
||||
AS_HELP_STRING([--disable-rawmidi], [disable the raw MIDI component]),
|
||||
[build_rawmidi="$enableval"], [build_rawmidi="yes"])
|
||||
AC_ARG_ENABLE(hwdep,
|
||||
AS_HELP_STRING([--disable-hwdep], [disable the hwdep component]),
|
||||
[build_hwdep="$enableval"], [build_hwdep="yes"])
|
||||
AC_ARG_ENABLE(seq,
|
||||
AS_HELP_STRING([--disable-seq], [disable the sequencer component]),
|
||||
[build_seq="$enableval"], [build_seq="yes"])
|
||||
AC_ARG_ENABLE(ucm,
|
||||
AS_HELP_STRING([--disable-ucm], [disable the use-case-manager component]),
|
||||
[build_ucm="$enableval"], [build_ucm="yes"])
|
||||
AC_ARG_ENABLE(alisp,
|
||||
AS_HELP_STRING([--disable-alisp], [disable the alisp component]),
|
||||
[build_alisp="$enableval"], [build_alisp="yes"])
|
||||
test "$softfloat" = "yes" && build_alisp="no"
|
||||
AC_ARG_ENABLE(old-symbols,
|
||||
AS_HELP_STRING([--disable-old-symbols], [disable old obsoleted symbols]),
|
||||
[keep_old_symbols="$enableval"], [keep_old_symbols="yes"])
|
||||
AM_CONDITIONAL(KEEP_OLD_SYMBOLS, test x$keep_old_symbols = xyes)
|
||||
|
||||
AC_ARG_ENABLE(python,
|
||||
AS_HELP_STRING([--disable-python], [disable the python components]),
|
||||
[build_python="$enableval"], [build_python="yes"])
|
||||
PYTHON_LIBS=""
|
||||
PYTHON_INCLUDES=""
|
||||
if test "$build_python" = "yes"; then
|
||||
AC_ARG_WITH(pythonlibs,
|
||||
AS_HELP_STRING([--with-pythonlibs=ldflags],
|
||||
[specify python libraries (-lpthread -lm -ldl -lpython2.4)]),
|
||||
pythonlibs="$withval", pythonlibs=`python-config --libs`)
|
||||
AC_ARG_WITH(pythonincludes,
|
||||
AS_HELP_STRING([--with-pythonincludes=Cflags],
|
||||
[specify python C header files (-I/usr/include/python)]),
|
||||
pythonincludes="$withval", pythonincludes=`python-config --includes`)
|
||||
if test -z "$pythonlibs"; then
|
||||
echo "Unable to determine python libraries! Probably python-config is not"
|
||||
echo "available on this system. Please, use --with-pythonlibs and"
|
||||
echo "--with-pythonincludes options. Python components are disabled in this build."
|
||||
build_python="no"
|
||||
else
|
||||
PYTHON_LIBS="$pythonlibs"
|
||||
PYTHON_INCLUDES="$pythonincludes"
|
||||
fi
|
||||
fi
|
||||
AC_SUBST(PYTHON_LIBS)
|
||||
AC_SUBST(PYTHON_INCLUDES)
|
||||
|
||||
AM_CONDITIONAL(BUILD_MIXER, test x$build_mixer = xyes)
|
||||
AM_CONDITIONAL(BUILD_PCM, test x$build_pcm = xyes)
|
||||
AM_CONDITIONAL(BUILD_RAWMIDI, test x$build_rawmidi = xyes)
|
||||
AM_CONDITIONAL(BUILD_HWDEP, test x$build_hwdep = xyes)
|
||||
AM_CONDITIONAL(BUILD_SEQ, test x$build_seq = xyes)
|
||||
AM_CONDITIONAL(BUILD_UCM, test x$build_ucm = xyes)
|
||||
AM_CONDITIONAL(BUILD_ALISP, test x$build_alisp = xyes)
|
||||
AM_CONDITIONAL(BUILD_PYTHON, test x$build_python = xyes)
|
||||
|
||||
if test "$build_mixer" = "yes"; then
|
||||
AC_DEFINE([BUILD_MIXER], "1", [Build mixer component])
|
||||
fi
|
||||
if test "$build_pcm" = "yes"; then
|
||||
AC_DEFINE([BUILD_PCM], "1", [Build PCM component])
|
||||
fi
|
||||
if test "$build_rawmidi" = "yes"; then
|
||||
AC_DEFINE([BUILD_RAWMIDI], "1", [Build raw MIDI component])
|
||||
fi
|
||||
if test "$build_hwdep" = "yes"; then
|
||||
AC_DEFINE([BUILD_HWDEP], "1", [Build hwdep component])
|
||||
fi
|
||||
if test "$build_seq" = "yes"; then
|
||||
AC_DEFINE([BUILD_SEQ], "1", [Build sequencer component])
|
||||
fi
|
||||
if test "$build_ucm" = "yes"; then
|
||||
AC_DEFINE([BUILD_UCM], "1", [Build UCM component])
|
||||
fi
|
||||
|
||||
dnl PCM Plugins
|
||||
|
||||
if test "$build_pcm" = "yes"; then
|
||||
AC_ARG_WITH(pcm-plugins,
|
||||
AS_HELP_STRING([--with-pcm-plugins=<list>],
|
||||
[build PCM plugins (default = all)]),
|
||||
[pcm_plugins="$withval"], [pcm_plugins="all"])
|
||||
else
|
||||
pcm_plugins=""
|
||||
fi
|
||||
|
||||
PCM_PLUGIN_LIST="copy linear route mulaw alaw adpcm rate plug multi shm file null empty share meter hooks lfloat ladspa dmix dshare dsnoop asym iec958 softvol extplug ioplug mmap_emul"
|
||||
|
||||
build_pcm_plugin="no"
|
||||
for t in $PCM_PLUGIN_LIST; do
|
||||
eval build_pcm_$t="no"
|
||||
done
|
||||
|
||||
pcm_plugins=`echo $pcm_plugins | sed 's/,/ /g'`
|
||||
for p in $pcm_plugins; do
|
||||
for t in $PCM_PLUGIN_LIST; do
|
||||
if test "$p" = "$t" -o "$p" = "all"; then
|
||||
eval build_pcm_$t="yes"
|
||||
build_pcm_plugin="yes"
|
||||
fi
|
||||
done
|
||||
done
|
||||
|
||||
dnl special dependencies
|
||||
if test "$build_pcm_plug" = "yes"; then
|
||||
build_pcm_linear="yes"
|
||||
build_pcm_copy="yes"
|
||||
fi
|
||||
|
||||
if test "$build_pcm_ioplug" = "yes"; then
|
||||
build_pcm_extplug="yes"
|
||||
fi
|
||||
|
||||
if test "$HAVE_LIBDL" != "yes"; then
|
||||
build_pcm_meter="no"
|
||||
build_pcm_ladspa="no"
|
||||
build_pcm_pcm_ioplug="no"
|
||||
build_pcm_pcm_extplug="no"
|
||||
fi
|
||||
|
||||
if test "$HAVE_LIBPTHREAD" != "yes"; then
|
||||
build_pcm_share="no"
|
||||
fi
|
||||
|
||||
if test "$softfloat" = "yes"; then
|
||||
build_pcm_lfloat="no"
|
||||
build_pcm_ladspa="no"
|
||||
fi
|
||||
|
||||
AM_CONDITIONAL(BUILD_PCM_PLUGIN, test x$build_pcm_plugin = xyes)
|
||||
AM_CONDITIONAL(BUILD_PCM_PLUGIN_COPY, test x$build_pcm_copy = xyes)
|
||||
AM_CONDITIONAL(BUILD_PCM_PLUGIN_LINEAR, test x$build_pcm_linear = xyes)
|
||||
AM_CONDITIONAL(BUILD_PCM_PLUGIN_ROUTE, test x$build_pcm_route = xyes)
|
||||
AM_CONDITIONAL(BUILD_PCM_PLUGIN_MULAW, test x$build_pcm_mulaw = xyes)
|
||||
AM_CONDITIONAL(BUILD_PCM_PLUGIN_ALAW, test x$build_pcm_alaw = xyes)
|
||||
AM_CONDITIONAL(BUILD_PCM_PLUGIN_ADPCM, test x$build_pcm_adpcm = xyes)
|
||||
AM_CONDITIONAL(BUILD_PCM_PLUGIN_RATE, test x$build_pcm_rate = xyes)
|
||||
AM_CONDITIONAL(BUILD_PCM_PLUGIN_PLUG, test x$build_pcm_plug = xyes)
|
||||
AM_CONDITIONAL(BUILD_PCM_PLUGIN_MULTI, test x$build_pcm_multi = xyes)
|
||||
AM_CONDITIONAL(BUILD_PCM_PLUGIN_SHM, test x$build_pcm_shm = xyes)
|
||||
AM_CONDITIONAL(BUILD_PCM_PLUGIN_FILE, test x$build_pcm_file = xyes)
|
||||
AM_CONDITIONAL(BUILD_PCM_PLUGIN_NULL, test x$build_pcm_null = xyes)
|
||||
AM_CONDITIONAL(BUILD_PCM_PLUGIN_EMPTY, test x$build_pcm_empty = xyes)
|
||||
AM_CONDITIONAL(BUILD_PCM_PLUGIN_SHARE, test x$build_pcm_share = xyes)
|
||||
AM_CONDITIONAL(BUILD_PCM_PLUGIN_METER, test x$build_pcm_meter = xyes)
|
||||
AM_CONDITIONAL(BUILD_PCM_PLUGIN_HOOKS, test x$build_pcm_hooks = xyes)
|
||||
AM_CONDITIONAL(BUILD_PCM_PLUGIN_LFLOAT, test x$build_pcm_lfloat = xyes)
|
||||
AM_CONDITIONAL(BUILD_PCM_PLUGIN_LADSPA, test x$build_pcm_ladspa = xyes)
|
||||
AM_CONDITIONAL(BUILD_PCM_PLUGIN_DMIX, test x$build_pcm_dmix = xyes)
|
||||
AM_CONDITIONAL(BUILD_PCM_PLUGIN_DSHARE, test x$build_pcm_dshare = xyes)
|
||||
AM_CONDITIONAL(BUILD_PCM_PLUGIN_DSNOOP, test x$build_pcm_dsnoop = xyes)
|
||||
AM_CONDITIONAL(BUILD_PCM_PLUGIN_ASYM, test x$build_pcm_asym = xyes)
|
||||
AM_CONDITIONAL(BUILD_PCM_PLUGIN_IEC958, test x$build_pcm_iec958 = xyes)
|
||||
AM_CONDITIONAL(BUILD_PCM_PLUGIN_SOFTVOL, test x$build_pcm_softvol = xyes)
|
||||
AM_CONDITIONAL(BUILD_PCM_PLUGIN_EXTPLUG, test x$build_pcm_extplug = xyes)
|
||||
AM_CONDITIONAL(BUILD_PCM_PLUGIN_IOPLUG, test x$build_pcm_ioplug = xyes)
|
||||
AM_CONDITIONAL(BUILD_PCM_PLUGIN_MMAP_EMUL, test x$build_pcm_mmap_emul = xyes)
|
||||
|
||||
dnl Defines for plug plugin
|
||||
if test "$build_pcm_rate" = "yes"; then
|
||||
AC_DEFINE([BUILD_PCM_PLUGIN_RATE], "1", [Build PCM rate plugin])
|
||||
fi
|
||||
if test "$build_pcm_route" = "yes"; then
|
||||
AC_DEFINE([BUILD_PCM_PLUGIN_ROUTE], "1", [Build PCM route plugin])
|
||||
fi
|
||||
if test "$build_pcm_lfloat" = "yes"; then
|
||||
AC_DEFINE([BUILD_PCM_PLUGIN_LFLOAT], "1", [Build PCM lfloat plugin])
|
||||
fi
|
||||
if test "$build_pcm_adpcm" = "yes"; then
|
||||
AC_DEFINE([BUILD_PCM_PLUGIN_ADPCM], "1", [Build PCM adpcm plugin])
|
||||
fi
|
||||
if test "$build_pcm_mulaw" = "yes"; then
|
||||
AC_DEFINE([BUILD_PCM_PLUGIN_MULAW], "1", [Build PCM mulaw plugin])
|
||||
fi
|
||||
if test "$build_pcm_alaw" = "yes"; then
|
||||
AC_DEFINE([BUILD_PCM_PLUGIN_ALAW], "1", [Build PCM alaw plugin])
|
||||
fi
|
||||
if test "$build_pcm_mmap_emul" = "yes"; then
|
||||
AC_DEFINE([BUILD_PCM_PLUGIN_MMAP_EMUL], "1", [Build PCM mmap-emul plugin])
|
||||
fi
|
||||
|
||||
|
||||
dnl Create PCM plugin symbol list for static library
|
||||
rm -f "$srcdir"/src/pcm/pcm_symbols_list.c
|
||||
touch "$srcdir"/src/pcm/pcm_symbols_list.c
|
||||
for t in $PCM_PLUGIN_LIST; do
|
||||
if eval test \$build_pcm_$t = yes; then
|
||||
echo \&_snd_module_pcm_$t, >> "$srcdir"/src/pcm/pcm_symbols_list.c
|
||||
fi
|
||||
done
|
||||
|
||||
dnl Control Plugins
|
||||
|
||||
AC_ARG_WITH(ctl-plugins,
|
||||
AS_HELP_STRING([--with-ctl-plugins=<list>],
|
||||
[build control plugins (default = all)]),
|
||||
[ctl_plugins="$withval"], [ctl_plugins="all"])
|
||||
|
||||
CTL_PLUGIN_LIST="shm ext"
|
||||
|
||||
build_ctl_plugin="no"
|
||||
for t in $CTL_PLUGIN_LIST; do
|
||||
eval build_ctl_$t="no"
|
||||
done
|
||||
|
||||
ctl_plugins=`echo $ctl_plugins | sed 's/,/ /g'`
|
||||
for p in $ctl_plugins; do
|
||||
for t in $CTL_PLUGIN_LIST; do
|
||||
if test "$p" = "$t" -o "$p" = "all"; then
|
||||
eval build_ctl_$t="yes"
|
||||
build_ctl_plugin="yes"
|
||||
fi
|
||||
done
|
||||
done
|
||||
|
||||
AM_CONDITIONAL(BUILD_CTL_PLUGIN, test x$build_ctl_plugin = xyes)
|
||||
AM_CONDITIONAL(BUILD_CTL_PLUGIN_SHM, test x$build_ctl_shm = xyes)
|
||||
AM_CONDITIONAL(BUILD_CTL_PLUGIN_EXT, test x$build_ctl_ext = xyes)
|
||||
|
||||
dnl Create ctl plugin symbol list for static library
|
||||
rm -f "$srcdir"/src/control/ctl_symbols_list.c
|
||||
touch "$srcdir"/src/control/ctl_symbols_list.c
|
||||
for t in $CTL_PLUGIN_LIST; do
|
||||
if eval test \$build_ctl_$t = yes; then
|
||||
echo \&_snd_module_control_$t, >> "$srcdir"/src/control/ctl_symbols_list.c
|
||||
fi
|
||||
done
|
||||
|
||||
dnl Make a symlink for inclusion of alsa/xxx.h
|
||||
if test ! -L "$srcdir"/include/alsa ; then
|
||||
echo "Making a symlink include/alsa"
|
||||
rm -f "$srcdir"/include/alsa
|
||||
ln -sf . "$srcdir"/include/alsa
|
||||
fi
|
||||
|
||||
AC_OUTPUT(Makefile doc/Makefile doc/pictures/Makefile doc/doxygen.cfg \
|
||||
include/Makefile include/sound/Makefile src/Versions src/Makefile \
|
||||
src/control/Makefile src/mixer/Makefile \
|
||||
src/pcm/Makefile src/pcm/scopes/Makefile \
|
||||
src/rawmidi/Makefile src/timer/Makefile \
|
||||
src/hwdep/Makefile src/seq/Makefile src/ucm/Makefile \
|
||||
src/compat/Makefile src/alisp/Makefile src/conf/Makefile \
|
||||
src/conf/cards/Makefile \
|
||||
src/conf/pcm/Makefile \
|
||||
modules/Makefile modules/mixer/Makefile modules/mixer/simple/Makefile \
|
||||
alsalisp/Makefile aserver/Makefile \
|
||||
test/Makefile test/lsb/Makefile \
|
||||
utils/Makefile utils/alsa-lib.spec utils/alsa.pc)
|
||||
|
||||
dnl Create asoundlib.h dynamically according to configure options
|
||||
echo "Creating asoundlib.h..."
|
||||
cp "$srcdir"/include/asoundlib-head.h include/asoundlib.h
|
||||
test "$build_pcm" = "yes" && echo "#include <alsa/pcm.h>" >> include/asoundlib.h
|
||||
test "$build_rawmidi" = "yes" && echo "#include <alsa/rawmidi.h>" >> include/asoundlib.h
|
||||
test "$build_pcm" = "yes" && echo "#include <alsa/timer.h>" >> include/asoundlib.h
|
||||
test "$build_hwdep" = "yes" && echo "#include <alsa/hwdep.h>" >> include/asoundlib.h
|
||||
echo "#include <alsa/control.h>" >> include/asoundlib.h
|
||||
test "$build_mixer" = "yes" && echo "#include <alsa/mixer.h>" >> include/asoundlib.h
|
||||
test "$build_seq" = "yes" && echo "#include <alsa/seq_event.h>" >> include/asoundlib.h
|
||||
test "$build_seq" = "yes" && echo "#include <alsa/seq.h>" >> include/asoundlib.h
|
||||
test "$build_seq" = "yes" && echo "#include <alsa/seqmid.h>" >> include/asoundlib.h
|
||||
test "$build_seq" = "yes" && echo "#include <alsa/seq_midi_event.h>" >> include/asoundlib.h
|
||||
cat "$srcdir"/include/asoundlib-tail.h >> include/asoundlib.h
|
||||
|
@@ -1,630 +0,0 @@
|
||||
#! /bin/sh
|
||||
# depcomp - compile a program generating dependencies as side-effects
|
||||
|
||||
scriptversion=2009-04-28.21; # UTC
|
||||
|
||||
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free
|
||||
# Software Foundation, Inc.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
# As a special exception to the GNU General Public License, if you
|
||||
# distribute this file as part of a program that contains a
|
||||
# configuration script generated by Autoconf, you may include it under
|
||||
# the same distribution terms that you use for the rest of that program.
|
||||
|
||||
# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
|
||||
|
||||
case $1 in
|
||||
'')
|
||||
echo "$0: No command. Try \`$0 --help' for more information." 1>&2
|
||||
exit 1;
|
||||
;;
|
||||
-h | --h*)
|
||||
cat <<\EOF
|
||||
Usage: depcomp [--help] [--version] PROGRAM [ARGS]
|
||||
|
||||
Run PROGRAMS ARGS to compile a file, generating dependencies
|
||||
as side-effects.
|
||||
|
||||
Environment variables:
|
||||
depmode Dependency tracking mode.
|
||||
source Source file read by `PROGRAMS ARGS'.
|
||||
object Object file output by `PROGRAMS ARGS'.
|
||||
DEPDIR directory where to store dependencies.
|
||||
depfile Dependency file to output.
|
||||
tmpdepfile Temporary file to use when outputing dependencies.
|
||||
libtool Whether libtool is used (yes/no).
|
||||
|
||||
Report bugs to <bug-automake@gnu.org>.
|
||||
EOF
|
||||
exit $?
|
||||
;;
|
||||
-v | --v*)
|
||||
echo "depcomp $scriptversion"
|
||||
exit $?
|
||||
;;
|
||||
esac
|
||||
|
||||
if test -z "$depmode" || test -z "$source" || test -z "$object"; then
|
||||
echo "depcomp: Variables source, object and depmode must be set" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po.
|
||||
depfile=${depfile-`echo "$object" |
|
||||
sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
|
||||
tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
|
||||
|
||||
rm -f "$tmpdepfile"
|
||||
|
||||
# Some modes work just like other modes, but use different flags. We
|
||||
# parameterize here, but still list the modes in the big case below,
|
||||
# to make depend.m4 easier to write. Note that we *cannot* use a case
|
||||
# here, because this file can only contain one case statement.
|
||||
if test "$depmode" = hp; then
|
||||
# HP compiler uses -M and no extra arg.
|
||||
gccflag=-M
|
||||
depmode=gcc
|
||||
fi
|
||||
|
||||
if test "$depmode" = dashXmstdout; then
|
||||
# This is just like dashmstdout with a different argument.
|
||||
dashmflag=-xM
|
||||
depmode=dashmstdout
|
||||
fi
|
||||
|
||||
cygpath_u="cygpath -u -f -"
|
||||
if test "$depmode" = msvcmsys; then
|
||||
# This is just like msvisualcpp but w/o cygpath translation.
|
||||
# Just convert the backslash-escaped backslashes to single forward
|
||||
# slashes to satisfy depend.m4
|
||||
cygpath_u="sed s,\\\\\\\\,/,g"
|
||||
depmode=msvisualcpp
|
||||
fi
|
||||
|
||||
case "$depmode" in
|
||||
gcc3)
|
||||
## gcc 3 implements dependency tracking that does exactly what
|
||||
## we want. Yay! Note: for some reason libtool 1.4 doesn't like
|
||||
## it if -MD -MP comes after the -MF stuff. Hmm.
|
||||
## Unfortunately, FreeBSD c89 acceptance of flags depends upon
|
||||
## the command line argument order; so add the flags where they
|
||||
## appear in depend2.am. Note that the slowdown incurred here
|
||||
## affects only configure: in makefiles, %FASTDEP% shortcuts this.
|
||||
for arg
|
||||
do
|
||||
case $arg in
|
||||
-c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;;
|
||||
*) set fnord "$@" "$arg" ;;
|
||||
esac
|
||||
shift # fnord
|
||||
shift # $arg
|
||||
done
|
||||
"$@"
|
||||
stat=$?
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile"
|
||||
exit $stat
|
||||
fi
|
||||
mv "$tmpdepfile" "$depfile"
|
||||
;;
|
||||
|
||||
gcc)
|
||||
## There are various ways to get dependency output from gcc. Here's
|
||||
## why we pick this rather obscure method:
|
||||
## - Don't want to use -MD because we'd like the dependencies to end
|
||||
## up in a subdir. Having to rename by hand is ugly.
|
||||
## (We might end up doing this anyway to support other compilers.)
|
||||
## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
|
||||
## -MM, not -M (despite what the docs say).
|
||||
## - Using -M directly means running the compiler twice (even worse
|
||||
## than renaming).
|
||||
if test -z "$gccflag"; then
|
||||
gccflag=-MD,
|
||||
fi
|
||||
"$@" -Wp,"$gccflag$tmpdepfile"
|
||||
stat=$?
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile"
|
||||
exit $stat
|
||||
fi
|
||||
rm -f "$depfile"
|
||||
echo "$object : \\" > "$depfile"
|
||||
alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
|
||||
## The second -e expression handles DOS-style file names with drive letters.
|
||||
sed -e 's/^[^:]*: / /' \
|
||||
-e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
|
||||
## This next piece of magic avoids the `deleted header file' problem.
|
||||
## The problem is that when a header file which appears in a .P file
|
||||
## is deleted, the dependency causes make to die (because there is
|
||||
## typically no way to rebuild the header). We avoid this by adding
|
||||
## dummy dependencies for each header file. Too bad gcc doesn't do
|
||||
## this for us directly.
|
||||
tr ' ' '
|
||||
' < "$tmpdepfile" |
|
||||
## Some versions of gcc put a space before the `:'. On the theory
|
||||
## that the space means something, we add a space to the output as
|
||||
## well.
|
||||
## Some versions of the HPUX 10.20 sed can't process this invocation
|
||||
## correctly. Breaking it into two sed invocations is a workaround.
|
||||
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
hp)
|
||||
# This case exists only to let depend.m4 do its work. It works by
|
||||
# looking at the text of this script. This case will never be run,
|
||||
# since it is checked for above.
|
||||
exit 1
|
||||
;;
|
||||
|
||||
sgi)
|
||||
if test "$libtool" = yes; then
|
||||
"$@" "-Wp,-MDupdate,$tmpdepfile"
|
||||
else
|
||||
"$@" -MDupdate "$tmpdepfile"
|
||||
fi
|
||||
stat=$?
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile"
|
||||
exit $stat
|
||||
fi
|
||||
rm -f "$depfile"
|
||||
|
||||
if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
|
||||
echo "$object : \\" > "$depfile"
|
||||
|
||||
# Clip off the initial element (the dependent). Don't try to be
|
||||
# clever and replace this with sed code, as IRIX sed won't handle
|
||||
# lines with more than a fixed number of characters (4096 in
|
||||
# IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
|
||||
# the IRIX cc adds comments like `#:fec' to the end of the
|
||||
# dependency line.
|
||||
tr ' ' '
|
||||
' < "$tmpdepfile" \
|
||||
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
|
||||
tr '
|
||||
' ' ' >> "$depfile"
|
||||
echo >> "$depfile"
|
||||
|
||||
# The second pass generates a dummy entry for each header file.
|
||||
tr ' ' '
|
||||
' < "$tmpdepfile" \
|
||||
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
|
||||
>> "$depfile"
|
||||
else
|
||||
# The sourcefile does not contain any dependencies, so just
|
||||
# store a dummy comment line, to avoid errors with the Makefile
|
||||
# "include basename.Plo" scheme.
|
||||
echo "#dummy" > "$depfile"
|
||||
fi
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
aix)
|
||||
# The C for AIX Compiler uses -M and outputs the dependencies
|
||||
# in a .u file. In older versions, this file always lives in the
|
||||
# current directory. Also, the AIX compiler puts `$object:' at the
|
||||
# start of each line; $object doesn't have directory information.
|
||||
# Version 6 uses the directory in both cases.
|
||||
dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
|
||||
test "x$dir" = "x$object" && dir=
|
||||
base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
|
||||
if test "$libtool" = yes; then
|
||||
tmpdepfile1=$dir$base.u
|
||||
tmpdepfile2=$base.u
|
||||
tmpdepfile3=$dir.libs/$base.u
|
||||
"$@" -Wc,-M
|
||||
else
|
||||
tmpdepfile1=$dir$base.u
|
||||
tmpdepfile2=$dir$base.u
|
||||
tmpdepfile3=$dir$base.u
|
||||
"$@" -M
|
||||
fi
|
||||
stat=$?
|
||||
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
|
||||
exit $stat
|
||||
fi
|
||||
|
||||
for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
|
||||
do
|
||||
test -f "$tmpdepfile" && break
|
||||
done
|
||||
if test -f "$tmpdepfile"; then
|
||||
# Each line is of the form `foo.o: dependent.h'.
|
||||
# Do two passes, one to just change these to
|
||||
# `$object: dependent.h' and one to simply `dependent.h:'.
|
||||
sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
|
||||
# That's a tab and a space in the [].
|
||||
sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
|
||||
else
|
||||
# The sourcefile does not contain any dependencies, so just
|
||||
# store a dummy comment line, to avoid errors with the Makefile
|
||||
# "include basename.Plo" scheme.
|
||||
echo "#dummy" > "$depfile"
|
||||
fi
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
icc)
|
||||
# Intel's C compiler understands `-MD -MF file'. However on
|
||||
# icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c
|
||||
# ICC 7.0 will fill foo.d with something like
|
||||
# foo.o: sub/foo.c
|
||||
# foo.o: sub/foo.h
|
||||
# which is wrong. We want:
|
||||
# sub/foo.o: sub/foo.c
|
||||
# sub/foo.o: sub/foo.h
|
||||
# sub/foo.c:
|
||||
# sub/foo.h:
|
||||
# ICC 7.1 will output
|
||||
# foo.o: sub/foo.c sub/foo.h
|
||||
# and will wrap long lines using \ :
|
||||
# foo.o: sub/foo.c ... \
|
||||
# sub/foo.h ... \
|
||||
# ...
|
||||
|
||||
"$@" -MD -MF "$tmpdepfile"
|
||||
stat=$?
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile"
|
||||
exit $stat
|
||||
fi
|
||||
rm -f "$depfile"
|
||||
# Each line is of the form `foo.o: dependent.h',
|
||||
# or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
|
||||
# Do two passes, one to just change these to
|
||||
# `$object: dependent.h' and one to simply `dependent.h:'.
|
||||
sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
|
||||
# Some versions of the HPUX 10.20 sed can't process this invocation
|
||||
# correctly. Breaking it into two sed invocations is a workaround.
|
||||
sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" |
|
||||
sed -e 's/$/ :/' >> "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
hp2)
|
||||
# The "hp" stanza above does not work with aCC (C++) and HP's ia64
|
||||
# compilers, which have integrated preprocessors. The correct option
|
||||
# to use with these is +Maked; it writes dependencies to a file named
|
||||
# 'foo.d', which lands next to the object file, wherever that
|
||||
# happens to be.
|
||||
# Much of this is similar to the tru64 case; see comments there.
|
||||
dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
|
||||
test "x$dir" = "x$object" && dir=
|
||||
base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
|
||||
if test "$libtool" = yes; then
|
||||
tmpdepfile1=$dir$base.d
|
||||
tmpdepfile2=$dir.libs/$base.d
|
||||
"$@" -Wc,+Maked
|
||||
else
|
||||
tmpdepfile1=$dir$base.d
|
||||
tmpdepfile2=$dir$base.d
|
||||
"$@" +Maked
|
||||
fi
|
||||
stat=$?
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile1" "$tmpdepfile2"
|
||||
exit $stat
|
||||
fi
|
||||
|
||||
for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2"
|
||||
do
|
||||
test -f "$tmpdepfile" && break
|
||||
done
|
||||
if test -f "$tmpdepfile"; then
|
||||
sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile"
|
||||
# Add `dependent.h:' lines.
|
||||
sed -ne '2,${
|
||||
s/^ *//
|
||||
s/ \\*$//
|
||||
s/$/:/
|
||||
p
|
||||
}' "$tmpdepfile" >> "$depfile"
|
||||
else
|
||||
echo "#dummy" > "$depfile"
|
||||
fi
|
||||
rm -f "$tmpdepfile" "$tmpdepfile2"
|
||||
;;
|
||||
|
||||
tru64)
|
||||
# The Tru64 compiler uses -MD to generate dependencies as a side
|
||||
# effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
|
||||
# At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
|
||||
# dependencies in `foo.d' instead, so we check for that too.
|
||||
# Subdirectories are respected.
|
||||
dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
|
||||
test "x$dir" = "x$object" && dir=
|
||||
base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
|
||||
|
||||
if test "$libtool" = yes; then
|
||||
# With Tru64 cc, shared objects can also be used to make a
|
||||
# static library. This mechanism is used in libtool 1.4 series to
|
||||
# handle both shared and static libraries in a single compilation.
|
||||
# With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d.
|
||||
#
|
||||
# With libtool 1.5 this exception was removed, and libtool now
|
||||
# generates 2 separate objects for the 2 libraries. These two
|
||||
# compilations output dependencies in $dir.libs/$base.o.d and
|
||||
# in $dir$base.o.d. We have to check for both files, because
|
||||
# one of the two compilations can be disabled. We should prefer
|
||||
# $dir$base.o.d over $dir.libs/$base.o.d because the latter is
|
||||
# automatically cleaned when .libs/ is deleted, while ignoring
|
||||
# the former would cause a distcleancheck panic.
|
||||
tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4
|
||||
tmpdepfile2=$dir$base.o.d # libtool 1.5
|
||||
tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5
|
||||
tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504
|
||||
"$@" -Wc,-MD
|
||||
else
|
||||
tmpdepfile1=$dir$base.o.d
|
||||
tmpdepfile2=$dir$base.d
|
||||
tmpdepfile3=$dir$base.d
|
||||
tmpdepfile4=$dir$base.d
|
||||
"$@" -MD
|
||||
fi
|
||||
|
||||
stat=$?
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
|
||||
exit $stat
|
||||
fi
|
||||
|
||||
for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
|
||||
do
|
||||
test -f "$tmpdepfile" && break
|
||||
done
|
||||
if test -f "$tmpdepfile"; then
|
||||
sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
|
||||
# That's a tab and a space in the [].
|
||||
sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
|
||||
else
|
||||
echo "#dummy" > "$depfile"
|
||||
fi
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
#nosideeffect)
|
||||
# This comment above is used by automake to tell side-effect
|
||||
# dependency tracking mechanisms from slower ones.
|
||||
|
||||
dashmstdout)
|
||||
# Important note: in order to support this mode, a compiler *must*
|
||||
# always write the preprocessed file to stdout, regardless of -o.
|
||||
"$@" || exit $?
|
||||
|
||||
# Remove the call to Libtool.
|
||||
if test "$libtool" = yes; then
|
||||
while test "X$1" != 'X--mode=compile'; do
|
||||
shift
|
||||
done
|
||||
shift
|
||||
fi
|
||||
|
||||
# Remove `-o $object'.
|
||||
IFS=" "
|
||||
for arg
|
||||
do
|
||||
case $arg in
|
||||
-o)
|
||||
shift
|
||||
;;
|
||||
$object)
|
||||
shift
|
||||
;;
|
||||
*)
|
||||
set fnord "$@" "$arg"
|
||||
shift # fnord
|
||||
shift # $arg
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
test -z "$dashmflag" && dashmflag=-M
|
||||
# Require at least two characters before searching for `:'
|
||||
# in the target name. This is to cope with DOS-style filenames:
|
||||
# a dependency such as `c:/foo/bar' could be seen as target `c' otherwise.
|
||||
"$@" $dashmflag |
|
||||
sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile"
|
||||
rm -f "$depfile"
|
||||
cat < "$tmpdepfile" > "$depfile"
|
||||
tr ' ' '
|
||||
' < "$tmpdepfile" | \
|
||||
## Some versions of the HPUX 10.20 sed can't process this invocation
|
||||
## correctly. Breaking it into two sed invocations is a workaround.
|
||||
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
dashXmstdout)
|
||||
# This case only exists to satisfy depend.m4. It is never actually
|
||||
# run, as this mode is specially recognized in the preamble.
|
||||
exit 1
|
||||
;;
|
||||
|
||||
makedepend)
|
||||
"$@" || exit $?
|
||||
# Remove any Libtool call
|
||||
if test "$libtool" = yes; then
|
||||
while test "X$1" != 'X--mode=compile'; do
|
||||
shift
|
||||
done
|
||||
shift
|
||||
fi
|
||||
# X makedepend
|
||||
shift
|
||||
cleared=no eat=no
|
||||
for arg
|
||||
do
|
||||
case $cleared in
|
||||
no)
|
||||
set ""; shift
|
||||
cleared=yes ;;
|
||||
esac
|
||||
if test $eat = yes; then
|
||||
eat=no
|
||||
continue
|
||||
fi
|
||||
case "$arg" in
|
||||
-D*|-I*)
|
||||
set fnord "$@" "$arg"; shift ;;
|
||||
# Strip any option that makedepend may not understand. Remove
|
||||
# the object too, otherwise makedepend will parse it as a source file.
|
||||
-arch)
|
||||
eat=yes ;;
|
||||
-*|$object)
|
||||
;;
|
||||
*)
|
||||
set fnord "$@" "$arg"; shift ;;
|
||||
esac
|
||||
done
|
||||
obj_suffix=`echo "$object" | sed 's/^.*\././'`
|
||||
touch "$tmpdepfile"
|
||||
${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
|
||||
rm -f "$depfile"
|
||||
cat < "$tmpdepfile" > "$depfile"
|
||||
sed '1,2d' "$tmpdepfile" | tr ' ' '
|
||||
' | \
|
||||
## Some versions of the HPUX 10.20 sed can't process this invocation
|
||||
## correctly. Breaking it into two sed invocations is a workaround.
|
||||
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
|
||||
rm -f "$tmpdepfile" "$tmpdepfile".bak
|
||||
;;
|
||||
|
||||
cpp)
|
||||
# Important note: in order to support this mode, a compiler *must*
|
||||
# always write the preprocessed file to stdout.
|
||||
"$@" || exit $?
|
||||
|
||||
# Remove the call to Libtool.
|
||||
if test "$libtool" = yes; then
|
||||
while test "X$1" != 'X--mode=compile'; do
|
||||
shift
|
||||
done
|
||||
shift
|
||||
fi
|
||||
|
||||
# Remove `-o $object'.
|
||||
IFS=" "
|
||||
for arg
|
||||
do
|
||||
case $arg in
|
||||
-o)
|
||||
shift
|
||||
;;
|
||||
$object)
|
||||
shift
|
||||
;;
|
||||
*)
|
||||
set fnord "$@" "$arg"
|
||||
shift # fnord
|
||||
shift # $arg
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
"$@" -E |
|
||||
sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
|
||||
-e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
|
||||
sed '$ s: \\$::' > "$tmpdepfile"
|
||||
rm -f "$depfile"
|
||||
echo "$object : \\" > "$depfile"
|
||||
cat < "$tmpdepfile" >> "$depfile"
|
||||
sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
msvisualcpp)
|
||||
# Important note: in order to support this mode, a compiler *must*
|
||||
# always write the preprocessed file to stdout.
|
||||
"$@" || exit $?
|
||||
|
||||
# Remove the call to Libtool.
|
||||
if test "$libtool" = yes; then
|
||||
while test "X$1" != 'X--mode=compile'; do
|
||||
shift
|
||||
done
|
||||
shift
|
||||
fi
|
||||
|
||||
IFS=" "
|
||||
for arg
|
||||
do
|
||||
case "$arg" in
|
||||
-o)
|
||||
shift
|
||||
;;
|
||||
$object)
|
||||
shift
|
||||
;;
|
||||
"-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
|
||||
set fnord "$@"
|
||||
shift
|
||||
shift
|
||||
;;
|
||||
*)
|
||||
set fnord "$@" "$arg"
|
||||
shift
|
||||
shift
|
||||
;;
|
||||
esac
|
||||
done
|
||||
"$@" -E 2>/dev/null |
|
||||
sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile"
|
||||
rm -f "$depfile"
|
||||
echo "$object : \\" > "$depfile"
|
||||
sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
|
||||
echo " " >> "$depfile"
|
||||
sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
msvcmsys)
|
||||
# This case exists only to let depend.m4 do its work. It works by
|
||||
# looking at the text of this script. This case will never be run,
|
||||
# since it is checked for above.
|
||||
exit 1
|
||||
;;
|
||||
|
||||
none)
|
||||
exec "$@"
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "Unknown depmode $depmode" 1>&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
|
||||
# Local Variables:
|
||||
# mode: shell-script
|
||||
# sh-indentation: 2
|
||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
||||
# time-stamp-start: "scriptversion="
|
||||
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
||||
# time-stamp-time-zone: "UTC"
|
||||
# time-stamp-end: "; # UTC"
|
||||
# End:
|
@@ -1,22 +0,0 @@
|
||||
SUBDIRS=pictures
|
||||
|
||||
EXTRA_DIST=README.1st asoundrc.txt doxygen.cfg index.doxygen
|
||||
|
||||
INCLUDES=-I$(top_srcdir)/include
|
||||
|
||||
doc:
|
||||
test -e doxygen.cfg || sed s:[@]top_srcdir[@]:..:g doxygen.cfg.in > doxygen.cfg
|
||||
doxygen doxygen.cfg
|
||||
|
||||
doc-pack: doc
|
||||
-chmod a+r $(top_srcdir)/doc/doxygen/html/*
|
||||
-chmod a-w $(top_srcdir)/doc/doxygen/html/*
|
||||
if ! test -z "$(AMTAR)"; then \
|
||||
$(AMTAR) --create --directory=$(top_srcdir)/doc/doxygen/html --verbose --file=- . | bzip2 -c -9 > $(top_srcdir)/../alsa-lib-doc.tar.bz2 ; \
|
||||
else \
|
||||
$(TAR) --create --directory=$(top_srcdir)/doc/doxygen/html --verbose --file=- . | bzip2 -c -9 > $(top_srcdir)/../alsa-lib-doc.tar.bz2 ; \
|
||||
fi
|
||||
rm -f $(top_srcdir)/doc/doxygen/html/*
|
||||
|
||||
doc-clean:
|
||||
rm -f $(top_srcdir)/doc/doxygen/html/*
|
@@ -1,588 +0,0 @@
|
||||
# Makefile.in generated by automake 1.11.1 from Makefile.am.
|
||||
# @configure_input@
|
||||
|
||||
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
||||
# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
|
||||
# Inc.
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
VPATH = @srcdir@
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkglibexecdir = $(libexecdir)/@PACKAGE@
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
install_sh_DATA = $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = $(install_sh) -c
|
||||
install_sh_SCRIPT = $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = $(program_transform_name)
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
build_triplet = @build@
|
||||
host_triplet = @host@
|
||||
subdir = doc
|
||||
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
|
||||
$(srcdir)/doxygen.cfg.in
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
|
||||
$(top_srcdir)/configure.in
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
mkinstalldirs = $(install_sh) -d
|
||||
CONFIG_HEADER = $(top_builddir)/include/config.h
|
||||
CONFIG_CLEAN_FILES = doxygen.cfg
|
||||
CONFIG_CLEAN_VPATH_FILES =
|
||||
AM_V_GEN = $(am__v_GEN_$(V))
|
||||
am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
|
||||
am__v_GEN_0 = @echo " GEN " $@;
|
||||
AM_V_at = $(am__v_at_$(V))
|
||||
am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
|
||||
am__v_at_0 = @
|
||||
SOURCES =
|
||||
DIST_SOURCES =
|
||||
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
|
||||
html-recursive info-recursive install-data-recursive \
|
||||
install-dvi-recursive install-exec-recursive \
|
||||
install-html-recursive install-info-recursive \
|
||||
install-pdf-recursive install-ps-recursive install-recursive \
|
||||
installcheck-recursive installdirs-recursive pdf-recursive \
|
||||
ps-recursive uninstall-recursive
|
||||
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
|
||||
distclean-recursive maintainer-clean-recursive
|
||||
AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
|
||||
$(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
|
||||
distdir
|
||||
ETAGS = etags
|
||||
CTAGS = ctags
|
||||
DIST_SUBDIRS = $(SUBDIRS)
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
am__relativize = \
|
||||
dir0=`pwd`; \
|
||||
sed_first='s,^\([^/]*\)/.*$$,\1,'; \
|
||||
sed_rest='s,^[^/]*/*,,'; \
|
||||
sed_last='s,^.*/\([^/]*\)$$,\1,'; \
|
||||
sed_butlast='s,/*[^/]*$$,,'; \
|
||||
while test -n "$$dir1"; do \
|
||||
first=`echo "$$dir1" | sed -e "$$sed_first"`; \
|
||||
if test "$$first" != "."; then \
|
||||
if test "$$first" = ".."; then \
|
||||
dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
|
||||
dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
|
||||
else \
|
||||
first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
|
||||
if test "$$first2" = "$$first"; then \
|
||||
dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
|
||||
else \
|
||||
dir2="../$$dir2"; \
|
||||
fi; \
|
||||
dir0="$$dir0"/"$$first"; \
|
||||
fi; \
|
||||
fi; \
|
||||
dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
|
||||
done; \
|
||||
reldir="$$dir2"
|
||||
ACLOCAL = @ACLOCAL@
|
||||
ALSA_CONFIG_DIR = @ALSA_CONFIG_DIR@
|
||||
ALSA_DEPLIBS = @ALSA_DEPLIBS@
|
||||
ALSA_PLUGIN_DIR = @ALSA_PLUGIN_DIR@
|
||||
AMTAR = @AMTAR@
|
||||
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
|
||||
AR = @AR@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AWK = @AWK@
|
||||
CC = @CC@
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
CFLAGS = @CFLAGS@
|
||||
CPP = @CPP@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CXX = @CXX@
|
||||
CXXCPP = @CXXCPP@
|
||||
CXXDEPMODE = @CXXDEPMODE@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
ECHO = @ECHO@
|
||||
ECHO_C = @ECHO_C@
|
||||
ECHO_N = @ECHO_N@
|
||||
ECHO_T = @ECHO_T@
|
||||
EGREP = @EGREP@
|
||||
EXEEXT = @EXEEXT@
|
||||
F77 = @F77@
|
||||
FFLAGS = @FFLAGS@
|
||||
GREP = @GREP@
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
LIBTOOL_VERSION_INFO = @LIBTOOL_VERSION_INFO@
|
||||
LN_S = @LN_S@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
OBJEXT = @OBJEXT@
|
||||
PACKAGE = @PACKAGE@
|
||||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||
PACKAGE_NAME = @PACKAGE_NAME@
|
||||
PACKAGE_STRING = @PACKAGE_STRING@
|
||||
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||
PACKAGE_URL = @PACKAGE_URL@
|
||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||
PYTHON_INCLUDES = @PYTHON_INCLUDES@
|
||||
PYTHON_LIBS = @PYTHON_LIBS@
|
||||
RANLIB = @RANLIB@
|
||||
SET_MAKE = @SET_MAKE@
|
||||
SHELL = @SHELL@
|
||||
SND_LIB_EXTRAVER = @SND_LIB_EXTRAVER@
|
||||
SND_LIB_MAJOR = @SND_LIB_MAJOR@
|
||||
SND_LIB_MINOR = @SND_LIB_MINOR@
|
||||
SND_LIB_SUBMINOR = @SND_LIB_SUBMINOR@
|
||||
SND_LIB_VERSION = @SND_LIB_VERSION@
|
||||
STRIP = @STRIP@
|
||||
SYMBOL_PREFIX = @SYMBOL_PREFIX@
|
||||
VERSION = @VERSION@
|
||||
abs_builddir = @abs_builddir@
|
||||
abs_srcdir = @abs_srcdir@
|
||||
abs_top_builddir = @abs_top_builddir@
|
||||
abs_top_srcdir = @abs_top_srcdir@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
ac_ct_CXX = @ac_ct_CXX@
|
||||
ac_ct_F77 = @ac_ct_F77@
|
||||
am__include = @am__include@
|
||||
am__leading_dot = @am__leading_dot@
|
||||
am__quote = @am__quote@
|
||||
am__tar = @am__tar@
|
||||
am__untar = @am__untar@
|
||||
bindir = @bindir@
|
||||
build = @build@
|
||||
build_alias = @build_alias@
|
||||
build_cpu = @build_cpu@
|
||||
build_os = @build_os@
|
||||
build_vendor = @build_vendor@
|
||||
builddir = @builddir@
|
||||
datadir = @datadir@
|
||||
datarootdir = @datarootdir@
|
||||
docdir = @docdir@
|
||||
dvidir = @dvidir@
|
||||
exec_prefix = @exec_prefix@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
host_os = @host_os@
|
||||
host_vendor = @host_vendor@
|
||||
htmldir = @htmldir@
|
||||
includedir = @includedir@
|
||||
infodir = @infodir@
|
||||
install_sh = @install_sh@
|
||||
libdir = @libdir@
|
||||
libexecdir = @libexecdir@
|
||||
localedir = @localedir@
|
||||
localstatedir = @localstatedir@
|
||||
mandir = @mandir@
|
||||
mkdir_p = @mkdir_p@
|
||||
oldincludedir = @oldincludedir@
|
||||
pdfdir = @pdfdir@
|
||||
prefix = @prefix@
|
||||
program_transform_name = @program_transform_name@
|
||||
psdir = @psdir@
|
||||
sbindir = @sbindir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
srcdir = @srcdir@
|
||||
sysconfdir = @sysconfdir@
|
||||
target_alias = @target_alias@
|
||||
top_build_prefix = @top_build_prefix@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
SUBDIRS = pictures
|
||||
EXTRA_DIST = README.1st asoundrc.txt doxygen.cfg index.doxygen
|
||||
INCLUDES = -I$(top_srcdir)/include
|
||||
all: all-recursive
|
||||
|
||||
.SUFFIXES:
|
||||
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
||||
@for dep in $?; do \
|
||||
case '$(am__configure_deps)' in \
|
||||
*$$dep*) \
|
||||
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
|
||||
&& { if test -f $@; then exit 0; else break; fi; }; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/Makefile'; \
|
||||
$(am__cd) $(top_srcdir) && \
|
||||
$(AUTOMAKE) --foreign doc/Makefile
|
||||
.PRECIOUS: Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
|
||||
*) \
|
||||
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
|
||||
esac;
|
||||
|
||||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
|
||||
$(top_srcdir)/configure: $(am__configure_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(am__aclocal_m4_deps):
|
||||
doxygen.cfg: $(top_builddir)/config.status $(srcdir)/doxygen.cfg.in
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
||||
|
||||
mostlyclean-libtool:
|
||||
-rm -f *.lo
|
||||
|
||||
clean-libtool:
|
||||
-rm -rf .libs _libs
|
||||
|
||||
# This directory's subdirectories are mostly independent; you can cd
|
||||
# into them and run `make' without going through this Makefile.
|
||||
# To change the values of `make' variables: instead of editing Makefiles,
|
||||
# (1) if the variable is set in `config.status', edit `config.status'
|
||||
# (which will cause the Makefiles to be regenerated when you run `make');
|
||||
# (2) otherwise, pass the desired values on the `make' command line.
|
||||
$(RECURSIVE_TARGETS):
|
||||
@fail= failcom='exit 1'; \
|
||||
for f in x $$MAKEFLAGS; do \
|
||||
case $$f in \
|
||||
*=* | --[!k]*);; \
|
||||
*k*) failcom='fail=yes';; \
|
||||
esac; \
|
||||
done; \
|
||||
dot_seen=no; \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
echo "Making $$target in $$subdir"; \
|
||||
if test "$$subdir" = "."; then \
|
||||
dot_seen=yes; \
|
||||
local_target="$$target-am"; \
|
||||
else \
|
||||
local_target="$$target"; \
|
||||
fi; \
|
||||
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||
|| eval $$failcom; \
|
||||
done; \
|
||||
if test "$$dot_seen" = "no"; then \
|
||||
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
||||
fi; test -z "$$fail"
|
||||
|
||||
$(RECURSIVE_CLEAN_TARGETS):
|
||||
@fail= failcom='exit 1'; \
|
||||
for f in x $$MAKEFLAGS; do \
|
||||
case $$f in \
|
||||
*=* | --[!k]*);; \
|
||||
*k*) failcom='fail=yes';; \
|
||||
esac; \
|
||||
done; \
|
||||
dot_seen=no; \
|
||||
case "$@" in \
|
||||
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
|
||||
*) list='$(SUBDIRS)' ;; \
|
||||
esac; \
|
||||
rev=''; for subdir in $$list; do \
|
||||
if test "$$subdir" = "."; then :; else \
|
||||
rev="$$subdir $$rev"; \
|
||||
fi; \
|
||||
done; \
|
||||
rev="$$rev ."; \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
for subdir in $$rev; do \
|
||||
echo "Making $$target in $$subdir"; \
|
||||
if test "$$subdir" = "."; then \
|
||||
local_target="$$target-am"; \
|
||||
else \
|
||||
local_target="$$target"; \
|
||||
fi; \
|
||||
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||
|| eval $$failcom; \
|
||||
done && test -z "$$fail"
|
||||
tags-recursive:
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
||||
done
|
||||
ctags-recursive:
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
|
||||
done
|
||||
|
||||
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
mkid -fID $$unique
|
||||
tags: TAGS
|
||||
|
||||
TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
set x; \
|
||||
here=`pwd`; \
|
||||
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
|
||||
include_option=--etags-include; \
|
||||
empty_fix=.; \
|
||||
else \
|
||||
include_option=--include; \
|
||||
empty_fix=; \
|
||||
fi; \
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
test ! -f $$subdir/TAGS || \
|
||||
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
|
||||
fi; \
|
||||
done; \
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
shift; \
|
||||
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
|
||||
test -n "$$unique" || unique=$$empty_fix; \
|
||||
if test $$# -gt 0; then \
|
||||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
"$$@" $$unique; \
|
||||
else \
|
||||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
$$unique; \
|
||||
fi; \
|
||||
fi
|
||||
ctags: CTAGS
|
||||
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
test -z "$(CTAGS_ARGS)$$unique" \
|
||||
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
||||
$$unique
|
||||
|
||||
GTAGS:
|
||||
here=`$(am__cd) $(top_builddir) && pwd` \
|
||||
&& $(am__cd) $(top_srcdir) \
|
||||
&& gtags -i $(GTAGS_ARGS) "$$here"
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
list='$(DISTFILES)'; \
|
||||
dist_files=`for file in $$list; do echo $$file; done | \
|
||||
sed -e "s|^$$srcdirstrip/||;t" \
|
||||
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
||||
case $$dist_files in \
|
||||
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
||||
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
||||
sort -u` ;; \
|
||||
esac; \
|
||||
for file in $$dist_files; do \
|
||||
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test -d "$(distdir)/$$file"; then \
|
||||
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||
fi; \
|
||||
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
|
||||
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||
fi; \
|
||||
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
|
||||
else \
|
||||
test -f "$(distdir)/$$file" \
|
||||
|| cp -p $$d/$$file "$(distdir)/$$file" \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
test -d "$(distdir)/$$subdir" \
|
||||
|| $(MKDIR_P) "$(distdir)/$$subdir" \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
|
||||
$(am__relativize); \
|
||||
new_distdir=$$reldir; \
|
||||
dir1=$$subdir; dir2="$(top_distdir)"; \
|
||||
$(am__relativize); \
|
||||
new_top_distdir=$$reldir; \
|
||||
echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
|
||||
echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
|
||||
($(am__cd) $$subdir && \
|
||||
$(MAKE) $(AM_MAKEFLAGS) \
|
||||
top_distdir="$$new_top_distdir" \
|
||||
distdir="$$new_distdir" \
|
||||
am__remove_distdir=: \
|
||||
am__skip_length_check=: \
|
||||
am__skip_mode_fix=: \
|
||||
distdir) \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
check-am: all-am
|
||||
check: check-recursive
|
||||
all-am: Makefile
|
||||
installdirs: installdirs-recursive
|
||||
installdirs-am:
|
||||
install: install-recursive
|
||||
install-exec: install-exec-recursive
|
||||
install-data: install-data-recursive
|
||||
uninstall: uninstall-recursive
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-recursive
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
clean: clean-recursive
|
||||
|
||||
clean-am: clean-generic clean-libtool mostlyclean-am
|
||||
|
||||
distclean: distclean-recursive
|
||||
-rm -f Makefile
|
||||
distclean-am: clean-am distclean-generic distclean-tags
|
||||
|
||||
dvi: dvi-recursive
|
||||
|
||||
dvi-am:
|
||||
|
||||
html: html-recursive
|
||||
|
||||
html-am:
|
||||
|
||||
info: info-recursive
|
||||
|
||||
info-am:
|
||||
|
||||
install-data-am:
|
||||
|
||||
install-dvi: install-dvi-recursive
|
||||
|
||||
install-dvi-am:
|
||||
|
||||
install-exec-am:
|
||||
|
||||
install-html: install-html-recursive
|
||||
|
||||
install-html-am:
|
||||
|
||||
install-info: install-info-recursive
|
||||
|
||||
install-info-am:
|
||||
|
||||
install-man:
|
||||
|
||||
install-pdf: install-pdf-recursive
|
||||
|
||||
install-pdf-am:
|
||||
|
||||
install-ps: install-ps-recursive
|
||||
|
||||
install-ps-am:
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-recursive
|
||||
-rm -f Makefile
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||
|
||||
mostlyclean: mostlyclean-recursive
|
||||
|
||||
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
|
||||
|
||||
pdf: pdf-recursive
|
||||
|
||||
pdf-am:
|
||||
|
||||
ps: ps-recursive
|
||||
|
||||
ps-am:
|
||||
|
||||
uninstall-am:
|
||||
|
||||
.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
|
||||
install-am install-strip tags-recursive
|
||||
|
||||
.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
|
||||
all all-am check check-am clean clean-generic clean-libtool \
|
||||
ctags ctags-recursive distclean distclean-generic \
|
||||
distclean-libtool distclean-tags distdir dvi dvi-am html \
|
||||
html-am info info-am install install-am install-data \
|
||||
install-data-am install-dvi install-dvi-am install-exec \
|
||||
install-exec-am install-html install-html-am install-info \
|
||||
install-info-am install-man install-pdf install-pdf-am \
|
||||
install-ps install-ps-am install-strip installcheck \
|
||||
installcheck-am installdirs installdirs-am maintainer-clean \
|
||||
maintainer-clean-generic mostlyclean mostlyclean-generic \
|
||||
mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
|
||||
uninstall uninstall-am
|
||||
|
||||
|
||||
doc:
|
||||
test -e doxygen.cfg || sed s:[@]top_srcdir[@]:..:g doxygen.cfg.in > doxygen.cfg
|
||||
doxygen doxygen.cfg
|
||||
|
||||
doc-pack: doc
|
||||
-chmod a+r $(top_srcdir)/doc/doxygen/html/*
|
||||
-chmod a-w $(top_srcdir)/doc/doxygen/html/*
|
||||
if ! test -z "$(AMTAR)"; then \
|
||||
$(AMTAR) --create --directory=$(top_srcdir)/doc/doxygen/html --verbose --file=- . | bzip2 -c -9 > $(top_srcdir)/../alsa-lib-doc.tar.bz2 ; \
|
||||
else \
|
||||
$(TAR) --create --directory=$(top_srcdir)/doc/doxygen/html --verbose --file=- . | bzip2 -c -9 > $(top_srcdir)/../alsa-lib-doc.tar.bz2 ; \
|
||||
fi
|
||||
rm -f $(top_srcdir)/doc/doxygen/html/*
|
||||
|
||||
doc-clean:
|
||||
rm -f $(top_srcdir)/doc/doxygen/html/*
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
@@ -1,2 +0,0 @@
|
||||
The doxygen documentation is created with command 'make doc' in toplevel
|
||||
directory.
|
@@ -1,480 +0,0 @@
|
||||
# Configuration file syntax
|
||||
|
||||
# Include a new configuration file
|
||||
<filename>
|
||||
|
||||
# Simple assign
|
||||
name [=] value [,|;]
|
||||
|
||||
# Compound assign (first style)
|
||||
name [=] {
|
||||
name1 [=] value [,|;]
|
||||
...
|
||||
}
|
||||
|
||||
# Compound assign (second style)
|
||||
name.name1 [=] value [,|;]
|
||||
|
||||
# Array assign (first style)
|
||||
name [
|
||||
value0 [,|;]
|
||||
value1 [,|;]
|
||||
...
|
||||
]
|
||||
|
||||
# Array assign (second style)
|
||||
name.0 [=] value0 [,|;]
|
||||
name.1 [=] value1 [,|;]
|
||||
|
||||
# ******************************************************************************
|
||||
|
||||
# Server definition
|
||||
server.NAME {
|
||||
host STR # host where the server is located (if map to local address
|
||||
# server is local, and then it may be started automatically)
|
||||
[socket STR] # PF_LOCAL socket name to listen/connect
|
||||
[port INT] # PF_INET port number to listen/connect
|
||||
}
|
||||
|
||||
# PCM type definition
|
||||
pcm_type.NAME {
|
||||
[lib STR] # Library file (default libasound.so)
|
||||
[open STR] # Open function (default _snd_pcm_NAME_open)
|
||||
[redirect { # Redirect this PCM to an another
|
||||
[filename STR] # Configuration file specification
|
||||
name STR # PCM name specification
|
||||
}]
|
||||
}
|
||||
|
||||
# PCM scope type definition
|
||||
pcm_scope_type.NAME {
|
||||
[lib STR] # Library file (default libasound.so)
|
||||
[open STR] # Open function (default _snd_pcm_scope_NAME_open)
|
||||
}
|
||||
|
||||
# PCM scope definition
|
||||
pcm_scope.NAME {
|
||||
type STR # Scope type
|
||||
...
|
||||
}
|
||||
|
||||
# Slave PCM definition
|
||||
pcm_slave.NAME {
|
||||
pcm STR # PCM name
|
||||
# or
|
||||
pcm { } # PCM definition
|
||||
format STR # Format
|
||||
channels INT # Channels
|
||||
rate INT # Rate
|
||||
period_time INT # Period time
|
||||
buffer_time INT # Buffer time
|
||||
etc.
|
||||
}
|
||||
|
||||
# Hook arguments definition
|
||||
hook_args.NAME {
|
||||
... # Arbitrary arguments
|
||||
}
|
||||
|
||||
# PCM hook type
|
||||
pcm_hook_type.NAME {
|
||||
[lib STR] # Library file (default libasound.so)
|
||||
[install STR] # Install function (default _snd_pcm_hook_NAME_install)
|
||||
}
|
||||
|
||||
# PCM hook definition
|
||||
pcm_hook.NAME {
|
||||
type STR # PCM Hook type (see pcm_hook_type)
|
||||
[args STR] # Arguments for install function (see hook_args)
|
||||
# or
|
||||
[args { }] # Arguments for install function
|
||||
}
|
||||
|
||||
# PCM definition
|
||||
pcm.NAME {
|
||||
type STR # Type
|
||||
[comment ANY] # Saved comments
|
||||
|
||||
|
||||
# PCM types:
|
||||
type hw # Kernel PCM
|
||||
card INT/STR # Card name or number
|
||||
[device] INT # Device number (default 0)
|
||||
[subdevice] INT # Subdevice number, -1 first available (default -1)
|
||||
mmap_emulation BOOL # enable mmap emulation for ro/wo devices
|
||||
|
||||
|
||||
type hooks # PCM with hooks
|
||||
slave STR # Slave name (see pcm_slave)
|
||||
# or
|
||||
slave { # Slave definition
|
||||
pcm STR # Slave PCM name
|
||||
# or
|
||||
pcm { } # Slave PCM definition
|
||||
}
|
||||
hooks {
|
||||
ID STR # Hook name (see pcm_hook)
|
||||
# or
|
||||
ID { } # Hook definition (see pcm_hook)
|
||||
}
|
||||
|
||||
type plug # Format adjusted PCM
|
||||
slave STR # Slave name (see pcm_slave)
|
||||
# or
|
||||
slave { # Slave definition
|
||||
pcm STR # Slave PCM name
|
||||
# or
|
||||
pcm { } # Slave PCM definition
|
||||
[format STR] # Slave format (default nearest) or "unchanged"
|
||||
[channels INT] # Slave channels (default nearest) or "unchanged"
|
||||
[rate INT] # Slave rate (default nearest) or "unchanged"
|
||||
}
|
||||
route_policy STR # route policy for automatic ttable generation
|
||||
# STR can be 'default', 'average', 'copy', 'duplicate'
|
||||
# average: result is average of input channels
|
||||
# copy: only first channels are copied to destination
|
||||
# duplicate: duplicate first set of channels
|
||||
# default: copy policy, except for mono capture - sum
|
||||
ttable { # Transfer table (bidimensional compound of
|
||||
# cchannels * schannels numbers)
|
||||
CCHANNEL {
|
||||
SCHANNEL REAL # route value (0.0 ... 1.0)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
type copy # Copy conversion PCM
|
||||
slave STR # Slave name (see pcm_slave)
|
||||
# or
|
||||
slave { # Slave definition
|
||||
pcm STR # Slave PCM name
|
||||
# or
|
||||
pcm { } # Slave PCM definition
|
||||
}
|
||||
|
||||
|
||||
type linear # Linear format conversion PCM
|
||||
type adpcm # IMA-ADPCM format conversion PCM
|
||||
type alaw # A-Law format conversion PCM
|
||||
type mulaw # Mu-Law format conversion PCM
|
||||
slave STR # Slave name (see pcm_slave)
|
||||
# or
|
||||
slave { # Slave definition
|
||||
pcm STR # Slave PCM name
|
||||
# or
|
||||
pcm { } # Slave PCM definition
|
||||
format STR # Slave format
|
||||
}
|
||||
|
||||
|
||||
type rate # Rate conversion PCM
|
||||
slave STR # Slave name (see pcm_slave)
|
||||
# or
|
||||
slave { # Slave definition
|
||||
pcm STR # Slave PCM name
|
||||
# or
|
||||
pcm { } # Slave PCM definition
|
||||
[format STR] # Slave format (default client format)
|
||||
rate INT # Slave rate
|
||||
}
|
||||
|
||||
|
||||
type route # Attenuated static route PCM
|
||||
slave STR # Slave name (see pcm_slave)
|
||||
# or
|
||||
slave { # Slave definition
|
||||
pcm STR # Slave PCM name
|
||||
# or
|
||||
pcm { } # Slave PCM definition
|
||||
[format STR] # Slave format (default client format)
|
||||
[channels INT] # Slave channels (default client channels)
|
||||
}
|
||||
ttable { # Transfer table (bidimensional compound of
|
||||
# cchannels * schannels numbers)
|
||||
CCHANNEL {
|
||||
SCHANNEL REAL # route value (0.0 ... 1.0)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
type multi # Linked PCMs (exclusive access to selected channels)
|
||||
slaves { # Slaves definitions
|
||||
ID STR # Slave name for slave N (see pcm_slave)
|
||||
# or
|
||||
ID { # Slave definition for slave N
|
||||
pcm STR # Slave PCM name
|
||||
# or
|
||||
pcm { } # Slave PCM definition
|
||||
channels INT # Slave channels
|
||||
}
|
||||
}
|
||||
bindings { # Bindings table
|
||||
N { # Binding for client channel N
|
||||
slave STR # Slave key
|
||||
channel INT # Slave channel
|
||||
}
|
||||
}
|
||||
[master INT] # Define the master slave
|
||||
|
||||
|
||||
type file # File plugin
|
||||
slave STR # Slave name (see pcm_slave)
|
||||
# or
|
||||
slave { # Slave definition
|
||||
pcm STR # Slave PCM name
|
||||
# or
|
||||
pcm { } # Slave PCM definition
|
||||
}
|
||||
file STR # File name
|
||||
# or
|
||||
file INT # File descriptor
|
||||
[format STR] # File format (NYI)
|
||||
[perm INT] # File permission (default 0600)
|
||||
|
||||
type meter # Meter PCM
|
||||
slave STR # Slave name (see pcm_slave)
|
||||
# or
|
||||
slave { # Slave definition or name
|
||||
pcm STR # Slave PCM name
|
||||
# or
|
||||
pcm { } # Slave PCM definition
|
||||
}
|
||||
[frequency INT] # Updates per second
|
||||
scopes { # Scopes
|
||||
ID STR # Scope name (see pcm_scope)
|
||||
# or
|
||||
ID { } # Scope definition (see pcm_scope)
|
||||
}
|
||||
|
||||
|
||||
type droute # Attenuated dynamic route PCM (NYI)
|
||||
slave STR # Slave name (see pcm_slave)
|
||||
# or
|
||||
slave { # Slave definition
|
||||
pcm STR # Slave PCM name
|
||||
# or
|
||||
pcm { } # Slave PCM definition
|
||||
[format STR] # Slave format (default client format)
|
||||
[channels INT] # Slave channels (default client channels)
|
||||
}
|
||||
ctl STR # Ctl name
|
||||
bindings { # Bindings table
|
||||
ID { # Binding entry
|
||||
cchannels { # Client channels
|
||||
C INT # Client channel
|
||||
}
|
||||
schannel { # Slave channels
|
||||
S INT # Slave channel
|
||||
}
|
||||
control STR # Control name of C * S (or C values: only if C == S)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
type null # Null endpoint plugin
|
||||
[time INT] # Time related or not (NYI)
|
||||
|
||||
|
||||
type shm # Shared memory client PCM
|
||||
server STR # Server name
|
||||
pcm STR # PCM name on server
|
||||
|
||||
|
||||
type share # Share PCM
|
||||
slave STR # Slave name (see pcm_slave)
|
||||
bindings { # Bindings table
|
||||
N INT # Slave channel for client channel N
|
||||
}
|
||||
|
||||
|
||||
type mix # Mix PCM
|
||||
slave STR # Slave name (see pcm_slave)
|
||||
bindings { # Bindings table
|
||||
N INT # Slave channel for client channel N
|
||||
}
|
||||
|
||||
|
||||
type ladspa # LADSPA plugin PCM
|
||||
slave STR # Slave name (see pcm_slave)
|
||||
path STR # Path or paths (delimited with ':')
|
||||
plugins | playback_plugins | capture_plugins {
|
||||
N { # Configuration for LADSPA plugin N
|
||||
id # # LADSPA plugin ID (for example 1043)
|
||||
label STR # LADSPA plugin label (for example 'delay_5s')
|
||||
filename STR # Full filename of .so library with LADPA plugin code
|
||||
policy STR # Policy can be 'none' or 'duplicate'
|
||||
input | output {
|
||||
bindings {
|
||||
C INT or STR # C - channel, INT - audio port index, STR - audio port name
|
||||
}
|
||||
controls {
|
||||
I INT or REAL # I - control port index, INT or REAL - control value
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
type dmix # Direct mixing plugin
|
||||
slave STR # Slave name (see pcm_slave)
|
||||
ipc_key INT # Unique ipc key
|
||||
ipc_perm INT # ipc permissions (default 0600)
|
||||
ipc_gid INT # ipc gid (default -1 = disable)
|
||||
ipc_key_add_uid BOOL # Add current uid to ipc_key
|
||||
bindings { # Bindings table
|
||||
N INT # Slave channel for client channel N
|
||||
}
|
||||
|
||||
type dsnoop # Direct snoop (split one capture stream to more)
|
||||
slave STR # Slave name (see pcm_slave)
|
||||
ipc_key INT # Unique ipc key
|
||||
ipc_perm INT # ipc permissions (default 0600)
|
||||
ipc_gid INT # ipc gid (default -1 = disable)
|
||||
ipc_key_add_uid BOOL # Add current uid to ipc_key
|
||||
bindings { # Bindings table
|
||||
N INT # Slave channel for client channel N
|
||||
}
|
||||
|
||||
type dshare # Share channels from one stream
|
||||
slave STR # Slave name (see pcm_slave)
|
||||
ipc_key INT # Unique ipc key
|
||||
ipc_perm INT # ipc permissions (default 0600)
|
||||
ipc_gid INT # ipc gid (default -1 = disable)
|
||||
ipc_key_add_uid BOOL # Add current uid to ipc_key
|
||||
bindings { # Bindings table
|
||||
N INT # Slave channel for client channel N
|
||||
}
|
||||
}
|
||||
|
||||
# CTL type definition
|
||||
ctl_type.NAME {
|
||||
[lib STR] # Library file (default libasound.so)
|
||||
[open STR] # Open function (default _snd_ctl_NAME_open)
|
||||
}
|
||||
|
||||
# CTL definition
|
||||
ctl.NAME {
|
||||
type STR # Type
|
||||
[comment ANY] # Saved comments
|
||||
|
||||
# CTL types
|
||||
type hw
|
||||
card STR/INT # Card name or number
|
||||
|
||||
|
||||
type shm # Shared memory client CTL
|
||||
server STR # Server name
|
||||
ctl STR # CTL name on server
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
# RAWMIDI type definition
|
||||
rawmidi_type.NAME {
|
||||
[lib STR] # Library file (default libasound.so)
|
||||
[open STR] # Open function (default _snd_rawmidi_NAME_open)
|
||||
}
|
||||
|
||||
# RAWMIDI definition
|
||||
rawmidi.NAME {
|
||||
type STR # Type
|
||||
[comment ANY] # Saved comments
|
||||
|
||||
# RAWMIDI types:
|
||||
type hw # Kernel RAWMIDI
|
||||
card INT/STR # Card name or number
|
||||
[device] INT # Device number (default 0)
|
||||
[subdevice] INT # Subdevice number, -1 first available (default -1)
|
||||
|
||||
|
||||
}
|
||||
|
||||
# SEQ type definition
|
||||
seq_type.NAME {
|
||||
[lib STR] # Library file (default libasound.so)
|
||||
[open STR] # Open function (default _snd_seq_NAME_open)
|
||||
}
|
||||
|
||||
# SEQ definition
|
||||
seq.NAME {
|
||||
type STR # Type
|
||||
[comment ANY] # Saved comments
|
||||
|
||||
# SEQ types:
|
||||
type hw # Kernel SEQ
|
||||
|
||||
|
||||
}
|
||||
|
||||
# Aliases
|
||||
DEF.NAME1 NAME2 # DEF.NAME1 is an alias for DEF.NAME2
|
||||
|
||||
Some examples:
|
||||
|
||||
pcm.trident {
|
||||
type hw
|
||||
card 0
|
||||
device 0
|
||||
}
|
||||
|
||||
pcm.ice1712 {
|
||||
type hw
|
||||
card 1
|
||||
device 0
|
||||
}
|
||||
|
||||
pcm.ice1712_spdif {
|
||||
type plug
|
||||
ttable.0.8 1
|
||||
ttable.1.9 1
|
||||
slave.pcm ice1712
|
||||
}
|
||||
|
||||
pcm_slave.rs {
|
||||
pcm trident
|
||||
rate 44100
|
||||
}
|
||||
|
||||
pcm.r {
|
||||
type rate
|
||||
slave rs
|
||||
}
|
||||
|
||||
pcm.m {
|
||||
type meter
|
||||
slave.pcm plug:trident
|
||||
frequency 50
|
||||
scopes [
|
||||
{
|
||||
type level
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
pcm_scope_type.level {
|
||||
lib /home/abramo/scopes/scope-level.so
|
||||
}
|
||||
|
||||
# an example command is 'aplay -D plug:ladspa <filename>'
|
||||
# otherwise, the ladspa plugin expects FLOAT type which
|
||||
# is very rare
|
||||
pcm.ladspa {
|
||||
type ladspa
|
||||
slave.pcm "plughw:0,0";
|
||||
path "/home/perex/src/ladspa_sdk/plugins";
|
||||
plugins [
|
||||
{
|
||||
label delay_5s
|
||||
input {
|
||||
controls [ 0.8 0.2 ]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
# an example command for dmix plugin to force 44100Hz mixing rate:
|
||||
# aplay -D"plug:'dmix:RATE=44100'" <filename>
|
||||
# an example command for dmix plugin to force 44100Hz and hw:1,0 output device
|
||||
# aplay -Dplug:\'dmix:SLAVE=\"hw:1,0\",RATE=44100\' <filename>
|
||||
# an example command for dmix plugin to force 32-bit signed little endian format
|
||||
# aplay -D"plug:'dmix:FORMAT=S32_LE'" <filename>
|
@@ -1,123 +0,0 @@
|
||||
PROJECT_NAME = "ALSA project - the C library reference"
|
||||
OUTPUT_DIRECTORY = doxygen
|
||||
GENERATE_LATEX = NO
|
||||
GENERATE_MAN = NO
|
||||
GENERATE_RTF = NO
|
||||
|
||||
CASE_SENSE_NAMES = NO
|
||||
INPUT = ../doc/index.doxygen \
|
||||
../include/asoundlib.h \
|
||||
../include/version.h \
|
||||
../include/global.h \
|
||||
../include/asoundef.h \
|
||||
../include/input.h \
|
||||
../include/output.h \
|
||||
../include/error.h \
|
||||
../include/conf.h \
|
||||
../include/control.h \
|
||||
../include/pcm.h \
|
||||
../include/rawmidi.h \
|
||||
../include/timer.h \
|
||||
../include/hwdep.h \
|
||||
../include/seq.h \
|
||||
../include/seq_event.h \
|
||||
../include/seqmid.h \
|
||||
../include/seq_midi_event.h \
|
||||
../include/pcm_external.h \
|
||||
../include/pcm_extplug.h \
|
||||
../include/pcm_ioplug.h \
|
||||
../include/control_external.h \
|
||||
../include/mixer.h \
|
||||
../include/use-case.h \
|
||||
../src/error.c \
|
||||
../src/dlmisc.c \
|
||||
../src/async.c \
|
||||
../src/input.c \
|
||||
../src/output.c \
|
||||
../src/conf.c \
|
||||
../src/confmisc.c \
|
||||
../src/names.c \
|
||||
../src/shmarea.c \
|
||||
../src/userfile.c \
|
||||
../src/control \
|
||||
../src/mixer \
|
||||
../src/pcm/pcm.c \
|
||||
../src/pcm/pcm_mmap.c \
|
||||
../src/pcm/pcm_plugin.c \
|
||||
../src/pcm/pcm_hw.c \
|
||||
../src/pcm/pcm_mmap_emul.c \
|
||||
../src/pcm/pcm_shm.c \
|
||||
../src/pcm/pcm_null.c \
|
||||
../src/pcm/pcm_copy.c \
|
||||
../src/pcm/pcm_linear.c \
|
||||
../src/pcm/pcm_lfloat.c \
|
||||
../src/pcm/pcm_mulaw.c \
|
||||
../src/pcm/pcm_alaw.c \
|
||||
../src/pcm/pcm_adpcm.c \
|
||||
../src/pcm/pcm_route.c \
|
||||
../src/pcm/pcm_rate.c \
|
||||
../src/pcm/pcm_plug.c \
|
||||
../src/pcm/pcm_file.c \
|
||||
../src/pcm/pcm_multi.c \
|
||||
../src/pcm/pcm_share.c \
|
||||
../src/pcm/pcm_hooks.c \
|
||||
../src/pcm/pcm_dmix.c \
|
||||
../src/pcm/pcm_dshare.c \
|
||||
../src/pcm/pcm_dsnoop.c \
|
||||
../src/pcm/pcm_meter.c \
|
||||
../src/pcm/pcm_ladspa.c \
|
||||
../src/pcm/pcm_asym.c \
|
||||
../src/pcm/pcm_iec958.c \
|
||||
../src/pcm/pcm_softvol.c \
|
||||
../src/pcm/pcm_extplug.c \
|
||||
../src/pcm/pcm_ioplug.c \
|
||||
../src/pcm/pcm_empty.c \
|
||||
../src/pcm/pcm_misc.c \
|
||||
../src/pcm/pcm_simple.c \
|
||||
../src/rawmidi \
|
||||
../src/timer \
|
||||
../src/hwdep \
|
||||
../src/seq \
|
||||
../src/ucm
|
||||
EXCLUDE = ../src/control/control_local.h \
|
||||
../src/pcm/atomic.h \
|
||||
../src/pcm/interval.h \
|
||||
../src/pcm/interval_inline.h \
|
||||
../src/pcm/mask.h \
|
||||
../src/pcm/mask_inline.h \
|
||||
../src/pcm/pcm_local.h \
|
||||
../src/pcm/pcm_meter.h \
|
||||
../src/pcm/pcm_plugin.h \
|
||||
../src/pcm/plugin_ops.h \
|
||||
../src/pcm/ladspa.h \
|
||||
../src/hwdep/hwdep_local.h \
|
||||
../src/mixer/mixer_local.h \
|
||||
../src/rawmidi/rawmidi_local.h \
|
||||
../src/seq/seq_local.h \
|
||||
../src/seq/ucm_local.h
|
||||
RECURSIVE = YES
|
||||
FILE_PATTERNS = *.c *.h
|
||||
EXAMPLE_PATH = ../test
|
||||
IMAGE_PATH = pictures
|
||||
QUIET = YES
|
||||
|
||||
EXTRACT_ALL = NO
|
||||
EXTRACT_STATIC = NO
|
||||
SHOW_INCLUDE_FILES = NO
|
||||
JAVADOC_AUTOBRIEF = NO
|
||||
INHERIT_DOCS = YES
|
||||
ENABLED_SECTIONS = ""
|
||||
MACRO_EXPANSION = YES
|
||||
EXPAND_ONLY_PREDEF = YES
|
||||
PREDEFINED = DOXYGEN PIC "DOC_HIDDEN" \
|
||||
"ATTRIBUTE_UNUSED=" \
|
||||
ALSA_PCM_NEW_HW_PARAMS_API \
|
||||
_POSIX_C_SOURCE \
|
||||
"use_default_symbol_version(x,y,z)=" \
|
||||
"link_warning(x,y)="
|
||||
|
||||
OPTIMIZE_OUTPUT_FOR_C = YES # doxygen 1.2.6 option
|
||||
TYPEDEF_HIDES_STRUCT = YES # needed in doxygen >= 1.5.4
|
||||
|
||||
#INPUT_FILTER = inputfilter
|
||||
#FILTER_SOURCE_FILES = YES
|
@@ -1,123 +0,0 @@
|
||||
PROJECT_NAME = "ALSA project - the C library reference"
|
||||
OUTPUT_DIRECTORY = doxygen
|
||||
GENERATE_LATEX = NO
|
||||
GENERATE_MAN = NO
|
||||
GENERATE_RTF = NO
|
||||
|
||||
CASE_SENSE_NAMES = NO
|
||||
INPUT = @top_srcdir@/doc/index.doxygen \
|
||||
@top_srcdir@/include/asoundlib.h \
|
||||
@top_srcdir@/include/version.h \
|
||||
@top_srcdir@/include/global.h \
|
||||
@top_srcdir@/include/asoundef.h \
|
||||
@top_srcdir@/include/input.h \
|
||||
@top_srcdir@/include/output.h \
|
||||
@top_srcdir@/include/error.h \
|
||||
@top_srcdir@/include/conf.h \
|
||||
@top_srcdir@/include/control.h \
|
||||
@top_srcdir@/include/pcm.h \
|
||||
@top_srcdir@/include/rawmidi.h \
|
||||
@top_srcdir@/include/timer.h \
|
||||
@top_srcdir@/include/hwdep.h \
|
||||
@top_srcdir@/include/seq.h \
|
||||
@top_srcdir@/include/seq_event.h \
|
||||
@top_srcdir@/include/seqmid.h \
|
||||
@top_srcdir@/include/seq_midi_event.h \
|
||||
@top_srcdir@/include/pcm_external.h \
|
||||
@top_srcdir@/include/pcm_extplug.h \
|
||||
@top_srcdir@/include/pcm_ioplug.h \
|
||||
@top_srcdir@/include/control_external.h \
|
||||
@top_srcdir@/include/mixer.h \
|
||||
@top_srcdir@/include/use-case.h \
|
||||
@top_srcdir@/src/error.c \
|
||||
@top_srcdir@/src/dlmisc.c \
|
||||
@top_srcdir@/src/async.c \
|
||||
@top_srcdir@/src/input.c \
|
||||
@top_srcdir@/src/output.c \
|
||||
@top_srcdir@/src/conf.c \
|
||||
@top_srcdir@/src/confmisc.c \
|
||||
@top_srcdir@/src/names.c \
|
||||
@top_srcdir@/src/shmarea.c \
|
||||
@top_srcdir@/src/userfile.c \
|
||||
@top_srcdir@/src/control \
|
||||
@top_srcdir@/src/mixer \
|
||||
@top_srcdir@/src/pcm/pcm.c \
|
||||
@top_srcdir@/src/pcm/pcm_mmap.c \
|
||||
@top_srcdir@/src/pcm/pcm_plugin.c \
|
||||
@top_srcdir@/src/pcm/pcm_hw.c \
|
||||
@top_srcdir@/src/pcm/pcm_mmap_emul.c \
|
||||
@top_srcdir@/src/pcm/pcm_shm.c \
|
||||
@top_srcdir@/src/pcm/pcm_null.c \
|
||||
@top_srcdir@/src/pcm/pcm_copy.c \
|
||||
@top_srcdir@/src/pcm/pcm_linear.c \
|
||||
@top_srcdir@/src/pcm/pcm_lfloat.c \
|
||||
@top_srcdir@/src/pcm/pcm_mulaw.c \
|
||||
@top_srcdir@/src/pcm/pcm_alaw.c \
|
||||
@top_srcdir@/src/pcm/pcm_adpcm.c \
|
||||
@top_srcdir@/src/pcm/pcm_route.c \
|
||||
@top_srcdir@/src/pcm/pcm_rate.c \
|
||||
@top_srcdir@/src/pcm/pcm_plug.c \
|
||||
@top_srcdir@/src/pcm/pcm_file.c \
|
||||
@top_srcdir@/src/pcm/pcm_multi.c \
|
||||
@top_srcdir@/src/pcm/pcm_share.c \
|
||||
@top_srcdir@/src/pcm/pcm_hooks.c \
|
||||
@top_srcdir@/src/pcm/pcm_dmix.c \
|
||||
@top_srcdir@/src/pcm/pcm_dshare.c \
|
||||
@top_srcdir@/src/pcm/pcm_dsnoop.c \
|
||||
@top_srcdir@/src/pcm/pcm_meter.c \
|
||||
@top_srcdir@/src/pcm/pcm_ladspa.c \
|
||||
@top_srcdir@/src/pcm/pcm_asym.c \
|
||||
@top_srcdir@/src/pcm/pcm_iec958.c \
|
||||
@top_srcdir@/src/pcm/pcm_softvol.c \
|
||||
@top_srcdir@/src/pcm/pcm_extplug.c \
|
||||
@top_srcdir@/src/pcm/pcm_ioplug.c \
|
||||
@top_srcdir@/src/pcm/pcm_empty.c \
|
||||
@top_srcdir@/src/pcm/pcm_misc.c \
|
||||
@top_srcdir@/src/pcm/pcm_simple.c \
|
||||
@top_srcdir@/src/rawmidi \
|
||||
@top_srcdir@/src/timer \
|
||||
@top_srcdir@/src/hwdep \
|
||||
@top_srcdir@/src/seq \
|
||||
@top_srcdir@/src/ucm
|
||||
EXCLUDE = @top_srcdir@/src/control/control_local.h \
|
||||
@top_srcdir@/src/pcm/atomic.h \
|
||||
@top_srcdir@/src/pcm/interval.h \
|
||||
@top_srcdir@/src/pcm/interval_inline.h \
|
||||
@top_srcdir@/src/pcm/mask.h \
|
||||
@top_srcdir@/src/pcm/mask_inline.h \
|
||||
@top_srcdir@/src/pcm/pcm_local.h \
|
||||
@top_srcdir@/src/pcm/pcm_meter.h \
|
||||
@top_srcdir@/src/pcm/pcm_plugin.h \
|
||||
@top_srcdir@/src/pcm/plugin_ops.h \
|
||||
@top_srcdir@/src/pcm/ladspa.h \
|
||||
@top_srcdir@/src/hwdep/hwdep_local.h \
|
||||
@top_srcdir@/src/mixer/mixer_local.h \
|
||||
@top_srcdir@/src/rawmidi/rawmidi_local.h \
|
||||
@top_srcdir@/src/seq/seq_local.h \
|
||||
@top_srcdir@/src/seq/ucm_local.h
|
||||
RECURSIVE = YES
|
||||
FILE_PATTERNS = *.c *.h
|
||||
EXAMPLE_PATH = @top_srcdir@/test
|
||||
IMAGE_PATH = pictures
|
||||
QUIET = YES
|
||||
|
||||
EXTRACT_ALL = NO
|
||||
EXTRACT_STATIC = NO
|
||||
SHOW_INCLUDE_FILES = NO
|
||||
JAVADOC_AUTOBRIEF = NO
|
||||
INHERIT_DOCS = YES
|
||||
ENABLED_SECTIONS = ""
|
||||
MACRO_EXPANSION = YES
|
||||
EXPAND_ONLY_PREDEF = YES
|
||||
PREDEFINED = DOXYGEN PIC "DOC_HIDDEN" \
|
||||
"ATTRIBUTE_UNUSED=" \
|
||||
ALSA_PCM_NEW_HW_PARAMS_API \
|
||||
_POSIX_C_SOURCE \
|
||||
"use_default_symbol_version(x,y,z)=" \
|
||||
"link_warning(x,y)="
|
||||
|
||||
OPTIMIZE_OUTPUT_FOR_C = YES # doxygen 1.2.6 option
|
||||
TYPEDEF_HIDES_STRUCT = YES # needed in doxygen >= 1.5.4
|
||||
|
||||
#INPUT_FILTER = inputfilter
|
||||
#FILTER_SOURCE_FILES = YES
|
@@ -1,54 +0,0 @@
|
||||
/*! \page Index Preamble and License
|
||||
|
||||
\author Jaroslav Kysela <perex@perex.cz>
|
||||
\author Abramo Bagnara <abramo@alsa-project.org>
|
||||
\author Takashi Iwai <tiwai@suse.de>
|
||||
\author Frank van de Pol <fvdpol@coil.demon.nl>
|
||||
|
||||
<H2>Preface</H2>
|
||||
<P>The Advanced Linux Sound Architecture (\e ALSA) comes with a kernel
|
||||
API and a library API. This document describes the library API and how
|
||||
it interfaces with the kernel API.</P>
|
||||
|
||||
<H2>Documentation License</H2>
|
||||
|
||||
<P>This documentation is free; you can redistribute it without
|
||||
any restrictions. Modifications or derived work must retain
|
||||
the copyright and list all authors.</P>
|
||||
|
||||
<P>This documentation is distributed in the hope that it will be
|
||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</P>
|
||||
|
||||
<H2>API usage</H2>
|
||||
<P>Application programmers should use the library API rather than the
|
||||
kernel API. The library offers 100% of the functionality of the kernel API,
|
||||
but adds major improvements in usability, making the application code simpler
|
||||
and better looking. In addition, future fixes or compatibility code
|
||||
may be placed in the library code instead of the kernel driver.</P>
|
||||
|
||||
<H2>API links</H2>
|
||||
|
||||
<UL>
|
||||
<LI>Page \ref control explains the primitive controls API.
|
||||
<LI>Page \ref hcontrol explains the high-level primitive controls API.
|
||||
<LI>Page \ref mixer explains the mixer controls API.
|
||||
<LI>Page \ref pcm explains the design of the PCM (digital audio) API.
|
||||
<LI>Page \ref pcm_plugins explains the design of PCM (digital audio) plugins.
|
||||
<LI>Page \ref pcm_external_plugins explains the external PCM plugin SDK.
|
||||
<LI>Page \ref ctl_external_plugins explains the external control plugin SDK.
|
||||
<LI>Page \ref rawmidi explains the design of the RawMidi API.
|
||||
<LI>Page \ref timer explains the design of the Timer API.
|
||||
<LI>Page \ref seq explains the design of the Sequencer API.
|
||||
</UL>
|
||||
|
||||
<H2>Configuration</H2>
|
||||
|
||||
<UL>
|
||||
<LI>Page \ref conf explains the syntax of library configuration files.
|
||||
<LI>Page \ref confarg explains the run-time argument syntax.
|
||||
<LI>Page \ref conffunc explains run-time function definitions and their usage.
|
||||
<LI>Page \ref confhooks explains run-time hook definitions and their usage.
|
||||
</UL>
|
||||
|
||||
*/
|
@@ -1 +0,0 @@
|
||||
EXTRA_DIST=wave1.gif wave2.gif
|
@@ -1,364 +0,0 @@
|
||||
# Makefile.in generated by automake 1.11.1 from Makefile.am.
|
||||
# @configure_input@
|
||||
|
||||
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
||||
# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
|
||||
# Inc.
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
VPATH = @srcdir@
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkglibexecdir = $(libexecdir)/@PACKAGE@
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
install_sh_DATA = $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = $(install_sh) -c
|
||||
install_sh_SCRIPT = $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = $(program_transform_name)
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
build_triplet = @build@
|
||||
host_triplet = @host@
|
||||
subdir = doc/pictures
|
||||
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
|
||||
$(top_srcdir)/configure.in
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
mkinstalldirs = $(install_sh) -d
|
||||
CONFIG_HEADER = $(top_builddir)/include/config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
CONFIG_CLEAN_VPATH_FILES =
|
||||
AM_V_GEN = $(am__v_GEN_$(V))
|
||||
am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
|
||||
am__v_GEN_0 = @echo " GEN " $@;
|
||||
AM_V_at = $(am__v_at_$(V))
|
||||
am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
|
||||
am__v_at_0 = @
|
||||
SOURCES =
|
||||
DIST_SOURCES =
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
ACLOCAL = @ACLOCAL@
|
||||
ALSA_CONFIG_DIR = @ALSA_CONFIG_DIR@
|
||||
ALSA_DEPLIBS = @ALSA_DEPLIBS@
|
||||
ALSA_PLUGIN_DIR = @ALSA_PLUGIN_DIR@
|
||||
AMTAR = @AMTAR@
|
||||
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
|
||||
AR = @AR@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AWK = @AWK@
|
||||
CC = @CC@
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
CFLAGS = @CFLAGS@
|
||||
CPP = @CPP@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CXX = @CXX@
|
||||
CXXCPP = @CXXCPP@
|
||||
CXXDEPMODE = @CXXDEPMODE@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
ECHO = @ECHO@
|
||||
ECHO_C = @ECHO_C@
|
||||
ECHO_N = @ECHO_N@
|
||||
ECHO_T = @ECHO_T@
|
||||
EGREP = @EGREP@
|
||||
EXEEXT = @EXEEXT@
|
||||
F77 = @F77@
|
||||
FFLAGS = @FFLAGS@
|
||||
GREP = @GREP@
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
LIBTOOL_VERSION_INFO = @LIBTOOL_VERSION_INFO@
|
||||
LN_S = @LN_S@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
OBJEXT = @OBJEXT@
|
||||
PACKAGE = @PACKAGE@
|
||||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||
PACKAGE_NAME = @PACKAGE_NAME@
|
||||
PACKAGE_STRING = @PACKAGE_STRING@
|
||||
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||
PACKAGE_URL = @PACKAGE_URL@
|
||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||
PYTHON_INCLUDES = @PYTHON_INCLUDES@
|
||||
PYTHON_LIBS = @PYTHON_LIBS@
|
||||
RANLIB = @RANLIB@
|
||||
SET_MAKE = @SET_MAKE@
|
||||
SHELL = @SHELL@
|
||||
SND_LIB_EXTRAVER = @SND_LIB_EXTRAVER@
|
||||
SND_LIB_MAJOR = @SND_LIB_MAJOR@
|
||||
SND_LIB_MINOR = @SND_LIB_MINOR@
|
||||
SND_LIB_SUBMINOR = @SND_LIB_SUBMINOR@
|
||||
SND_LIB_VERSION = @SND_LIB_VERSION@
|
||||
STRIP = @STRIP@
|
||||
SYMBOL_PREFIX = @SYMBOL_PREFIX@
|
||||
VERSION = @VERSION@
|
||||
abs_builddir = @abs_builddir@
|
||||
abs_srcdir = @abs_srcdir@
|
||||
abs_top_builddir = @abs_top_builddir@
|
||||
abs_top_srcdir = @abs_top_srcdir@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
ac_ct_CXX = @ac_ct_CXX@
|
||||
ac_ct_F77 = @ac_ct_F77@
|
||||
am__include = @am__include@
|
||||
am__leading_dot = @am__leading_dot@
|
||||
am__quote = @am__quote@
|
||||
am__tar = @am__tar@
|
||||
am__untar = @am__untar@
|
||||
bindir = @bindir@
|
||||
build = @build@
|
||||
build_alias = @build_alias@
|
||||
build_cpu = @build_cpu@
|
||||
build_os = @build_os@
|
||||
build_vendor = @build_vendor@
|
||||
builddir = @builddir@
|
||||
datadir = @datadir@
|
||||
datarootdir = @datarootdir@
|
||||
docdir = @docdir@
|
||||
dvidir = @dvidir@
|
||||
exec_prefix = @exec_prefix@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
host_os = @host_os@
|
||||
host_vendor = @host_vendor@
|
||||
htmldir = @htmldir@
|
||||
includedir = @includedir@
|
||||
infodir = @infodir@
|
||||
install_sh = @install_sh@
|
||||
libdir = @libdir@
|
||||
libexecdir = @libexecdir@
|
||||
localedir = @localedir@
|
||||
localstatedir = @localstatedir@
|
||||
mandir = @mandir@
|
||||
mkdir_p = @mkdir_p@
|
||||
oldincludedir = @oldincludedir@
|
||||
pdfdir = @pdfdir@
|
||||
prefix = @prefix@
|
||||
program_transform_name = @program_transform_name@
|
||||
psdir = @psdir@
|
||||
sbindir = @sbindir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
srcdir = @srcdir@
|
||||
sysconfdir = @sysconfdir@
|
||||
target_alias = @target_alias@
|
||||
top_build_prefix = @top_build_prefix@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
EXTRA_DIST = wave1.gif wave2.gif
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
||||
@for dep in $?; do \
|
||||
case '$(am__configure_deps)' in \
|
||||
*$$dep*) \
|
||||
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
|
||||
&& { if test -f $@; then exit 0; else break; fi; }; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/pictures/Makefile'; \
|
||||
$(am__cd) $(top_srcdir) && \
|
||||
$(AUTOMAKE) --foreign doc/pictures/Makefile
|
||||
.PRECIOUS: Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
|
||||
*) \
|
||||
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
|
||||
esac;
|
||||
|
||||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
|
||||
$(top_srcdir)/configure: $(am__configure_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(am__aclocal_m4_deps):
|
||||
|
||||
mostlyclean-libtool:
|
||||
-rm -f *.lo
|
||||
|
||||
clean-libtool:
|
||||
-rm -rf .libs _libs
|
||||
tags: TAGS
|
||||
TAGS:
|
||||
|
||||
ctags: CTAGS
|
||||
CTAGS:
|
||||
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
list='$(DISTFILES)'; \
|
||||
dist_files=`for file in $$list; do echo $$file; done | \
|
||||
sed -e "s|^$$srcdirstrip/||;t" \
|
||||
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
||||
case $$dist_files in \
|
||||
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
||||
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
||||
sort -u` ;; \
|
||||
esac; \
|
||||
for file in $$dist_files; do \
|
||||
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test -d "$(distdir)/$$file"; then \
|
||||
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||
fi; \
|
||||
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
|
||||
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||
fi; \
|
||||
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
|
||||
else \
|
||||
test -f "$(distdir)/$$file" \
|
||||
|| cp -p $$d/$$file "$(distdir)/$$file" \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
check-am: all-am
|
||||
check: check-am
|
||||
all-am: Makefile
|
||||
installdirs:
|
||||
install: install-am
|
||||
install-exec: install-exec-am
|
||||
install-data: install-data-am
|
||||
uninstall: uninstall-am
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-am
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
clean: clean-am
|
||||
|
||||
clean-am: clean-generic clean-libtool mostlyclean-am
|
||||
|
||||
distclean: distclean-am
|
||||
-rm -f Makefile
|
||||
distclean-am: clean-am distclean-generic
|
||||
|
||||
dvi: dvi-am
|
||||
|
||||
dvi-am:
|
||||
|
||||
html: html-am
|
||||
|
||||
html-am:
|
||||
|
||||
info: info-am
|
||||
|
||||
info-am:
|
||||
|
||||
install-data-am:
|
||||
|
||||
install-dvi: install-dvi-am
|
||||
|
||||
install-dvi-am:
|
||||
|
||||
install-exec-am:
|
||||
|
||||
install-html: install-html-am
|
||||
|
||||
install-html-am:
|
||||
|
||||
install-info: install-info-am
|
||||
|
||||
install-info-am:
|
||||
|
||||
install-man:
|
||||
|
||||
install-pdf: install-pdf-am
|
||||
|
||||
install-pdf-am:
|
||||
|
||||
install-ps: install-ps-am
|
||||
|
||||
install-ps-am:
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-am
|
||||
-rm -f Makefile
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||
|
||||
mostlyclean: mostlyclean-am
|
||||
|
||||
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
|
||||
|
||||
pdf: pdf-am
|
||||
|
||||
pdf-am:
|
||||
|
||||
ps: ps-am
|
||||
|
||||
ps-am:
|
||||
|
||||
uninstall-am:
|
||||
|
||||
.MAKE: install-am install-strip
|
||||
|
||||
.PHONY: all all-am check check-am clean clean-generic clean-libtool \
|
||||
distclean distclean-generic distclean-libtool distdir dvi \
|
||||
dvi-am html html-am info info-am install install-am \
|
||||
install-data install-data-am install-dvi install-dvi-am \
|
||||
install-exec install-exec-am install-html install-html-am \
|
||||
install-info install-info-am install-man install-pdf \
|
||||
install-pdf-am install-ps install-ps-am install-strip \
|
||||
installcheck installcheck-am installdirs maintainer-clean \
|
||||
maintainer-clean-generic mostlyclean mostlyclean-generic \
|
||||
mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am
|
||||
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
Binary file not shown.
Before Width: | Height: | Size: 1.7 KiB |
Binary file not shown.
Before Width: | Height: | Size: 1020 B |
@@ -1,19 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
touch ltconfig
|
||||
libtoolize --force --copy --automake
|
||||
aclocal $ACLOCAL_FLAGS
|
||||
autoheader
|
||||
automake --foreign --copy --add-missing
|
||||
touch depcomp # seems to be missing for old automake
|
||||
autoconf
|
||||
export CFLAGS='-O2 -Wall -W -pipe -g'
|
||||
echo "CFLAGS=$CFLAGS"
|
||||
echo "./configure $@"
|
||||
./configure $@ || exit 1
|
||||
unset CFLAGS
|
||||
if [ -z "$GITCOMPILE_NO_MAKE" ]; then
|
||||
make
|
||||
fi
|
@@ -1,90 +0,0 @@
|
||||
SUBDIRS = sound
|
||||
|
||||
sysincludedir = ${includedir}/sys
|
||||
alsaincludedir = ${includedir}/alsa
|
||||
|
||||
alsainclude_HEADERS = asoundlib.h asoundef.h \
|
||||
version.h global.h input.h output.h error.h \
|
||||
conf.h control.h iatomic.h use-case.h
|
||||
|
||||
if BUILD_CTL_PLUGIN_EXT
|
||||
alsainclude_HEADERS += control_external.h
|
||||
endif
|
||||
|
||||
if BUILD_PCM
|
||||
alsainclude_HEADERS += pcm.h pcm_old.h timer.h
|
||||
if BUILD_PCM_PLUGIN
|
||||
alsainclude_HEADERS += pcm_plugin.h
|
||||
endif
|
||||
if BUILD_PCM_PLUGIN_RATE
|
||||
alsainclude_HEADERS += pcm_rate.h
|
||||
endif
|
||||
if BUILD_PCM_PLUGIN_EXTPLUG
|
||||
alsainclude_HEADERS += pcm_external.h pcm_extplug.h
|
||||
endif
|
||||
if BUILD_PCM_PLUGIN_IOPLUG
|
||||
if !BUILD_PCM_PLUGIN_EXTPLUG
|
||||
alsainclude_HEADERS += pcm_external.h
|
||||
endif
|
||||
alsainclude_HEADERS += pcm_ioplug.h
|
||||
endif
|
||||
endif
|
||||
|
||||
if BUILD_RAWMIDI
|
||||
alsainclude_HEADERS += rawmidi.h
|
||||
endif
|
||||
|
||||
if BUILD_HWDEP
|
||||
alsainclude_HEADERS += hwdep.h
|
||||
endif
|
||||
|
||||
if BUILD_MIXER
|
||||
alsainclude_HEADERS += mixer.h mixer_abst.h
|
||||
endif
|
||||
|
||||
if BUILD_SEQ
|
||||
alsainclude_HEADERS += seq_event.h seq.h seqmid.h seq_midi_event.h
|
||||
endif
|
||||
|
||||
if BUILD_ALISP
|
||||
alsainclude_HEADERS += alisp.h
|
||||
endif
|
||||
|
||||
noinst_HEADERS = alsa sys.h search.h list.h aserver.h local.h alsa-symbols.h \
|
||||
asoundlib-head.h asoundlib-tail.h
|
||||
|
||||
DISTCLEANFILES = stamp-vh version.h alsa asoundlib.h
|
||||
|
||||
alsa:
|
||||
ln -s $(top_srcdir)/include alsa
|
||||
|
||||
version.h: stamp-vh alsa
|
||||
@:
|
||||
|
||||
stamp-vh: $(top_builddir)/configure.in
|
||||
@echo "/*" > ver.tmp
|
||||
@echo " * version.h" >> ver.tmp
|
||||
@echo " */" >> ver.tmp
|
||||
@echo "" >> ver.tmp
|
||||
@echo "#define SND_LIB_MAJOR $(SND_LIB_MAJOR) /**< major number of library version */" >> ver.tmp
|
||||
@echo "#define SND_LIB_MINOR $(SND_LIB_MINOR) /**< minor number of library version */" >> ver.tmp
|
||||
@echo "#define SND_LIB_SUBMINOR $(SND_LIB_SUBMINOR) /**< subminor number of library version */" >> ver.tmp
|
||||
@echo "#define SND_LIB_EXTRAVER $(SND_LIB_EXTRAVER) /**< extra version number, used mainly for betas */" >> ver.tmp
|
||||
@echo "/** library version */" >> ver.tmp
|
||||
@echo "#define SND_LIB_VERSION ((SND_LIB_MAJOR<<16)|\\" >> ver.tmp
|
||||
@echo " (SND_LIB_MINOR<<8)|\\" >> ver.tmp
|
||||
@echo " SND_LIB_SUBMINOR)" >> ver.tmp
|
||||
@echo "/** library version (string) */" >> ver.tmp
|
||||
@echo "#define SND_LIB_VERSION_STR \"$(SND_LIB_VERSION)\"" >> ver.tmp
|
||||
@echo >> ver.tmp
|
||||
@cmp -s version.h ver.tmp \
|
||||
|| (echo "Updating version.h"; \
|
||||
cp ver.tmp version.h; \
|
||||
echo timestamp > stamp-vh)
|
||||
-@rm -f ver.tmp
|
||||
|
||||
INCLUDES=-I$(top_srcdir)/include
|
||||
|
||||
install-data-hook:
|
||||
test -d $(DESTDIR)$(sysincludedir) || mkdir -p $(DESTDIR)$(sysincludedir)
|
||||
$(INSTALL_DATA) $(srcdir)/sys.h $(DESTDIR)$(sysincludedir)/asoundlib.h
|
@@ -1,701 +0,0 @@
|
||||
# Makefile.in generated by automake 1.11.1 from Makefile.am.
|
||||
# @configure_input@
|
||||
|
||||
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
||||
# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
|
||||
# Inc.
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
VPATH = @srcdir@
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkglibexecdir = $(libexecdir)/@PACKAGE@
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
install_sh_DATA = $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = $(install_sh) -c
|
||||
install_sh_SCRIPT = $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = $(program_transform_name)
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
build_triplet = @build@
|
||||
host_triplet = @host@
|
||||
@BUILD_CTL_PLUGIN_EXT_TRUE@am__append_1 = control_external.h
|
||||
@BUILD_PCM_TRUE@am__append_2 = pcm.h pcm_old.h timer.h
|
||||
@BUILD_PCM_PLUGIN_TRUE@@BUILD_PCM_TRUE@am__append_3 = pcm_plugin.h
|
||||
@BUILD_PCM_PLUGIN_RATE_TRUE@@BUILD_PCM_TRUE@am__append_4 = pcm_rate.h
|
||||
@BUILD_PCM_PLUGIN_EXTPLUG_TRUE@@BUILD_PCM_TRUE@am__append_5 = pcm_external.h pcm_extplug.h
|
||||
@BUILD_PCM_PLUGIN_EXTPLUG_FALSE@@BUILD_PCM_PLUGIN_IOPLUG_TRUE@@BUILD_PCM_TRUE@am__append_6 = pcm_external.h
|
||||
@BUILD_PCM_PLUGIN_IOPLUG_TRUE@@BUILD_PCM_TRUE@am__append_7 = pcm_ioplug.h
|
||||
@BUILD_RAWMIDI_TRUE@am__append_8 = rawmidi.h
|
||||
@BUILD_HWDEP_TRUE@am__append_9 = hwdep.h
|
||||
@BUILD_MIXER_TRUE@am__append_10 = mixer.h mixer_abst.h
|
||||
@BUILD_SEQ_TRUE@am__append_11 = seq_event.h seq.h seqmid.h seq_midi_event.h
|
||||
@BUILD_ALISP_TRUE@am__append_12 = alisp.h
|
||||
subdir = include
|
||||
DIST_COMMON = $(am__alsainclude_HEADERS_DIST) $(noinst_HEADERS) \
|
||||
$(srcdir)/Makefile.am $(srcdir)/Makefile.in \
|
||||
$(srcdir)/config.h.in
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
|
||||
$(top_srcdir)/configure.in
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
mkinstalldirs = $(install_sh) -d
|
||||
CONFIG_HEADER = config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
CONFIG_CLEAN_VPATH_FILES =
|
||||
AM_V_GEN = $(am__v_GEN_$(V))
|
||||
am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
|
||||
am__v_GEN_0 = @echo " GEN " $@;
|
||||
AM_V_at = $(am__v_at_$(V))
|
||||
am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
|
||||
am__v_at_0 = @
|
||||
SOURCES =
|
||||
DIST_SOURCES =
|
||||
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
|
||||
html-recursive info-recursive install-data-recursive \
|
||||
install-dvi-recursive install-exec-recursive \
|
||||
install-html-recursive install-info-recursive \
|
||||
install-pdf-recursive install-ps-recursive install-recursive \
|
||||
installcheck-recursive installdirs-recursive pdf-recursive \
|
||||
ps-recursive uninstall-recursive
|
||||
am__alsainclude_HEADERS_DIST = asoundlib.h asoundef.h version.h \
|
||||
global.h input.h output.h error.h conf.h control.h iatomic.h \
|
||||
use-case.h control_external.h pcm.h pcm_old.h timer.h \
|
||||
pcm_plugin.h pcm_rate.h pcm_external.h pcm_extplug.h \
|
||||
pcm_ioplug.h rawmidi.h hwdep.h mixer.h mixer_abst.h \
|
||||
seq_event.h seq.h seqmid.h seq_midi_event.h alisp.h
|
||||
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
|
||||
am__vpath_adj = case $$p in \
|
||||
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
|
||||
*) f=$$p;; \
|
||||
esac;
|
||||
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
|
||||
am__install_max = 40
|
||||
am__nobase_strip_setup = \
|
||||
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
|
||||
am__nobase_strip = \
|
||||
for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
|
||||
am__nobase_list = $(am__nobase_strip_setup); \
|
||||
for p in $$list; do echo "$$p $$p"; done | \
|
||||
sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
|
||||
$(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
|
||||
if (++n[$$2] == $(am__install_max)) \
|
||||
{ print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
|
||||
END { for (dir in files) print dir, files[dir] }'
|
||||
am__base_list = \
|
||||
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
|
||||
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
|
||||
am__installdirs = "$(DESTDIR)$(alsaincludedir)"
|
||||
HEADERS = $(alsainclude_HEADERS) $(noinst_HEADERS)
|
||||
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
|
||||
distclean-recursive maintainer-clean-recursive
|
||||
AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
|
||||
$(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
|
||||
distdir
|
||||
ETAGS = etags
|
||||
CTAGS = ctags
|
||||
DIST_SUBDIRS = $(SUBDIRS)
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
am__relativize = \
|
||||
dir0=`pwd`; \
|
||||
sed_first='s,^\([^/]*\)/.*$$,\1,'; \
|
||||
sed_rest='s,^[^/]*/*,,'; \
|
||||
sed_last='s,^.*/\([^/]*\)$$,\1,'; \
|
||||
sed_butlast='s,/*[^/]*$$,,'; \
|
||||
while test -n "$$dir1"; do \
|
||||
first=`echo "$$dir1" | sed -e "$$sed_first"`; \
|
||||
if test "$$first" != "."; then \
|
||||
if test "$$first" = ".."; then \
|
||||
dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
|
||||
dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
|
||||
else \
|
||||
first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
|
||||
if test "$$first2" = "$$first"; then \
|
||||
dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
|
||||
else \
|
||||
dir2="../$$dir2"; \
|
||||
fi; \
|
||||
dir0="$$dir0"/"$$first"; \
|
||||
fi; \
|
||||
fi; \
|
||||
dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
|
||||
done; \
|
||||
reldir="$$dir2"
|
||||
ACLOCAL = @ACLOCAL@
|
||||
ALSA_CONFIG_DIR = @ALSA_CONFIG_DIR@
|
||||
ALSA_DEPLIBS = @ALSA_DEPLIBS@
|
||||
ALSA_PLUGIN_DIR = @ALSA_PLUGIN_DIR@
|
||||
AMTAR = @AMTAR@
|
||||
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
|
||||
AR = @AR@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AWK = @AWK@
|
||||
CC = @CC@
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
CFLAGS = @CFLAGS@
|
||||
CPP = @CPP@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CXX = @CXX@
|
||||
CXXCPP = @CXXCPP@
|
||||
CXXDEPMODE = @CXXDEPMODE@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
ECHO = @ECHO@
|
||||
ECHO_C = @ECHO_C@
|
||||
ECHO_N = @ECHO_N@
|
||||
ECHO_T = @ECHO_T@
|
||||
EGREP = @EGREP@
|
||||
EXEEXT = @EXEEXT@
|
||||
F77 = @F77@
|
||||
FFLAGS = @FFLAGS@
|
||||
GREP = @GREP@
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
LIBTOOL_VERSION_INFO = @LIBTOOL_VERSION_INFO@
|
||||
LN_S = @LN_S@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
OBJEXT = @OBJEXT@
|
||||
PACKAGE = @PACKAGE@
|
||||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||
PACKAGE_NAME = @PACKAGE_NAME@
|
||||
PACKAGE_STRING = @PACKAGE_STRING@
|
||||
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||
PACKAGE_URL = @PACKAGE_URL@
|
||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||
PYTHON_INCLUDES = @PYTHON_INCLUDES@
|
||||
PYTHON_LIBS = @PYTHON_LIBS@
|
||||
RANLIB = @RANLIB@
|
||||
SET_MAKE = @SET_MAKE@
|
||||
SHELL = @SHELL@
|
||||
SND_LIB_EXTRAVER = @SND_LIB_EXTRAVER@
|
||||
SND_LIB_MAJOR = @SND_LIB_MAJOR@
|
||||
SND_LIB_MINOR = @SND_LIB_MINOR@
|
||||
SND_LIB_SUBMINOR = @SND_LIB_SUBMINOR@
|
||||
SND_LIB_VERSION = @SND_LIB_VERSION@
|
||||
STRIP = @STRIP@
|
||||
SYMBOL_PREFIX = @SYMBOL_PREFIX@
|
||||
VERSION = @VERSION@
|
||||
abs_builddir = @abs_builddir@
|
||||
abs_srcdir = @abs_srcdir@
|
||||
abs_top_builddir = @abs_top_builddir@
|
||||
abs_top_srcdir = @abs_top_srcdir@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
ac_ct_CXX = @ac_ct_CXX@
|
||||
ac_ct_F77 = @ac_ct_F77@
|
||||
am__include = @am__include@
|
||||
am__leading_dot = @am__leading_dot@
|
||||
am__quote = @am__quote@
|
||||
am__tar = @am__tar@
|
||||
am__untar = @am__untar@
|
||||
bindir = @bindir@
|
||||
build = @build@
|
||||
build_alias = @build_alias@
|
||||
build_cpu = @build_cpu@
|
||||
build_os = @build_os@
|
||||
build_vendor = @build_vendor@
|
||||
builddir = @builddir@
|
||||
datadir = @datadir@
|
||||
datarootdir = @datarootdir@
|
||||
docdir = @docdir@
|
||||
dvidir = @dvidir@
|
||||
exec_prefix = @exec_prefix@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
host_os = @host_os@
|
||||
host_vendor = @host_vendor@
|
||||
htmldir = @htmldir@
|
||||
includedir = @includedir@
|
||||
infodir = @infodir@
|
||||
install_sh = @install_sh@
|
||||
libdir = @libdir@
|
||||
libexecdir = @libexecdir@
|
||||
localedir = @localedir@
|
||||
localstatedir = @localstatedir@
|
||||
mandir = @mandir@
|
||||
mkdir_p = @mkdir_p@
|
||||
oldincludedir = @oldincludedir@
|
||||
pdfdir = @pdfdir@
|
||||
prefix = @prefix@
|
||||
program_transform_name = @program_transform_name@
|
||||
psdir = @psdir@
|
||||
sbindir = @sbindir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
srcdir = @srcdir@
|
||||
sysconfdir = @sysconfdir@
|
||||
target_alias = @target_alias@
|
||||
top_build_prefix = @top_build_prefix@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
SUBDIRS = sound
|
||||
sysincludedir = ${includedir}/sys
|
||||
alsaincludedir = ${includedir}/alsa
|
||||
alsainclude_HEADERS = asoundlib.h asoundef.h version.h global.h \
|
||||
input.h output.h error.h conf.h control.h iatomic.h use-case.h \
|
||||
$(am__append_1) $(am__append_2) $(am__append_3) \
|
||||
$(am__append_4) $(am__append_5) $(am__append_6) \
|
||||
$(am__append_7) $(am__append_8) $(am__append_9) \
|
||||
$(am__append_10) $(am__append_11) $(am__append_12)
|
||||
noinst_HEADERS = alsa sys.h search.h list.h aserver.h local.h alsa-symbols.h \
|
||||
asoundlib-head.h asoundlib-tail.h
|
||||
|
||||
DISTCLEANFILES = stamp-vh version.h alsa asoundlib.h
|
||||
INCLUDES = -I$(top_srcdir)/include
|
||||
all: config.h
|
||||
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
||||
|
||||
.SUFFIXES:
|
||||
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
||||
@for dep in $?; do \
|
||||
case '$(am__configure_deps)' in \
|
||||
*$$dep*) \
|
||||
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
|
||||
&& { if test -f $@; then exit 0; else break; fi; }; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign include/Makefile'; \
|
||||
$(am__cd) $(top_srcdir) && \
|
||||
$(AUTOMAKE) --foreign include/Makefile
|
||||
.PRECIOUS: Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
|
||||
*) \
|
||||
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
|
||||
esac;
|
||||
|
||||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
|
||||
$(top_srcdir)/configure: $(am__configure_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(am__aclocal_m4_deps):
|
||||
|
||||
config.h: stamp-h1
|
||||
@if test ! -f $@; then \
|
||||
rm -f stamp-h1; \
|
||||
$(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
|
||||
else :; fi
|
||||
|
||||
stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
|
||||
@rm -f stamp-h1
|
||||
cd $(top_builddir) && $(SHELL) ./config.status include/config.h
|
||||
$(srcdir)/config.h.in: $(am__configure_deps)
|
||||
($(am__cd) $(top_srcdir) && $(AUTOHEADER))
|
||||
rm -f stamp-h1
|
||||
touch $@
|
||||
|
||||
distclean-hdr:
|
||||
-rm -f config.h stamp-h1
|
||||
|
||||
mostlyclean-libtool:
|
||||
-rm -f *.lo
|
||||
|
||||
clean-libtool:
|
||||
-rm -rf .libs _libs
|
||||
install-alsaincludeHEADERS: $(alsainclude_HEADERS)
|
||||
@$(NORMAL_INSTALL)
|
||||
test -z "$(alsaincludedir)" || $(MKDIR_P) "$(DESTDIR)$(alsaincludedir)"
|
||||
@list='$(alsainclude_HEADERS)'; test -n "$(alsaincludedir)" || list=; \
|
||||
for p in $$list; do \
|
||||
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||
echo "$$d$$p"; \
|
||||
done | $(am__base_list) | \
|
||||
while read files; do \
|
||||
echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(alsaincludedir)'"; \
|
||||
$(INSTALL_HEADER) $$files "$(DESTDIR)$(alsaincludedir)" || exit $$?; \
|
||||
done
|
||||
|
||||
uninstall-alsaincludeHEADERS:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(alsainclude_HEADERS)'; test -n "$(alsaincludedir)" || list=; \
|
||||
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
|
||||
test -n "$$files" || exit 0; \
|
||||
echo " ( cd '$(DESTDIR)$(alsaincludedir)' && rm -f" $$files ")"; \
|
||||
cd "$(DESTDIR)$(alsaincludedir)" && rm -f $$files
|
||||
|
||||
# This directory's subdirectories are mostly independent; you can cd
|
||||
# into them and run `make' without going through this Makefile.
|
||||
# To change the values of `make' variables: instead of editing Makefiles,
|
||||
# (1) if the variable is set in `config.status', edit `config.status'
|
||||
# (which will cause the Makefiles to be regenerated when you run `make');
|
||||
# (2) otherwise, pass the desired values on the `make' command line.
|
||||
$(RECURSIVE_TARGETS):
|
||||
@fail= failcom='exit 1'; \
|
||||
for f in x $$MAKEFLAGS; do \
|
||||
case $$f in \
|
||||
*=* | --[!k]*);; \
|
||||
*k*) failcom='fail=yes';; \
|
||||
esac; \
|
||||
done; \
|
||||
dot_seen=no; \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
echo "Making $$target in $$subdir"; \
|
||||
if test "$$subdir" = "."; then \
|
||||
dot_seen=yes; \
|
||||
local_target="$$target-am"; \
|
||||
else \
|
||||
local_target="$$target"; \
|
||||
fi; \
|
||||
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||
|| eval $$failcom; \
|
||||
done; \
|
||||
if test "$$dot_seen" = "no"; then \
|
||||
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
||||
fi; test -z "$$fail"
|
||||
|
||||
$(RECURSIVE_CLEAN_TARGETS):
|
||||
@fail= failcom='exit 1'; \
|
||||
for f in x $$MAKEFLAGS; do \
|
||||
case $$f in \
|
||||
*=* | --[!k]*);; \
|
||||
*k*) failcom='fail=yes';; \
|
||||
esac; \
|
||||
done; \
|
||||
dot_seen=no; \
|
||||
case "$@" in \
|
||||
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
|
||||
*) list='$(SUBDIRS)' ;; \
|
||||
esac; \
|
||||
rev=''; for subdir in $$list; do \
|
||||
if test "$$subdir" = "."; then :; else \
|
||||
rev="$$subdir $$rev"; \
|
||||
fi; \
|
||||
done; \
|
||||
rev="$$rev ."; \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
for subdir in $$rev; do \
|
||||
echo "Making $$target in $$subdir"; \
|
||||
if test "$$subdir" = "."; then \
|
||||
local_target="$$target-am"; \
|
||||
else \
|
||||
local_target="$$target"; \
|
||||
fi; \
|
||||
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||
|| eval $$failcom; \
|
||||
done && test -z "$$fail"
|
||||
tags-recursive:
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
||||
done
|
||||
ctags-recursive:
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
|
||||
done
|
||||
|
||||
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
mkid -fID $$unique
|
||||
tags: TAGS
|
||||
|
||||
TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
set x; \
|
||||
here=`pwd`; \
|
||||
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
|
||||
include_option=--etags-include; \
|
||||
empty_fix=.; \
|
||||
else \
|
||||
include_option=--include; \
|
||||
empty_fix=; \
|
||||
fi; \
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
test ! -f $$subdir/TAGS || \
|
||||
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
|
||||
fi; \
|
||||
done; \
|
||||
list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
shift; \
|
||||
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
|
||||
test -n "$$unique" || unique=$$empty_fix; \
|
||||
if test $$# -gt 0; then \
|
||||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
"$$@" $$unique; \
|
||||
else \
|
||||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
$$unique; \
|
||||
fi; \
|
||||
fi
|
||||
ctags: CTAGS
|
||||
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
test -z "$(CTAGS_ARGS)$$unique" \
|
||||
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
||||
$$unique
|
||||
|
||||
GTAGS:
|
||||
here=`$(am__cd) $(top_builddir) && pwd` \
|
||||
&& $(am__cd) $(top_srcdir) \
|
||||
&& gtags -i $(GTAGS_ARGS) "$$here"
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
list='$(DISTFILES)'; \
|
||||
dist_files=`for file in $$list; do echo $$file; done | \
|
||||
sed -e "s|^$$srcdirstrip/||;t" \
|
||||
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
||||
case $$dist_files in \
|
||||
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
||||
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
||||
sort -u` ;; \
|
||||
esac; \
|
||||
for file in $$dist_files; do \
|
||||
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test -d "$(distdir)/$$file"; then \
|
||||
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||
fi; \
|
||||
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
|
||||
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||
fi; \
|
||||
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
|
||||
else \
|
||||
test -f "$(distdir)/$$file" \
|
||||
|| cp -p $$d/$$file "$(distdir)/$$file" \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
test -d "$(distdir)/$$subdir" \
|
||||
|| $(MKDIR_P) "$(distdir)/$$subdir" \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
|
||||
$(am__relativize); \
|
||||
new_distdir=$$reldir; \
|
||||
dir1=$$subdir; dir2="$(top_distdir)"; \
|
||||
$(am__relativize); \
|
||||
new_top_distdir=$$reldir; \
|
||||
echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
|
||||
echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
|
||||
($(am__cd) $$subdir && \
|
||||
$(MAKE) $(AM_MAKEFLAGS) \
|
||||
top_distdir="$$new_top_distdir" \
|
||||
distdir="$$new_distdir" \
|
||||
am__remove_distdir=: \
|
||||
am__skip_length_check=: \
|
||||
am__skip_mode_fix=: \
|
||||
distdir) \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
check-am: all-am
|
||||
check: check-recursive
|
||||
all-am: Makefile $(HEADERS) config.h
|
||||
installdirs: installdirs-recursive
|
||||
installdirs-am:
|
||||
for dir in "$(DESTDIR)$(alsaincludedir)"; do \
|
||||
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
|
||||
done
|
||||
install: install-recursive
|
||||
install-exec: install-exec-recursive
|
||||
install-data: install-data-recursive
|
||||
uninstall: uninstall-recursive
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-recursive
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
||||
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
clean: clean-recursive
|
||||
|
||||
clean-am: clean-generic clean-libtool mostlyclean-am
|
||||
|
||||
distclean: distclean-recursive
|
||||
-rm -f Makefile
|
||||
distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
|
||||
|
||||
dvi: dvi-recursive
|
||||
|
||||
dvi-am:
|
||||
|
||||
html: html-recursive
|
||||
|
||||
html-am:
|
||||
|
||||
info: info-recursive
|
||||
|
||||
info-am:
|
||||
|
||||
install-data-am: install-alsaincludeHEADERS
|
||||
@$(NORMAL_INSTALL)
|
||||
$(MAKE) $(AM_MAKEFLAGS) install-data-hook
|
||||
install-dvi: install-dvi-recursive
|
||||
|
||||
install-dvi-am:
|
||||
|
||||
install-exec-am:
|
||||
|
||||
install-html: install-html-recursive
|
||||
|
||||
install-html-am:
|
||||
|
||||
install-info: install-info-recursive
|
||||
|
||||
install-info-am:
|
||||
|
||||
install-man:
|
||||
|
||||
install-pdf: install-pdf-recursive
|
||||
|
||||
install-pdf-am:
|
||||
|
||||
install-ps: install-ps-recursive
|
||||
|
||||
install-ps-am:
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-recursive
|
||||
-rm -f Makefile
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||
|
||||
mostlyclean: mostlyclean-recursive
|
||||
|
||||
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
|
||||
|
||||
pdf: pdf-recursive
|
||||
|
||||
pdf-am:
|
||||
|
||||
ps: ps-recursive
|
||||
|
||||
ps-am:
|
||||
|
||||
uninstall-am: uninstall-alsaincludeHEADERS
|
||||
|
||||
.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
|
||||
ctags-recursive install-am install-data-am install-strip \
|
||||
tags-recursive
|
||||
|
||||
.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
|
||||
all all-am check check-am clean clean-generic clean-libtool \
|
||||
ctags ctags-recursive distclean distclean-generic \
|
||||
distclean-hdr distclean-libtool distclean-tags distdir dvi \
|
||||
dvi-am html html-am info info-am install \
|
||||
install-alsaincludeHEADERS install-am install-data \
|
||||
install-data-am install-data-hook install-dvi install-dvi-am \
|
||||
install-exec install-exec-am install-html install-html-am \
|
||||
install-info install-info-am install-man install-pdf \
|
||||
install-pdf-am install-ps install-ps-am install-strip \
|
||||
installcheck installcheck-am installdirs installdirs-am \
|
||||
maintainer-clean maintainer-clean-generic mostlyclean \
|
||||
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
|
||||
tags tags-recursive uninstall uninstall-alsaincludeHEADERS \
|
||||
uninstall-am
|
||||
|
||||
|
||||
alsa:
|
||||
ln -s $(top_srcdir)/include alsa
|
||||
|
||||
version.h: stamp-vh alsa
|
||||
@:
|
||||
|
||||
stamp-vh: $(top_builddir)/configure.in
|
||||
@echo "/*" > ver.tmp
|
||||
@echo " * version.h" >> ver.tmp
|
||||
@echo " */" >> ver.tmp
|
||||
@echo "" >> ver.tmp
|
||||
@echo "#define SND_LIB_MAJOR $(SND_LIB_MAJOR) /**< major number of library version */" >> ver.tmp
|
||||
@echo "#define SND_LIB_MINOR $(SND_LIB_MINOR) /**< minor number of library version */" >> ver.tmp
|
||||
@echo "#define SND_LIB_SUBMINOR $(SND_LIB_SUBMINOR) /**< subminor number of library version */" >> ver.tmp
|
||||
@echo "#define SND_LIB_EXTRAVER $(SND_LIB_EXTRAVER) /**< extra version number, used mainly for betas */" >> ver.tmp
|
||||
@echo "/** library version */" >> ver.tmp
|
||||
@echo "#define SND_LIB_VERSION ((SND_LIB_MAJOR<<16)|\\" >> ver.tmp
|
||||
@echo " (SND_LIB_MINOR<<8)|\\" >> ver.tmp
|
||||
@echo " SND_LIB_SUBMINOR)" >> ver.tmp
|
||||
@echo "/** library version (string) */" >> ver.tmp
|
||||
@echo "#define SND_LIB_VERSION_STR \"$(SND_LIB_VERSION)\"" >> ver.tmp
|
||||
@echo >> ver.tmp
|
||||
@cmp -s version.h ver.tmp \
|
||||
|| (echo "Updating version.h"; \
|
||||
cp ver.tmp version.h; \
|
||||
echo timestamp > stamp-vh)
|
||||
-@rm -f ver.tmp
|
||||
|
||||
install-data-hook:
|
||||
test -d $(DESTDIR)$(sysincludedir) || mkdir -p $(DESTDIR)$(sysincludedir)
|
||||
$(INSTALL_DATA) $(srcdir)/sys.h $(DESTDIR)$(sysincludedir)/asoundlib.h
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
@@ -1,55 +0,0 @@
|
||||
/*
|
||||
* ALSA lisp implementation
|
||||
* Copyright (c) 2003 by Jaroslav Kysela <perex@perex.cz>
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as
|
||||
* published by the Free Software Foundation; either version 2.1 of
|
||||
* the License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
*/
|
||||
|
||||
struct alisp_cfg {
|
||||
int verbose: 1,
|
||||
warning: 1,
|
||||
debug: 1;
|
||||
snd_input_t *in; /* program code */
|
||||
snd_output_t *out; /* program output */
|
||||
snd_output_t *eout; /* error output */
|
||||
snd_output_t *vout; /* verbose output */
|
||||
snd_output_t *wout; /* warning output */
|
||||
snd_output_t *dout; /* debug output */
|
||||
};
|
||||
|
||||
struct alisp_instance;
|
||||
struct alisp_object;
|
||||
struct alisp_seq_iterator;
|
||||
|
||||
struct alisp_cfg *alsa_lisp_default_cfg(snd_input_t *input);
|
||||
void alsa_lisp_default_cfg_free(struct alisp_cfg *cfg);
|
||||
int alsa_lisp(struct alisp_cfg *cfg, struct alisp_instance **instance);
|
||||
void alsa_lisp_free(struct alisp_instance *instance);
|
||||
int alsa_lisp_function(struct alisp_instance *instance, struct alisp_seq_iterator **result,
|
||||
const char *id, const char *args, ...)
|
||||
#ifndef DOC_HIDDEN
|
||||
__attribute__ ((format (printf, 4, 5)))
|
||||
#endif
|
||||
;
|
||||
void alsa_lisp_result_free(struct alisp_instance *instance,
|
||||
struct alisp_seq_iterator *result);
|
||||
int alsa_lisp_seq_first(struct alisp_instance *instance, const char *id,
|
||||
struct alisp_seq_iterator **seq);
|
||||
int alsa_lisp_seq_next(struct alisp_seq_iterator **seq);
|
||||
int alsa_lisp_seq_count(struct alisp_seq_iterator *seq);
|
||||
int alsa_lisp_seq_integer(struct alisp_seq_iterator *seq, long *val);
|
||||
int alsa_lisp_seq_pointer(struct alisp_seq_iterator *seq, const char *ptr_id, void **ptr);
|
@@ -1 +0,0 @@
|
||||
.
|
@@ -1,72 +0,0 @@
|
||||
/*
|
||||
* ALSA lib - dynamic symbol versions
|
||||
* Copyright (c) 2002 by Jaroslav Kysela <perex@perex.cz>
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as
|
||||
* published by the Free Software Foundation; either version 2.1 of
|
||||
* the License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __ALSA_SYMBOLS_H
|
||||
#define __ALSA_SYMBOLS_H
|
||||
|
||||
#if defined(PIC) && defined(VERSIONED_SYMBOLS) /* might be also configurable */
|
||||
#define USE_VERSIONED_SYMBOLS
|
||||
#endif
|
||||
|
||||
#define INTERNAL_CONCAT2_2(Pre, Post) Pre##Post
|
||||
#define INTERNAL(Name) INTERNAL_CONCAT2_2(__, Name)
|
||||
|
||||
#ifdef __powerpc64__
|
||||
# define symbol_version(real, name, version) \
|
||||
__asm__ (".symver " ASM_NAME(#real) "," ASM_NAME(#name) "@" #version); \
|
||||
__asm__ (".symver ." ASM_NAME(#real) ",." ASM_NAME(#name) "@" #version)
|
||||
# define default_symbol_version(real, name, version) \
|
||||
__asm__ (".symver " ASM_NAME(#real) "," ASM_NAME(#name) "@@" #version); \
|
||||
__asm__ (".symver ." ASM_NAME(#real) ",." ASM_NAME(#name) "@@" #version)
|
||||
#else
|
||||
# define symbol_version(real, name, version) \
|
||||
__asm__ (".symver " ASM_NAME(#real) "," ASM_NAME(#name) "@" #version)
|
||||
# define default_symbol_version(real, name, version) \
|
||||
__asm__ (".symver " ASM_NAME(#real) "," ASM_NAME(#name) "@@" #version)
|
||||
#endif
|
||||
|
||||
#ifdef USE_VERSIONED_SYMBOLS
|
||||
#define use_symbol_version(real, name, version) \
|
||||
symbol_version(real, name, version)
|
||||
#define use_default_symbol_version(real, name, version) \
|
||||
default_symbol_version(real, name, version)
|
||||
#else
|
||||
#define use_symbol_version(real, name, version) /* nothing */
|
||||
#ifdef __powerpc64__
|
||||
#define use_default_symbol_version(real, name, version) \
|
||||
__asm__ (".weak " ASM_NAME(#name)); \
|
||||
__asm__ (".weak ." ASM_NAME(#name)); \
|
||||
__asm__ (".set " ASM_NAME(#name) "," ASM_NAME(#real)); \
|
||||
__asm__ (".set ." ASM_NAME(#name) ",." ASM_NAME(#real))
|
||||
#else
|
||||
#if defined(__alpha__) || defined(__mips__)
|
||||
#define use_default_symbol_version(real, name, version) \
|
||||
__asm__ (".weak " ASM_NAME(#name)); \
|
||||
__asm__ (ASM_NAME(#name) " = " ASM_NAME(#real))
|
||||
#else
|
||||
#define use_default_symbol_version(real, name, version) \
|
||||
__asm__ (".weak " ASM_NAME(#name)); \
|
||||
__asm__ (".set " ASM_NAME(#name) "," ASM_NAME(#real))
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif /* __ALSA_SYMBOLS_H */
|
@@ -1,160 +0,0 @@
|
||||
/*
|
||||
* ALSA client/server header file
|
||||
* Copyright (c) 2000 by Abramo Bagnara <abramo@alsa-project.org>
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as
|
||||
* published by the Free Software Foundation; either version 2.1 of
|
||||
* the License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
*/
|
||||
|
||||
#include <netdb.h>
|
||||
#include "../src/pcm/pcm_local.h"
|
||||
#include "../src/control/control_local.h"
|
||||
|
||||
int snd_receive_fd(int sock, void *data, size_t len, int *fd);
|
||||
int snd_is_local(struct hostent *hent);
|
||||
|
||||
typedef enum _snd_dev_type {
|
||||
SND_DEV_TYPE_PCM,
|
||||
SND_DEV_TYPE_CONTROL,
|
||||
SND_DEV_TYPE_RAWMIDI,
|
||||
SND_DEV_TYPE_TIMER,
|
||||
SND_DEV_TYPE_HWDEP,
|
||||
SND_DEV_TYPE_SEQ,
|
||||
} snd_dev_type_t;
|
||||
|
||||
typedef enum _snd_transport_type {
|
||||
SND_TRANSPORT_TYPE_SHM,
|
||||
SND_TRANSPORT_TYPE_TCP,
|
||||
} snd_transport_type_t;
|
||||
|
||||
#define SND_PCM_IOCTL_HWSYNC _IO ('A', 0x22)
|
||||
#define SND_PCM_IOCTL_STATE _IO ('A', 0xf1)
|
||||
#define SND_PCM_IOCTL_MMAP _IO ('A', 0xf2)
|
||||
#define SND_PCM_IOCTL_MUNMAP _IO ('A', 0xf3)
|
||||
#define SND_PCM_IOCTL_MMAP_COMMIT _IO ('A', 0xf4)
|
||||
#define SND_PCM_IOCTL_AVAIL_UPDATE _IO ('A', 0xf5)
|
||||
#define SND_PCM_IOCTL_ASYNC _IO ('A', 0xf6)
|
||||
#define SND_PCM_IOCTL_CLOSE _IO ('A', 0xf7)
|
||||
#define SND_PCM_IOCTL_POLL_DESCRIPTOR _IO ('A', 0xf8)
|
||||
#define SND_PCM_IOCTL_HW_PTR_FD _IO ('A', 0xf9)
|
||||
#define SND_PCM_IOCTL_APPL_PTR_FD _IO ('A', 0xfa)
|
||||
#define SND_PCM_IOCTL_FORWARD _IO ('A', 0xfb)
|
||||
|
||||
typedef struct {
|
||||
snd_pcm_uframes_t ptr;
|
||||
int use_mmap;
|
||||
off_t offset; /* for mmap */
|
||||
int changed;
|
||||
} snd_pcm_shm_rbptr_t;
|
||||
|
||||
typedef struct {
|
||||
long result;
|
||||
int cmd;
|
||||
snd_pcm_shm_rbptr_t hw;
|
||||
snd_pcm_shm_rbptr_t appl;
|
||||
union {
|
||||
struct {
|
||||
int sig;
|
||||
pid_t pid;
|
||||
} async;
|
||||
snd_pcm_info_t info;
|
||||
snd_pcm_hw_params_t hw_refine;
|
||||
snd_pcm_hw_params_t hw_params;
|
||||
snd_pcm_sw_params_t sw_params;
|
||||
snd_pcm_status_t status;
|
||||
struct {
|
||||
snd_pcm_uframes_t frames;
|
||||
} avail;
|
||||
struct {
|
||||
snd_pcm_sframes_t frames;
|
||||
} delay;
|
||||
struct {
|
||||
int enable;
|
||||
} pause;
|
||||
snd_pcm_channel_info_t channel_info;
|
||||
struct {
|
||||
snd_pcm_uframes_t frames;
|
||||
} rewind;
|
||||
struct {
|
||||
snd_pcm_uframes_t frames;
|
||||
} forward;
|
||||
struct {
|
||||
int fd;
|
||||
} link;
|
||||
struct {
|
||||
snd_pcm_uframes_t offset;
|
||||
snd_pcm_uframes_t frames;
|
||||
} mmap_commit;
|
||||
struct {
|
||||
char use_mmap;
|
||||
int shmid;
|
||||
off_t offset;
|
||||
} rbptr;
|
||||
} u;
|
||||
char data[0];
|
||||
} snd_pcm_shm_ctrl_t;
|
||||
|
||||
#define PCM_SHM_SIZE sizeof(snd_pcm_shm_ctrl_t)
|
||||
|
||||
#define SND_CTL_IOCTL_READ _IOR('U', 0xf1, snd_ctl_event_t)
|
||||
#define SND_CTL_IOCTL_CLOSE _IO ('U', 0xf2)
|
||||
#define SND_CTL_IOCTL_POLL_DESCRIPTOR _IO ('U', 0xf3)
|
||||
#define SND_CTL_IOCTL_ASYNC _IO ('U', 0xf4)
|
||||
|
||||
typedef struct {
|
||||
int result;
|
||||
int cmd;
|
||||
union {
|
||||
struct {
|
||||
int sig;
|
||||
pid_t pid;
|
||||
} async;
|
||||
int device;
|
||||
int subscribe_events;
|
||||
snd_ctl_card_info_t card_info;
|
||||
snd_ctl_elem_list_t element_list;
|
||||
snd_ctl_elem_info_t element_info;
|
||||
snd_ctl_elem_value_t element_read;
|
||||
snd_ctl_elem_value_t element_write;
|
||||
snd_ctl_elem_id_t element_lock;
|
||||
snd_ctl_elem_id_t element_unlock;
|
||||
snd_hwdep_info_t hwdep_info;
|
||||
snd_pcm_info_t pcm_info;
|
||||
int pcm_prefer_subdevice;
|
||||
snd_rawmidi_info_t rawmidi_info;
|
||||
int rawmidi_prefer_subdevice;
|
||||
unsigned int power_state;
|
||||
snd_ctl_event_t read;
|
||||
} u;
|
||||
char data[0];
|
||||
} snd_ctl_shm_ctrl_t;
|
||||
|
||||
#define CTL_SHM_SIZE 65536
|
||||
#define CTL_SHM_DATA_MAXLEN (CTL_SHM_SIZE - offsetof(snd_ctl_shm_ctrl_t, data))
|
||||
|
||||
typedef struct {
|
||||
unsigned char dev_type;
|
||||
unsigned char transport_type;
|
||||
unsigned char stream;
|
||||
unsigned char mode;
|
||||
unsigned char namelen;
|
||||
char name[0];
|
||||
} snd_client_open_request_t;
|
||||
|
||||
typedef struct {
|
||||
long result;
|
||||
int cookie;
|
||||
} snd_client_open_answer_t;
|
||||
|
@@ -1,310 +0,0 @@
|
||||
/**
|
||||
* \file include/asoundef.h
|
||||
* \brief Application interface library for the ALSA driver
|
||||
* \author Jaroslav Kysela <perex@perex.cz>
|
||||
* \author Abramo Bagnara <abramo@alsa-project.org>
|
||||
* \author Takashi Iwai <tiwai@suse.de>
|
||||
* \date 1998-2001
|
||||
*
|
||||
* Definitions of constants for the ALSA driver
|
||||
*/
|
||||
/*
|
||||
* This library is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as
|
||||
* published by the Free Software Foundation; either version 2.1 of
|
||||
* the License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __ALSA_ASOUNDEF_H
|
||||
#define __ALSA_ASOUNDEF_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* \defgroup Digital_Audio_Interface Constants for Digital Audio Interfaces
|
||||
* AES/IEC958 channel status bits.
|
||||
* \{
|
||||
*/
|
||||
|
||||
#define IEC958_AES0_PROFESSIONAL (1<<0) /**< 0 = consumer, 1 = professional */
|
||||
#define IEC958_AES0_NONAUDIO (1<<1) /**< 0 = audio, 1 = non-audio */
|
||||
#define IEC958_AES0_PRO_EMPHASIS (7<<2) /**< mask - emphasis */
|
||||
#define IEC958_AES0_PRO_EMPHASIS_NOTID (0<<2) /**< emphasis not indicated */
|
||||
#define IEC958_AES0_PRO_EMPHASIS_NONE (1<<2) /**< no emphasis */
|
||||
#define IEC958_AES0_PRO_EMPHASIS_5015 (3<<2) /**< 50/15us emphasis */
|
||||
#define IEC958_AES0_PRO_EMPHASIS_CCITT (7<<2) /**< CCITT J.17 emphasis */
|
||||
#define IEC958_AES0_PRO_FREQ_UNLOCKED (1<<5) /**< source sample frequency: 0 = locked, 1 = unlocked */
|
||||
#define IEC958_AES0_PRO_FS (3<<6) /**< mask - sample frequency */
|
||||
#define IEC958_AES0_PRO_FS_NOTID (0<<6) /**< fs not indicated */
|
||||
#define IEC958_AES0_PRO_FS_44100 (1<<6) /**< 44.1kHz */
|
||||
#define IEC958_AES0_PRO_FS_48000 (2<<6) /**< 48kHz */
|
||||
#define IEC958_AES0_PRO_FS_32000 (3<<6) /**< 32kHz */
|
||||
#define IEC958_AES0_CON_NOT_COPYRIGHT (1<<2) /**< 0 = copyright, 1 = not copyright */
|
||||
#define IEC958_AES0_CON_EMPHASIS (7<<3) /**< mask - emphasis */
|
||||
#define IEC958_AES0_CON_EMPHASIS_NONE (0<<3) /**< no emphasis */
|
||||
#define IEC958_AES0_CON_EMPHASIS_5015 (1<<3) /**< 50/15us emphasis */
|
||||
#define IEC958_AES0_CON_MODE (3<<6) /**< mask - mode */
|
||||
#define IEC958_AES1_PRO_MODE (15<<0) /**< mask - channel mode */
|
||||
#define IEC958_AES1_PRO_MODE_NOTID (0<<0) /**< mode not indicated */
|
||||
#define IEC958_AES1_PRO_MODE_STEREOPHONIC (2<<0) /**< stereophonic - ch A is left */
|
||||
#define IEC958_AES1_PRO_MODE_SINGLE (4<<0) /**< single channel */
|
||||
#define IEC958_AES1_PRO_MODE_TWO (8<<0) /**< two channels */
|
||||
#define IEC958_AES1_PRO_MODE_PRIMARY (12<<0) /**< primary/secondary */
|
||||
#define IEC958_AES1_PRO_MODE_BYTE3 (15<<0) /**< vector to byte 3 */
|
||||
#define IEC958_AES1_PRO_USERBITS (15<<4) /**< mask - user bits */
|
||||
#define IEC958_AES1_PRO_USERBITS_NOTID (0<<4) /**< user bits not indicated */
|
||||
#define IEC958_AES1_PRO_USERBITS_192 (8<<4) /**< 192-bit structure */
|
||||
#define IEC958_AES1_PRO_USERBITS_UDEF (12<<4) /**< user defined application */
|
||||
#define IEC958_AES1_CON_CATEGORY 0x7f /**< consumer category */
|
||||
#define IEC958_AES1_CON_GENERAL 0x00 /**< general category */
|
||||
#define IEC958_AES1_CON_LASEROPT_MASK 0x07 /**< Laser-optical mask */
|
||||
#define IEC958_AES1_CON_LASEROPT_ID 0x01 /**< Laser-optical ID */
|
||||
#define IEC958_AES1_CON_IEC908_CD (IEC958_AES1_CON_LASEROPT_ID|0x00) /**< IEC958 CD compatible device */
|
||||
#define IEC958_AES1_CON_NON_IEC908_CD (IEC958_AES1_CON_LASEROPT_ID|0x08) /**< non-IEC958 CD compatible device */
|
||||
#define IEC958_AES1_CON_MINI_DISC (IEC958_AES1_CON_LASEROPT_ID|0x48) /**< Mini-Disc device */
|
||||
#define IEC958_AES1_CON_DVD (IEC958_AES1_CON_LASEROPT_ID|0x18) /**< DVD device */
|
||||
#define IEC958_AES1_CON_LASTEROPT_OTHER (IEC958_AES1_CON_LASEROPT_ID|0x78) /**< Other laser-optical product */
|
||||
#define IEC958_AES1_CON_DIGDIGCONV_MASK 0x07 /**< digital<->digital converter mask */
|
||||
#define IEC958_AES1_CON_DIGDIGCONV_ID 0x02 /**< digital<->digital converter id */
|
||||
#define IEC958_AES1_CON_PCM_CODER (IEC958_AES1_CON_DIGDIGCONV_ID|0x00) /**< PCM coder */
|
||||
#define IEC958_AES1_CON_MIXER (IEC958_AES1_CON_DIGDIGCONV_ID|0x10) /**< Digital signal mixer */
|
||||
#define IEC958_AES1_CON_RATE_CONVERTER (IEC958_AES1_CON_DIGDIGCONV_ID|0x18) /**< Rate converter */
|
||||
#define IEC958_AES1_CON_SAMPLER (IEC958_AES1_CON_DIGDIGCONV_ID|0x20) /**< PCM sampler */
|
||||
#define IEC958_AES1_CON_DSP (IEC958_AES1_CON_DIGDIGCONV_ID|0x28) /**< Digital sound processor */
|
||||
#define IEC958_AES1_CON_DIGDIGCONV_OTHER (IEC958_AES1_CON_DIGDIGCONV_ID|0x78) /**< Other digital<->digital product */
|
||||
#define IEC958_AES1_CON_MAGNETIC_MASK 0x07 /**< Magnetic device mask */
|
||||
#define IEC958_AES1_CON_MAGNETIC_ID 0x03 /**< Magnetic device ID */
|
||||
#define IEC958_AES1_CON_DAT (IEC958_AES1_CON_MAGNETIC_ID|0x00) /**< Digital Audio Tape */
|
||||
#define IEC958_AES1_CON_VCR (IEC958_AES1_CON_MAGNETIC_ID|0x08) /**< Video recorder */
|
||||
#define IEC958_AES1_CON_DCC (IEC958_AES1_CON_MAGNETIC_ID|0x40) /**< Digital compact cassette */
|
||||
#define IEC958_AES1_CON_MAGNETIC_DISC (IEC958_AES1_CON_MAGNETIC_ID|0x18) /**< Magnetic disc digital audio device */
|
||||
#define IEC958_AES1_CON_MAGNETIC_OTHER (IEC958_AES1_CON_MAGNETIC_ID|0x78) /**< Other magnetic device */
|
||||
#define IEC958_AES1_CON_BROADCAST1_MASK 0x07 /**< Broadcast mask */
|
||||
#define IEC958_AES1_CON_BROADCAST1_ID 0x04 /**< Broadcast ID */
|
||||
#define IEC958_AES1_CON_DAB_JAPAN (IEC958_AES1_CON_BROADCAST1_ID|0x00) /**< Digital audio broadcast (Japan) */
|
||||
#define IEC958_AES1_CON_DAB_EUROPE (IEC958_AES1_CON_BROADCAST1_ID|0x08) /**< Digital audio broadcast (Europe) */
|
||||
#define IEC958_AES1_CON_DAB_USA (IEC958_AES1_CON_BROADCAST1_ID|0x60) /**< Digital audio broadcast (USA) */
|
||||
#define IEC958_AES1_CON_SOFTWARE (IEC958_AES1_CON_BROADCAST1_ID|0x40) /**< Electronic software delivery */
|
||||
#define IEC958_AES1_CON_IEC62105 (IEC958_AES1_CON_BROADCAST1_ID|0x20) /**< Used by another standard (IEC 62105) */
|
||||
#define IEC958_AES1_CON_BROADCAST1_OTHER (IEC958_AES1_CON_BROADCAST1_ID|0x78) /**< Other broadcast product */
|
||||
#define IEC958_AES1_CON_BROADCAST2_MASK 0x0f /**< Broadcast alternative mask */
|
||||
#define IEC958_AES1_CON_BROADCAST2_ID 0x0e /**< Broadcast alternative ID */
|
||||
#define IEC958_AES1_CON_MUSICAL_MASK 0x07 /**< Musical device mask */
|
||||
#define IEC958_AES1_CON_MUSICAL_ID 0x05 /**< Musical device ID */
|
||||
#define IEC958_AES1_CON_SYNTHESIZER (IEC958_AES1_CON_MUSICAL_ID|0x00) /**< Synthesizer */
|
||||
#define IEC958_AES1_CON_MICROPHONE (IEC958_AES1_CON_MUSICAL_ID|0x08) /**< Microphone */
|
||||
#define IEC958_AES1_CON_MUSICAL_OTHER (IEC958_AES1_CON_MUSICAL_ID|0x78) /**< Other musical device */
|
||||
#define IEC958_AES1_CON_ADC_MASK 0x1f /**< ADC Mask */
|
||||
#define IEC958_AES1_CON_ADC_ID 0x06 /**< ADC ID */
|
||||
#define IEC958_AES1_CON_ADC (IEC958_AES1_CON_ADC_ID|0x00) /**< ADC without copyright information */
|
||||
#define IEC958_AES1_CON_ADC_OTHER (IEC958_AES1_CON_ADC_ID|0x60) /**< Other ADC product (with no copyright information) */
|
||||
#define IEC958_AES1_CON_ADC_COPYRIGHT_MASK 0x1f /**< ADC Copyright mask */
|
||||
#define IEC958_AES1_CON_ADC_COPYRIGHT_ID 0x16 /**< ADC Copyright ID */
|
||||
#define IEC958_AES1_CON_ADC_COPYRIGHT (IEC958_AES1_CON_ADC_COPYRIGHT_ID|0x00) /**< ADC with copyright information */
|
||||
#define IEC958_AES1_CON_ADC_COPYRIGHT_OTHER (IEC958_AES1_CON_ADC_COPYRIGHT_ID|0x60) /**< Other ADC with copyright information product */
|
||||
#define IEC958_AES1_CON_SOLIDMEM_MASK 0x0f /**< Solid memory based products mask */
|
||||
#define IEC958_AES1_CON_SOLIDMEM_ID 0x08 /**< Solid memory based products ID */
|
||||
#define IEC958_AES1_CON_SOLIDMEM_DIGITAL_RECORDER_PLAYER (IEC958_AES1_CON_SOLIDMEM_ID|0x00) /**< Digital audio recorder and player using solid state memory */
|
||||
#define IEC958_AES1_CON_SOLIDMEM_OTHER (IEC958_AES1_CON_SOLIDMEM_ID|0x70) /**< Other solid state memory based product */
|
||||
#define IEC958_AES1_CON_EXPERIMENTAL 0x40 /**< experimental category */
|
||||
#define IEC958_AES1_CON_ORIGINAL (1<<7) /**< this bits depends on the category code */
|
||||
#define IEC958_AES2_PRO_SBITS (7<<0) /**< mask - sample bits */
|
||||
#define IEC958_AES2_PRO_SBITS_20 (2<<0) /**< 20-bit - coordination */
|
||||
#define IEC958_AES2_PRO_SBITS_24 (4<<0) /**< 24-bit - main audio */
|
||||
#define IEC958_AES2_PRO_SBITS_UDEF (6<<0) /**< user defined application */
|
||||
#define IEC958_AES2_PRO_WORDLEN (7<<3) /**< mask - source word length */
|
||||
#define IEC958_AES2_PRO_WORDLEN_NOTID (0<<3) /**< source word length not indicated */
|
||||
#define IEC958_AES2_PRO_WORDLEN_22_18 (2<<3) /**< 22-bit or 18-bit */
|
||||
#define IEC958_AES2_PRO_WORDLEN_23_19 (4<<3) /**< 23-bit or 19-bit */
|
||||
#define IEC958_AES2_PRO_WORDLEN_24_20 (5<<3) /**< 24-bit or 20-bit */
|
||||
#define IEC958_AES2_PRO_WORDLEN_20_16 (6<<3) /**< 20-bit or 16-bit */
|
||||
#define IEC958_AES2_CON_SOURCE (15<<0) /**< mask - source number */
|
||||
#define IEC958_AES2_CON_SOURCE_UNSPEC (0<<0) /**< source number unspecified */
|
||||
#define IEC958_AES2_CON_CHANNEL (15<<4) /**< mask - channel number */
|
||||
#define IEC958_AES2_CON_CHANNEL_UNSPEC (0<<4) /**< channel number unspecified */
|
||||
#define IEC958_AES3_CON_FS (15<<0) /**< mask - sample frequency */
|
||||
#define IEC958_AES3_CON_FS_44100 (0<<0) /**< 44.1kHz */
|
||||
#define IEC958_AES3_CON_FS_NOTID (1<<0) /**< sample frequency non indicated */
|
||||
#define IEC958_AES3_CON_FS_48000 (2<<0) /**< 48kHz */
|
||||
#define IEC958_AES3_CON_FS_32000 (3<<0) /**< 32kHz */
|
||||
#define IEC958_AES3_CON_FS_22050 (4<<0) /**< 22.05kHz */
|
||||
#define IEC958_AES3_CON_FS_24000 (6<<0) /**< 24kHz */
|
||||
#define IEC958_AES3_CON_FS_88200 (8<<0) /**< 88.2kHz */
|
||||
#define IEC958_AES3_CON_FS_768000 (9<<0) /**< 768kHz */
|
||||
#define IEC958_AES3_CON_FS_96000 (10<<0) /**< 96kHz */
|
||||
#define IEC958_AES3_CON_FS_176400 (12<<0) /**< 176.4kHz */
|
||||
#define IEC958_AES3_CON_FS_192000 (14<<0) /**< 192kHz */
|
||||
#define IEC958_AES3_CON_CLOCK (3<<4) /**< mask - clock accuracy */
|
||||
#define IEC958_AES3_CON_CLOCK_1000PPM (0<<4) /**< 1000 ppm */
|
||||
#define IEC958_AES3_CON_CLOCK_50PPM (1<<4) /**< 50 ppm */
|
||||
#define IEC958_AES3_CON_CLOCK_VARIABLE (2<<4) /**< variable pitch */
|
||||
#define IEC958_AES4_CON_MAX_WORDLEN_24 (1<<0) /**< 0 = 20-bit, 1 = 24-bit */
|
||||
#define IEC958_AES4_CON_WORDLEN (7<<1) /**< mask - sample word length */
|
||||
#define IEC958_AES4_CON_WORDLEN_NOTID (0<<1) /**< not indicated */
|
||||
#define IEC958_AES4_CON_WORDLEN_20_16 (1<<1) /**< 20-bit or 16-bit */
|
||||
#define IEC958_AES4_CON_WORDLEN_22_18 (2<<1) /**< 22-bit or 18-bit */
|
||||
#define IEC958_AES4_CON_WORDLEN_23_19 (4<<1) /**< 23-bit or 19-bit */
|
||||
#define IEC958_AES4_CON_WORDLEN_24_20 (5<<1) /**< 24-bit or 20-bit */
|
||||
#define IEC958_AES4_CON_WORDLEN_21_17 (6<<1) /**< 21-bit or 17-bit */
|
||||
#define IEC958_AES4_CON_ORIGFS (15<<4) /**< mask - original sample frequency */
|
||||
#define IEC958_AES4_CON_ORIGFS_NOTID (0<<4) /**< original sample frequency not indicated */
|
||||
#define IEC958_AES4_CON_ORIGFS_192000 (1<<4) /**< 192kHz */
|
||||
#define IEC958_AES4_CON_ORIGFS_12000 (2<<4) /**< 12kHz */
|
||||
#define IEC958_AES4_CON_ORIGFS_176400 (3<<4) /**< 176.4kHz */
|
||||
#define IEC958_AES4_CON_ORIGFS_96000 (5<<4) /**< 96kHz */
|
||||
#define IEC958_AES4_CON_ORIGFS_8000 (6<<4) /**< 8kHz */
|
||||
#define IEC958_AES4_CON_ORIGFS_88200 (7<<4) /**< 88.2kHz */
|
||||
#define IEC958_AES4_CON_ORIGFS_16000 (8<<4) /**< 16kHz */
|
||||
#define IEC958_AES4_CON_ORIGFS_24000 (9<<4) /**< 24kHz */
|
||||
#define IEC958_AES4_CON_ORIGFS_11025 (10<<4) /**< 11.025kHz */
|
||||
#define IEC958_AES4_CON_ORIGFS_22050 (11<<4) /**< 22.05kHz */
|
||||
#define IEC958_AES4_CON_ORIGFS_32000 (12<<4) /**< 32kHz */
|
||||
#define IEC958_AES4_CON_ORIGFS_48000 (13<<4) /**< 48kHz */
|
||||
#define IEC958_AES4_CON_ORIGFS_44100 (15<<4) /**< 44.1kHz */
|
||||
#define IEC958_AES5_CON_CGMSA (3<<0) /**< mask - CGMS-A */
|
||||
#define IEC958_AES5_CON_CGMSA_COPYFREELY (0<<0) /**< copying is permitted without restriction */
|
||||
#define IEC958_AES5_CON_CGMSA_COPYONCE (1<<0) /**< one generation of copies may be made */
|
||||
#define IEC958_AES5_CON_CGMSA_COPYNOMORE (2<<0) /**< condition not be used */
|
||||
#define IEC958_AES5_CON_CGMSA_COPYNEVER (3<<0) /**< no copying is permitted */
|
||||
|
||||
/** \} */
|
||||
|
||||
/**
|
||||
* \defgroup MIDI_Interface Constants for MIDI v1.0
|
||||
* Constants for MIDI v1.0.
|
||||
* \{
|
||||
*/
|
||||
|
||||
#define MIDI_CHANNELS 16 /**< Number of channels per port/cable. */
|
||||
#define MIDI_GM_DRUM_CHANNEL (10-1) /**< Channel number for GM drums. */
|
||||
|
||||
/**
|
||||
* \defgroup MIDI_Commands MIDI Commands
|
||||
* MIDI command codes.
|
||||
* \{
|
||||
*/
|
||||
|
||||
#define MIDI_CMD_NOTE_OFF 0x80 /**< note off */
|
||||
#define MIDI_CMD_NOTE_ON 0x90 /**< note on */
|
||||
#define MIDI_CMD_NOTE_PRESSURE 0xa0 /**< key pressure */
|
||||
#define MIDI_CMD_CONTROL 0xb0 /**< control change */
|
||||
#define MIDI_CMD_PGM_CHANGE 0xc0 /**< program change */
|
||||
#define MIDI_CMD_CHANNEL_PRESSURE 0xd0 /**< channel pressure */
|
||||
#define MIDI_CMD_BENDER 0xe0 /**< pitch bender */
|
||||
|
||||
#define MIDI_CMD_COMMON_SYSEX 0xf0 /**< sysex (system exclusive) begin */
|
||||
#define MIDI_CMD_COMMON_MTC_QUARTER 0xf1 /**< MTC quarter frame */
|
||||
#define MIDI_CMD_COMMON_SONG_POS 0xf2 /**< song position */
|
||||
#define MIDI_CMD_COMMON_SONG_SELECT 0xf3 /**< song select */
|
||||
#define MIDI_CMD_COMMON_TUNE_REQUEST 0xf6 /**< tune request */
|
||||
#define MIDI_CMD_COMMON_SYSEX_END 0xf7 /**< end of sysex */
|
||||
#define MIDI_CMD_COMMON_CLOCK 0xf8 /**< clock */
|
||||
#define MIDI_CMD_COMMON_START 0xfa /**< start */
|
||||
#define MIDI_CMD_COMMON_CONTINUE 0xfb /**< continue */
|
||||
#define MIDI_CMD_COMMON_STOP 0xfc /**< stop */
|
||||
#define MIDI_CMD_COMMON_SENSING 0xfe /**< active sensing */
|
||||
#define MIDI_CMD_COMMON_RESET 0xff /**< reset */
|
||||
|
||||
/** \} */
|
||||
|
||||
/**
|
||||
* \defgroup MIDI_Controllers MIDI Controllers
|
||||
* MIDI controller numbers.
|
||||
* \{
|
||||
*/
|
||||
|
||||
#define MIDI_CTL_MSB_BANK 0x00 /**< Bank selection */
|
||||
#define MIDI_CTL_MSB_MODWHEEL 0x01 /**< Modulation */
|
||||
#define MIDI_CTL_MSB_BREATH 0x02 /**< Breath */
|
||||
#define MIDI_CTL_MSB_FOOT 0x04 /**< Foot */
|
||||
#define MIDI_CTL_MSB_PORTAMENTO_TIME 0x05 /**< Portamento time */
|
||||
#define MIDI_CTL_MSB_DATA_ENTRY 0x06 /**< Data entry */
|
||||
#define MIDI_CTL_MSB_MAIN_VOLUME 0x07 /**< Main volume */
|
||||
#define MIDI_CTL_MSB_BALANCE 0x08 /**< Balance */
|
||||
#define MIDI_CTL_MSB_PAN 0x0a /**< Panpot */
|
||||
#define MIDI_CTL_MSB_EXPRESSION 0x0b /**< Expression */
|
||||
#define MIDI_CTL_MSB_EFFECT1 0x0c /**< Effect1 */
|
||||
#define MIDI_CTL_MSB_EFFECT2 0x0d /**< Effect2 */
|
||||
#define MIDI_CTL_MSB_GENERAL_PURPOSE1 0x10 /**< General purpose 1 */
|
||||
#define MIDI_CTL_MSB_GENERAL_PURPOSE2 0x11 /**< General purpose 2 */
|
||||
#define MIDI_CTL_MSB_GENERAL_PURPOSE3 0x12 /**< General purpose 3 */
|
||||
#define MIDI_CTL_MSB_GENERAL_PURPOSE4 0x13 /**< General purpose 4 */
|
||||
#define MIDI_CTL_LSB_BANK 0x20 /**< Bank selection */
|
||||
#define MIDI_CTL_LSB_MODWHEEL 0x21 /**< Modulation */
|
||||
#define MIDI_CTL_LSB_BREATH 0x22 /**< Breath */
|
||||
#define MIDI_CTL_LSB_FOOT 0x24 /**< Foot */
|
||||
#define MIDI_CTL_LSB_PORTAMENTO_TIME 0x25 /**< Portamento time */
|
||||
#define MIDI_CTL_LSB_DATA_ENTRY 0x26 /**< Data entry */
|
||||
#define MIDI_CTL_LSB_MAIN_VOLUME 0x27 /**< Main volume */
|
||||
#define MIDI_CTL_LSB_BALANCE 0x28 /**< Balance */
|
||||
#define MIDI_CTL_LSB_PAN 0x2a /**< Panpot */
|
||||
#define MIDI_CTL_LSB_EXPRESSION 0x2b /**< Expression */
|
||||
#define MIDI_CTL_LSB_EFFECT1 0x2c /**< Effect1 */
|
||||
#define MIDI_CTL_LSB_EFFECT2 0x2d /**< Effect2 */
|
||||
#define MIDI_CTL_LSB_GENERAL_PURPOSE1 0x30 /**< General purpose 1 */
|
||||
#define MIDI_CTL_LSB_GENERAL_PURPOSE2 0x31 /**< General purpose 2 */
|
||||
#define MIDI_CTL_LSB_GENERAL_PURPOSE3 0x32 /**< General purpose 3 */
|
||||
#define MIDI_CTL_LSB_GENERAL_PURPOSE4 0x33 /**< General purpose 4 */
|
||||
#define MIDI_CTL_SUSTAIN 0x40 /**< Sustain pedal */
|
||||
#define MIDI_CTL_PORTAMENTO 0x41 /**< Portamento */
|
||||
#define MIDI_CTL_SOSTENUTO 0x42 /**< Sostenuto */
|
||||
#define MIDI_CTL_SUSTENUTO 0x42 /**< Sostenuto (a typo in the older version) */
|
||||
#define MIDI_CTL_SOFT_PEDAL 0x43 /**< Soft pedal */
|
||||
#define MIDI_CTL_LEGATO_FOOTSWITCH 0x44 /**< Legato foot switch */
|
||||
#define MIDI_CTL_HOLD2 0x45 /**< Hold2 */
|
||||
#define MIDI_CTL_SC1_SOUND_VARIATION 0x46 /**< SC1 Sound Variation */
|
||||
#define MIDI_CTL_SC2_TIMBRE 0x47 /**< SC2 Timbre */
|
||||
#define MIDI_CTL_SC3_RELEASE_TIME 0x48 /**< SC3 Release Time */
|
||||
#define MIDI_CTL_SC4_ATTACK_TIME 0x49 /**< SC4 Attack Time */
|
||||
#define MIDI_CTL_SC5_BRIGHTNESS 0x4a /**< SC5 Brightness */
|
||||
#define MIDI_CTL_SC6 0x4b /**< SC6 */
|
||||
#define MIDI_CTL_SC7 0x4c /**< SC7 */
|
||||
#define MIDI_CTL_SC8 0x4d /**< SC8 */
|
||||
#define MIDI_CTL_SC9 0x4e /**< SC9 */
|
||||
#define MIDI_CTL_SC10 0x4f /**< SC10 */
|
||||
#define MIDI_CTL_GENERAL_PURPOSE5 0x50 /**< General purpose 5 */
|
||||
#define MIDI_CTL_GENERAL_PURPOSE6 0x51 /**< General purpose 6 */
|
||||
#define MIDI_CTL_GENERAL_PURPOSE7 0x52 /**< General purpose 7 */
|
||||
#define MIDI_CTL_GENERAL_PURPOSE8 0x53 /**< General purpose 8 */
|
||||
#define MIDI_CTL_PORTAMENTO_CONTROL 0x54 /**< Portamento control */
|
||||
#define MIDI_CTL_E1_REVERB_DEPTH 0x5b /**< E1 Reverb Depth */
|
||||
#define MIDI_CTL_E2_TREMOLO_DEPTH 0x5c /**< E2 Tremolo Depth */
|
||||
#define MIDI_CTL_E3_CHORUS_DEPTH 0x5d /**< E3 Chorus Depth */
|
||||
#define MIDI_CTL_E4_DETUNE_DEPTH 0x5e /**< E4 Detune Depth */
|
||||
#define MIDI_CTL_E5_PHASER_DEPTH 0x5f /**< E5 Phaser Depth */
|
||||
#define MIDI_CTL_DATA_INCREMENT 0x60 /**< Data Increment */
|
||||
#define MIDI_CTL_DATA_DECREMENT 0x61 /**< Data Decrement */
|
||||
#define MIDI_CTL_NONREG_PARM_NUM_LSB 0x62 /**< Non-registered parameter number */
|
||||
#define MIDI_CTL_NONREG_PARM_NUM_MSB 0x63 /**< Non-registered parameter number */
|
||||
#define MIDI_CTL_REGIST_PARM_NUM_LSB 0x64 /**< Registered parameter number */
|
||||
#define MIDI_CTL_REGIST_PARM_NUM_MSB 0x65 /**< Registered parameter number */
|
||||
#define MIDI_CTL_ALL_SOUNDS_OFF 0x78 /**< All sounds off */
|
||||
#define MIDI_CTL_RESET_CONTROLLERS 0x79 /**< Reset Controllers */
|
||||
#define MIDI_CTL_LOCAL_CONTROL_SWITCH 0x7a /**< Local control switch */
|
||||
#define MIDI_CTL_ALL_NOTES_OFF 0x7b /**< All notes off */
|
||||
#define MIDI_CTL_OMNI_OFF 0x7c /**< Omni off */
|
||||
#define MIDI_CTL_OMNI_ON 0x7d /**< Omni on */
|
||||
#define MIDI_CTL_MONO1 0x7e /**< Mono1 */
|
||||
#define MIDI_CTL_MONO2 0x7f /**< Mono2 */
|
||||
|
||||
/** \} */
|
||||
|
||||
/** \} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __ALSA_ASOUNDEF_H */
|
@@ -1,48 +0,0 @@
|
||||
/**
|
||||
* \file include/asoundlib.h
|
||||
* \brief Application interface library for the ALSA driver
|
||||
* \author Jaroslav Kysela <perex@perex.cz>
|
||||
* \author Abramo Bagnara <abramo@alsa-project.org>
|
||||
* \author Takashi Iwai <tiwai@suse.de>
|
||||
* \date 1998-2001
|
||||
*
|
||||
* Application interface library for the ALSA driver
|
||||
*/
|
||||
/*
|
||||
* This library is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as
|
||||
* published by the Free Software Foundation; either version 2.1 of
|
||||
* the License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __ASOUNDLIB_H
|
||||
#define __ASOUNDLIB_H
|
||||
|
||||
#include <unistd.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <fcntl.h>
|
||||
#include <assert.h>
|
||||
#include <endian.h>
|
||||
#include <sys/poll.h>
|
||||
#include <errno.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#include <alsa/asoundef.h>
|
||||
#include <alsa/version.h>
|
||||
#include <alsa/global.h>
|
||||
#include <alsa/input.h>
|
||||
#include <alsa/output.h>
|
||||
#include <alsa/error.h>
|
||||
#include <alsa/conf.h>
|
@@ -1,2 +0,0 @@
|
||||
|
||||
#endif /* __ASOUNDLIB_H */
|
@@ -1,60 +0,0 @@
|
||||
/**
|
||||
* \file include/asoundlib.h
|
||||
* \brief Application interface library for the ALSA driver
|
||||
* \author Jaroslav Kysela <perex@perex.cz>
|
||||
* \author Abramo Bagnara <abramo@alsa-project.org>
|
||||
* \author Takashi Iwai <tiwai@suse.de>
|
||||
* \date 1998-2001
|
||||
*
|
||||
* Application interface library for the ALSA driver
|
||||
*/
|
||||
/*
|
||||
* This library is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as
|
||||
* published by the Free Software Foundation; either version 2.1 of
|
||||
* the License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __ASOUNDLIB_H
|
||||
#define __ASOUNDLIB_H
|
||||
|
||||
#include <unistd.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <fcntl.h>
|
||||
#include <assert.h>
|
||||
#include <endian.h>
|
||||
#include <sys/poll.h>
|
||||
#include <errno.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#include <alsa/asoundef.h>
|
||||
#include <alsa/version.h>
|
||||
#include <alsa/global.h>
|
||||
#include <alsa/input.h>
|
||||
#include <alsa/output.h>
|
||||
#include <alsa/error.h>
|
||||
#include <alsa/conf.h>
|
||||
#include <alsa/pcm.h>
|
||||
#include <alsa/rawmidi.h>
|
||||
#include <alsa/timer.h>
|
||||
#include <alsa/hwdep.h>
|
||||
#include <alsa/control.h>
|
||||
#include <alsa/mixer.h>
|
||||
#include <alsa/seq_event.h>
|
||||
#include <alsa/seq.h>
|
||||
#include <alsa/seqmid.h>
|
||||
#include <alsa/seq_midi_event.h>
|
||||
|
||||
#endif /* __ASOUNDLIB_H */
|
@@ -1,207 +0,0 @@
|
||||
/**
|
||||
* \file include/conf.h
|
||||
* \brief Application interface library for the ALSA driver
|
||||
* \author Jaroslav Kysela <perex@perex.cz>
|
||||
* \author Abramo Bagnara <abramo@alsa-project.org>
|
||||
* \author Takashi Iwai <tiwai@suse.de>
|
||||
* \date 1998-2001
|
||||
*
|
||||
* Application interface library for the ALSA driver
|
||||
*/
|
||||
/*
|
||||
* This library is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as
|
||||
* published by the Free Software Foundation; either version 2.1 of
|
||||
* the License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __ALSA_CONF_H
|
||||
#define __ALSA_CONF_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* \defgroup Config Configuration Interface
|
||||
* The configuration functions and types allow you to read, enumerate,
|
||||
* modify and write the contents of ALSA configuration files.
|
||||
* \{
|
||||
*/
|
||||
|
||||
/** \brief \c dlsym version for the config evaluate callback. */
|
||||
#define SND_CONFIG_DLSYM_VERSION_EVALUATE _dlsym_config_evaluate_001
|
||||
/** \brief \c dlsym version for the config hook callback. */
|
||||
#define SND_CONFIG_DLSYM_VERSION_HOOK _dlsym_config_hook_001
|
||||
|
||||
/** \brief Configuration node type. */
|
||||
typedef enum _snd_config_type {
|
||||
/** Integer number. */
|
||||
SND_CONFIG_TYPE_INTEGER,
|
||||
/** 64-bit integer number. */
|
||||
SND_CONFIG_TYPE_INTEGER64,
|
||||
/** Real number. */
|
||||
SND_CONFIG_TYPE_REAL,
|
||||
/** Character string. */
|
||||
SND_CONFIG_TYPE_STRING,
|
||||
/** Pointer (runtime only, cannot be saved). */
|
||||
SND_CONFIG_TYPE_POINTER,
|
||||
/** Compound node. */
|
||||
SND_CONFIG_TYPE_COMPOUND = 1024
|
||||
} snd_config_type_t;
|
||||
|
||||
/**
|
||||
* \brief Internal structure for a configuration node object.
|
||||
*
|
||||
* The ALSA library uses a pointer to this structure as a handle to a
|
||||
* configuration node. Applications don't access its contents directly.
|
||||
*/
|
||||
typedef struct _snd_config snd_config_t;
|
||||
/**
|
||||
* \brief Type for a configuration compound iterator.
|
||||
*
|
||||
* The ALSA library uses this pointer type as a handle to a configuration
|
||||
* compound iterator. Applications don't directly access the contents of
|
||||
* the structure pointed to by this type.
|
||||
*/
|
||||
typedef struct _snd_config_iterator *snd_config_iterator_t;
|
||||
/**
|
||||
* \brief Internal structure for a configuration private update object.
|
||||
*
|
||||
* The ALSA library uses this structure to save private update information.
|
||||
*/
|
||||
typedef struct _snd_config_update snd_config_update_t;
|
||||
|
||||
extern snd_config_t *snd_config;
|
||||
|
||||
int snd_config_top(snd_config_t **config);
|
||||
|
||||
int snd_config_load(snd_config_t *config, snd_input_t *in);
|
||||
int snd_config_load_override(snd_config_t *config, snd_input_t *in);
|
||||
int snd_config_save(snd_config_t *config, snd_output_t *out);
|
||||
int snd_config_update(void);
|
||||
int snd_config_update_r(snd_config_t **top, snd_config_update_t **update, const char *path);
|
||||
int snd_config_update_free(snd_config_update_t *update);
|
||||
int snd_config_update_free_global(void);
|
||||
|
||||
int snd_config_search(snd_config_t *config, const char *key,
|
||||
snd_config_t **result);
|
||||
int snd_config_searchv(snd_config_t *config,
|
||||
snd_config_t **result, ...);
|
||||
int snd_config_search_definition(snd_config_t *config,
|
||||
const char *base, const char *key,
|
||||
snd_config_t **result);
|
||||
|
||||
int snd_config_expand(snd_config_t *config, snd_config_t *root,
|
||||
const char *args, snd_config_t *private_data,
|
||||
snd_config_t **result);
|
||||
int snd_config_evaluate(snd_config_t *config, snd_config_t *root,
|
||||
snd_config_t *private_data, snd_config_t **result);
|
||||
|
||||
int snd_config_add(snd_config_t *config, snd_config_t *leaf);
|
||||
int snd_config_delete(snd_config_t *config);
|
||||
int snd_config_delete_compound_members(const snd_config_t *config);
|
||||
int snd_config_copy(snd_config_t **dst, snd_config_t *src);
|
||||
|
||||
int snd_config_make(snd_config_t **config, const char *key,
|
||||
snd_config_type_t type);
|
||||
int snd_config_make_integer(snd_config_t **config, const char *key);
|
||||
int snd_config_make_integer64(snd_config_t **config, const char *key);
|
||||
int snd_config_make_real(snd_config_t **config, const char *key);
|
||||
int snd_config_make_string(snd_config_t **config, const char *key);
|
||||
int snd_config_make_pointer(snd_config_t **config, const char *key);
|
||||
int snd_config_make_compound(snd_config_t **config, const char *key, int join);
|
||||
|
||||
int snd_config_imake_integer(snd_config_t **config, const char *key, const long value);
|
||||
int snd_config_imake_integer64(snd_config_t **config, const char *key, const long long value);
|
||||
int snd_config_imake_real(snd_config_t **config, const char *key, const double value);
|
||||
int snd_config_imake_string(snd_config_t **config, const char *key, const char *ascii);
|
||||
int snd_config_imake_pointer(snd_config_t **config, const char *key, const void *ptr);
|
||||
|
||||
snd_config_type_t snd_config_get_type(const snd_config_t *config);
|
||||
|
||||
int snd_config_set_id(snd_config_t *config, const char *id);
|
||||
int snd_config_set_integer(snd_config_t *config, long value);
|
||||
int snd_config_set_integer64(snd_config_t *config, long long value);
|
||||
int snd_config_set_real(snd_config_t *config, double value);
|
||||
int snd_config_set_string(snd_config_t *config, const char *value);
|
||||
int snd_config_set_ascii(snd_config_t *config, const char *ascii);
|
||||
int snd_config_set_pointer(snd_config_t *config, const void *ptr);
|
||||
int snd_config_get_id(const snd_config_t *config, const char **value);
|
||||
int snd_config_get_integer(const snd_config_t *config, long *value);
|
||||
int snd_config_get_integer64(const snd_config_t *config, long long *value);
|
||||
int snd_config_get_real(const snd_config_t *config, double *value);
|
||||
int snd_config_get_ireal(const snd_config_t *config, double *value);
|
||||
int snd_config_get_string(const snd_config_t *config, const char **value);
|
||||
int snd_config_get_ascii(const snd_config_t *config, char **value);
|
||||
int snd_config_get_pointer(const snd_config_t *config, const void **value);
|
||||
int snd_config_test_id(const snd_config_t *config, const char *id);
|
||||
|
||||
snd_config_iterator_t snd_config_iterator_first(const snd_config_t *node);
|
||||
snd_config_iterator_t snd_config_iterator_next(const snd_config_iterator_t iterator);
|
||||
snd_config_iterator_t snd_config_iterator_end(const snd_config_t *node);
|
||||
snd_config_t *snd_config_iterator_entry(const snd_config_iterator_t iterator);
|
||||
|
||||
/**
|
||||
* \brief Helper macro to iterate over the children of a compound node.
|
||||
* \param[in,out] pos Iterator variable for the current node.
|
||||
* \param[in,out] next Temporary iterator variable for the next node.
|
||||
* \param[in] node Handle to the compound configuration node to iterate over.
|
||||
*
|
||||
* Use this macro like a \c for statement, e.g.:
|
||||
* \code
|
||||
* snd_config_iterator_t pos, next;
|
||||
* snd_config_for_each(pos, next, node) {
|
||||
* snd_config_t *entry = snd_config_iterator_entry(pos);
|
||||
* ...
|
||||
* }
|
||||
* \endcode
|
||||
*
|
||||
* This macro allows deleting or removing the current node.
|
||||
*/
|
||||
#define snd_config_for_each(pos, next, node) \
|
||||
for (pos = snd_config_iterator_first(node), next = snd_config_iterator_next(pos); pos != snd_config_iterator_end(node); pos = next, next = snd_config_iterator_next(pos))
|
||||
|
||||
/* Misc functions */
|
||||
|
||||
int snd_config_get_bool_ascii(const char *ascii);
|
||||
int snd_config_get_bool(const snd_config_t *conf);
|
||||
int snd_config_get_ctl_iface_ascii(const char *ascii);
|
||||
int snd_config_get_ctl_iface(const snd_config_t *conf);
|
||||
|
||||
/* Names functions */
|
||||
|
||||
/**
|
||||
* Device-name list element
|
||||
*/
|
||||
typedef struct snd_devname snd_devname_t;
|
||||
|
||||
/**
|
||||
* Device-name list element (definition)
|
||||
*/
|
||||
struct snd_devname {
|
||||
char *name; /**< Device name string */
|
||||
char *comment; /**< Comments */
|
||||
snd_devname_t *next; /**< Next pointer */
|
||||
};
|
||||
|
||||
int snd_names_list(const char *iface, snd_devname_t **list);
|
||||
void snd_names_list_free(snd_devname_t *list);
|
||||
|
||||
/** \} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __ALSA_CONF_H */
|
@@ -1,165 +0,0 @@
|
||||
/* include/config.h. Generated from config.h.in by configure. */
|
||||
/* include/config.h.in. Generated from configure.in by autoheader. */
|
||||
|
||||
/* Directory with aload* device files */
|
||||
#ifndef ALOAD_DEVICE_DIRECTORY
|
||||
#define ALOAD_DEVICE_DIRECTORY "/dev/"
|
||||
#endif
|
||||
|
||||
/* directory containing ALSA configuration database */
|
||||
#ifndef ALSA_CONFIG_DIR
|
||||
#define ALSA_CONFIG_DIR "/usr/share/alsa"
|
||||
#endif
|
||||
|
||||
/* Enable assert at error message handler */
|
||||
/* #undef ALSA_DEBUG_ASSERT */
|
||||
|
||||
/* Directory with ALSA device files */
|
||||
#ifndef ALSA_DEVICE_DIRECTORY
|
||||
#define ALSA_DEVICE_DIRECTORY "/dev/snd/"
|
||||
#endif
|
||||
|
||||
/* directory containing ALSA add-on modules */
|
||||
#ifndef ALSA_PLUGIN_DIR
|
||||
#define ALSA_PLUGIN_DIR "/usr/lib/alsa-lib"
|
||||
#endif
|
||||
|
||||
/* Build hwdep component */
|
||||
#define BUILD_HWDEP "1"
|
||||
|
||||
/* Build mixer component */
|
||||
#define BUILD_MIXER "1"
|
||||
|
||||
/* Build PCM component */
|
||||
#define BUILD_PCM "1"
|
||||
|
||||
/* Build PCM adpcm plugin */
|
||||
#define BUILD_PCM_PLUGIN_ADPCM "1"
|
||||
|
||||
/* Build PCM alaw plugin */
|
||||
#define BUILD_PCM_PLUGIN_ALAW "1"
|
||||
|
||||
/* Build PCM lfloat plugin */
|
||||
#define BUILD_PCM_PLUGIN_LFLOAT "1"
|
||||
|
||||
/* Build PCM mulaw plugin */
|
||||
#define BUILD_PCM_PLUGIN_MULAW "1"
|
||||
|
||||
/* Build PCM rate plugin */
|
||||
#define BUILD_PCM_PLUGIN_RATE "1"
|
||||
|
||||
/* Build PCM route plugin */
|
||||
#define BUILD_PCM_PLUGIN_ROUTE "1"
|
||||
|
||||
/* Build raw MIDI component */
|
||||
/* #undef BUILD_RAWMIDI */
|
||||
|
||||
/* Build sequencer component */
|
||||
/* #undef BUILD_SEQ */
|
||||
|
||||
/* Have clock gettime */
|
||||
/* #undef HAVE_CLOCK_GETTIME */
|
||||
|
||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
#define HAVE_DLFCN_H 1
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#define HAVE_INTTYPES_H 1
|
||||
|
||||
/* Have libdl */
|
||||
#define HAVE_LIBDL 1
|
||||
|
||||
/* Have libpthread */
|
||||
#define HAVE_LIBPTHREAD 1
|
||||
|
||||
/* Define to 1 if you have the `resmgr' library (-lresmgr). */
|
||||
/* #undef HAVE_LIBRESMGR */
|
||||
|
||||
/* Have librt */
|
||||
/* #undef HAVE_LIBRT */
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#define HAVE_MEMORY_H 1
|
||||
|
||||
/* Avoid calculation in float */
|
||||
#define HAVE_SOFT_FLOAT "1"
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#define HAVE_STDINT_H 1
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#define HAVE_STDLIB_H 1
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#define HAVE_STRINGS_H 1
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#define HAVE_STRING_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#define HAVE_SYS_STAT_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#define HAVE_SYS_TYPES_H 1
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#define HAVE_UNISTD_H 1
|
||||
|
||||
/* Define to 1 if you have the <wordexp.h> header file. */
|
||||
/* #undef HAVE_WORDEXP_H */
|
||||
|
||||
/* No assert debug */
|
||||
#ifndef NDEBUG
|
||||
#define NDEBUG
|
||||
#endif
|
||||
|
||||
/* Name of package */
|
||||
#define PACKAGE "alsa-lib"
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#define PACKAGE_BUGREPORT ""
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#define PACKAGE_NAME ""
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#define PACKAGE_STRING ""
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#define PACKAGE_TARNAME ""
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#define PACKAGE_VERSION ""
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#define STDC_HEADERS 1
|
||||
|
||||
/* Support /dev/aload* access for auto-loading */
|
||||
#define SUPPORT_ALOAD "1"
|
||||
|
||||
/* Support resmgr with alsa-lib */
|
||||
/* #undef SUPPORT_RESMGR */
|
||||
|
||||
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
|
||||
#define TIME_WITH_SYS_TIME 1
|
||||
|
||||
/* directory to put tmp socket files */
|
||||
#define TMPDIR "/tmp"
|
||||
|
||||
/* sound library version string */
|
||||
#define VERSION "1.0.16"
|
||||
|
||||
/* compiled with versioned symbols */
|
||||
/* #undef VERSIONED_SYMBOLS */
|
||||
|
||||
/* Toolchain Symbol Prefix */
|
||||
#define __SYMBOL_PREFIX ""
|
||||
|
||||
/* Define to empty if `const' does not conform to ANSI C. */
|
||||
/* #undef const */
|
||||
|
||||
/* Define to `__inline__' or `__inline' if that's what the C compiler
|
||||
calls it, or to nothing if 'inline' is not supported under any name. */
|
||||
#ifndef __cplusplus
|
||||
#define inline __inline
|
||||
#endif
|
@@ -1,166 +0,0 @@
|
||||
/* include/config.h.in. Generated from configure.in by autoheader. */
|
||||
|
||||
/* Directory with aload* device files */
|
||||
#undef ALOAD_DEVICE_DIRECTORY
|
||||
|
||||
/* directory containing ALSA configuration database */
|
||||
#undef ALSA_CONFIG_DIR
|
||||
|
||||
/* Enable assert at error message handler */
|
||||
#undef ALSA_DEBUG_ASSERT
|
||||
|
||||
/* Directory with ALSA device files */
|
||||
#undef ALSA_DEVICE_DIRECTORY
|
||||
|
||||
/* directory containing ALSA add-on modules */
|
||||
#undef ALSA_PLUGIN_DIR
|
||||
|
||||
/* Build hwdep component */
|
||||
#undef BUILD_HWDEP
|
||||
|
||||
/* Build mixer component */
|
||||
#undef BUILD_MIXER
|
||||
|
||||
/* Build PCM component */
|
||||
#undef BUILD_PCM
|
||||
|
||||
/* Build PCM adpcm plugin */
|
||||
#undef BUILD_PCM_PLUGIN_ADPCM
|
||||
|
||||
/* Build PCM alaw plugin */
|
||||
#undef BUILD_PCM_PLUGIN_ALAW
|
||||
|
||||
/* Build PCM lfloat plugin */
|
||||
#undef BUILD_PCM_PLUGIN_LFLOAT
|
||||
|
||||
/* Build PCM mmap-emul plugin */
|
||||
#undef BUILD_PCM_PLUGIN_MMAP_EMUL
|
||||
|
||||
/* Build PCM mulaw plugin */
|
||||
#undef BUILD_PCM_PLUGIN_MULAW
|
||||
|
||||
/* Build PCM rate plugin */
|
||||
#undef BUILD_PCM_PLUGIN_RATE
|
||||
|
||||
/* Build PCM route plugin */
|
||||
#undef BUILD_PCM_PLUGIN_ROUTE
|
||||
|
||||
/* Build raw MIDI component */
|
||||
#undef BUILD_RAWMIDI
|
||||
|
||||
/* Build sequencer component */
|
||||
#undef BUILD_SEQ
|
||||
|
||||
/* Build UCM component */
|
||||
#undef BUILD_UCM
|
||||
|
||||
/* Have clock gettime */
|
||||
#undef HAVE_CLOCK_GETTIME
|
||||
|
||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
#undef HAVE_DLFCN_H
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#undef HAVE_INTTYPES_H
|
||||
|
||||
/* Have libdl */
|
||||
#undef HAVE_LIBDL
|
||||
|
||||
/* Have libpthread */
|
||||
#undef HAVE_LIBPTHREAD
|
||||
|
||||
/* Define to 1 if you have the `resmgr' library (-lresmgr). */
|
||||
#undef HAVE_LIBRESMGR
|
||||
|
||||
/* Have librt */
|
||||
#undef HAVE_LIBRT
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#undef HAVE_MEMORY_H
|
||||
|
||||
/* Avoid calculation in float */
|
||||
#undef HAVE_SOFT_FLOAT
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#undef HAVE_STDINT_H
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#undef HAVE_STDLIB_H
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#undef HAVE_STRINGS_H
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#undef HAVE_STRING_H
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#undef HAVE_SYS_STAT_H
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#undef HAVE_SYS_TYPES_H
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#undef HAVE_UNISTD_H
|
||||
|
||||
/* Define to 1 if you have the `uselocale' function. */
|
||||
#undef HAVE_USELOCALE
|
||||
|
||||
/* Define to 1 if you have the <wordexp.h> header file. */
|
||||
#undef HAVE_WORDEXP_H
|
||||
|
||||
/* No assert debug */
|
||||
#undef NDEBUG
|
||||
|
||||
/* Name of package */
|
||||
#undef PACKAGE
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#undef PACKAGE_BUGREPORT
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#undef PACKAGE_NAME
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#undef PACKAGE_STRING
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#undef PACKAGE_TARNAME
|
||||
|
||||
/* Define to the home page for this package. */
|
||||
#undef PACKAGE_URL
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#undef PACKAGE_VERSION
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#undef STDC_HEADERS
|
||||
|
||||
/* Support /dev/aload* access for auto-loading */
|
||||
#undef SUPPORT_ALOAD
|
||||
|
||||
/* Support resmgr with alsa-lib */
|
||||
#undef SUPPORT_RESMGR
|
||||
|
||||
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
|
||||
#undef TIME_WITH_SYS_TIME
|
||||
|
||||
/* directory to put tmp socket files */
|
||||
#undef TMPDIR
|
||||
|
||||
/* sound library version string */
|
||||
#undef VERSION
|
||||
|
||||
/* compiled with versioned symbols */
|
||||
#undef VERSIONED_SYMBOLS
|
||||
|
||||
/* Toolchain Symbol Prefix */
|
||||
#undef __SYMBOL_PREFIX
|
||||
|
||||
/* Define to empty if `const' does not conform to ANSI C. */
|
||||
#undef const
|
||||
|
||||
/* Define to `__inline__' or `__inline' if that's what the C compiler
|
||||
calls it, or to nothing if 'inline' is not supported under any name. */
|
||||
#ifndef __cplusplus
|
||||
#undef inline
|
||||
#endif
|
@@ -1,588 +0,0 @@
|
||||
/**
|
||||
* \file include/control.h
|
||||
* \brief Application interface library for the ALSA driver
|
||||
* \author Jaroslav Kysela <perex@perex.cz>
|
||||
* \author Abramo Bagnara <abramo@alsa-project.org>
|
||||
* \author Takashi Iwai <tiwai@suse.de>
|
||||
* \date 1998-2001
|
||||
*
|
||||
* Application interface library for the ALSA driver
|
||||
*/
|
||||
/*
|
||||
* This library is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as
|
||||
* published by the Free Software Foundation; either version 2.1 of
|
||||
* the License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __ALSA_CONTROL_H
|
||||
#define __ALSA_CONTROL_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* \defgroup Control Control Interface
|
||||
* The control interface.
|
||||
* See \ref control page for more details.
|
||||
* \{
|
||||
*/
|
||||
|
||||
/** dlsym version for interface entry callback */
|
||||
#define SND_CONTROL_DLSYM_VERSION _dlsym_control_001
|
||||
|
||||
/** IEC958 structure */
|
||||
typedef struct snd_aes_iec958 {
|
||||
unsigned char status[24]; /**< AES/IEC958 channel status bits */
|
||||
unsigned char subcode[147]; /**< AES/IEC958 subcode bits */
|
||||
unsigned char pad; /**< nothing */
|
||||
unsigned char dig_subframe[4]; /**< AES/IEC958 subframe bits */
|
||||
} snd_aes_iec958_t;
|
||||
|
||||
/** CTL card info container */
|
||||
typedef struct _snd_ctl_card_info snd_ctl_card_info_t;
|
||||
|
||||
/** CTL element identifier container */
|
||||
typedef struct _snd_ctl_elem_id snd_ctl_elem_id_t;
|
||||
|
||||
/** CTL element identifier list container */
|
||||
typedef struct _snd_ctl_elem_list snd_ctl_elem_list_t;
|
||||
|
||||
/** CTL element info container */
|
||||
typedef struct _snd_ctl_elem_info snd_ctl_elem_info_t;
|
||||
|
||||
/** CTL element value container */
|
||||
typedef struct _snd_ctl_elem_value snd_ctl_elem_value_t;
|
||||
|
||||
/** CTL event container */
|
||||
typedef struct _snd_ctl_event snd_ctl_event_t;
|
||||
|
||||
/** CTL element type */
|
||||
typedef enum _snd_ctl_elem_type {
|
||||
/** Invalid type */
|
||||
SND_CTL_ELEM_TYPE_NONE = 0,
|
||||
/** Boolean contents */
|
||||
SND_CTL_ELEM_TYPE_BOOLEAN,
|
||||
/** Integer contents */
|
||||
SND_CTL_ELEM_TYPE_INTEGER,
|
||||
/** Enumerated contents */
|
||||
SND_CTL_ELEM_TYPE_ENUMERATED,
|
||||
/** Bytes contents */
|
||||
SND_CTL_ELEM_TYPE_BYTES,
|
||||
/** IEC958 (S/PDIF) setting content */
|
||||
SND_CTL_ELEM_TYPE_IEC958,
|
||||
/** 64-bit integer contents */
|
||||
SND_CTL_ELEM_TYPE_INTEGER64,
|
||||
SND_CTL_ELEM_TYPE_LAST = SND_CTL_ELEM_TYPE_INTEGER64
|
||||
} snd_ctl_elem_type_t;
|
||||
|
||||
/** CTL related interface */
|
||||
typedef enum _snd_ctl_elem_iface {
|
||||
/** Card level */
|
||||
SND_CTL_ELEM_IFACE_CARD = 0,
|
||||
/** Hardware dependent device */
|
||||
SND_CTL_ELEM_IFACE_HWDEP,
|
||||
/** Mixer */
|
||||
SND_CTL_ELEM_IFACE_MIXER,
|
||||
/** PCM */
|
||||
SND_CTL_ELEM_IFACE_PCM,
|
||||
/** RawMidi */
|
||||
SND_CTL_ELEM_IFACE_RAWMIDI,
|
||||
/** Timer */
|
||||
SND_CTL_ELEM_IFACE_TIMER,
|
||||
/** Sequencer */
|
||||
SND_CTL_ELEM_IFACE_SEQUENCER,
|
||||
SND_CTL_ELEM_IFACE_LAST = SND_CTL_ELEM_IFACE_SEQUENCER
|
||||
} snd_ctl_elem_iface_t;
|
||||
|
||||
/** Event class */
|
||||
typedef enum _snd_ctl_event_type {
|
||||
/** Elements related event */
|
||||
SND_CTL_EVENT_ELEM = 0,
|
||||
SND_CTL_EVENT_LAST = SND_CTL_EVENT_ELEM
|
||||
}snd_ctl_event_type_t;
|
||||
|
||||
/** Element has been removed (Warning: test this first and if set don't
|
||||
* test the other masks) \hideinitializer */
|
||||
#define SND_CTL_EVENT_MASK_REMOVE (~0U)
|
||||
/** Element value has been changed \hideinitializer */
|
||||
#define SND_CTL_EVENT_MASK_VALUE (1<<0)
|
||||
/** Element info has been changed \hideinitializer */
|
||||
#define SND_CTL_EVENT_MASK_INFO (1<<1)
|
||||
/** Element has been added \hideinitializer */
|
||||
#define SND_CTL_EVENT_MASK_ADD (1<<2)
|
||||
/** Element's TLV value has been changed \hideinitializer */
|
||||
#define SND_CTL_EVENT_MASK_TLV (1<<3)
|
||||
|
||||
/** CTL name helper */
|
||||
#define SND_CTL_NAME_NONE ""
|
||||
/** CTL name helper */
|
||||
#define SND_CTL_NAME_PLAYBACK "Playback "
|
||||
/** CTL name helper */
|
||||
#define SND_CTL_NAME_CAPTURE "Capture "
|
||||
|
||||
/** CTL name helper */
|
||||
#define SND_CTL_NAME_IEC958_NONE ""
|
||||
/** CTL name helper */
|
||||
#define SND_CTL_NAME_IEC958_SWITCH "Switch"
|
||||
/** CTL name helper */
|
||||
#define SND_CTL_NAME_IEC958_VOLUME "Volume"
|
||||
/** CTL name helper */
|
||||
#define SND_CTL_NAME_IEC958_DEFAULT "Default"
|
||||
/** CTL name helper */
|
||||
#define SND_CTL_NAME_IEC958_MASK "Mask"
|
||||
/** CTL name helper */
|
||||
#define SND_CTL_NAME_IEC958_CON_MASK "Con Mask"
|
||||
/** CTL name helper */
|
||||
#define SND_CTL_NAME_IEC958_PRO_MASK "Pro Mask"
|
||||
/** CTL name helper */
|
||||
#define SND_CTL_NAME_IEC958_PCM_STREAM "PCM Stream"
|
||||
/** Element name for IEC958 (S/PDIF) */
|
||||
#define SND_CTL_NAME_IEC958(expl,direction,what) "IEC958 " expl SND_CTL_NAME_##direction SND_CTL_NAME_IEC958_##what
|
||||
|
||||
/** Mask for the major Power State identifier */
|
||||
#define SND_CTL_POWER_MASK 0xff00
|
||||
/** ACPI/PCI Power State D0 */
|
||||
#define SND_CTL_POWER_D0 0x0000
|
||||
/** ACPI/PCI Power State D1 */
|
||||
#define SND_CTL_POWER_D1 0x0100
|
||||
/** ACPI/PCI Power State D2 */
|
||||
#define SND_CTL_POWER_D2 0x0200
|
||||
/** ACPI/PCI Power State D3 */
|
||||
#define SND_CTL_POWER_D3 0x0300
|
||||
/** ACPI/PCI Power State D3hot */
|
||||
#define SND_CTL_POWER_D3hot (SND_CTL_POWER_D3|0x0000)
|
||||
/** ACPI/PCI Power State D3cold */
|
||||
#define SND_CTL_POWER_D3cold (SND_CTL_POWER_D3|0x0001)
|
||||
|
||||
/** TLV type - Container */
|
||||
#define SND_CTL_TLVT_CONTAINER 0x0000
|
||||
/** TLV type - basic dB scale */
|
||||
#define SND_CTL_TLVT_DB_SCALE 0x0001
|
||||
/** TLV type - linear volume */
|
||||
#define SND_CTL_TLVT_DB_LINEAR 0x0002
|
||||
/** TLV type - dB range container */
|
||||
#define SND_CTL_TLVT_DB_RANGE 0x0003
|
||||
/** TLV type - dB scale specified by min/max values */
|
||||
#define SND_CTL_TLVT_DB_MINMAX 0x0004
|
||||
/** TLV type - dB scale specified by min/max values (with mute) */
|
||||
#define SND_CTL_TLVT_DB_MINMAX_MUTE 0x0005
|
||||
|
||||
/** Mute state */
|
||||
#define SND_CTL_TLV_DB_GAIN_MUTE -9999999
|
||||
|
||||
/** CTL type */
|
||||
typedef enum _snd_ctl_type {
|
||||
/** Kernel level CTL */
|
||||
SND_CTL_TYPE_HW,
|
||||
/** Shared memory client CTL */
|
||||
SND_CTL_TYPE_SHM,
|
||||
/** INET client CTL (not yet implemented) */
|
||||
SND_CTL_TYPE_INET,
|
||||
/** External control plugin */
|
||||
SND_CTL_TYPE_EXT
|
||||
} snd_ctl_type_t;
|
||||
|
||||
/** Non blocking mode (flag for open mode) \hideinitializer */
|
||||
#define SND_CTL_NONBLOCK 0x0001
|
||||
|
||||
/** Async notification (flag for open mode) \hideinitializer */
|
||||
#define SND_CTL_ASYNC 0x0002
|
||||
|
||||
/** Read only (flag for open mode) \hideinitializer */
|
||||
#define SND_CTL_READONLY 0x0004
|
||||
|
||||
/** CTL handle */
|
||||
typedef struct _snd_ctl snd_ctl_t;
|
||||
|
||||
/** Don't destroy the ctl handle when close */
|
||||
#define SND_SCTL_NOFREE 0x0001
|
||||
|
||||
/** SCTL type */
|
||||
typedef struct _snd_sctl snd_sctl_t;
|
||||
|
||||
int snd_card_load(int card);
|
||||
int snd_card_next(int *card);
|
||||
int snd_card_get_index(const char *name);
|
||||
int snd_card_get_name(int card, char **name);
|
||||
int snd_card_get_longname(int card, char **name);
|
||||
|
||||
int snd_device_name_hint(int card, const char *iface, void ***hints);
|
||||
int snd_device_name_free_hint(void **hints);
|
||||
char *snd_device_name_get_hint(const void *hint, const char *id);
|
||||
|
||||
int snd_ctl_open(snd_ctl_t **ctl, const char *name, int mode);
|
||||
int snd_ctl_open_lconf(snd_ctl_t **ctl, const char *name, int mode, snd_config_t *lconf);
|
||||
int snd_ctl_close(snd_ctl_t *ctl);
|
||||
int snd_ctl_nonblock(snd_ctl_t *ctl, int nonblock);
|
||||
int snd_async_add_ctl_handler(snd_async_handler_t **handler, snd_ctl_t *ctl,
|
||||
snd_async_callback_t callback, void *private_data);
|
||||
snd_ctl_t *snd_async_handler_get_ctl(snd_async_handler_t *handler);
|
||||
int snd_ctl_poll_descriptors_count(snd_ctl_t *ctl);
|
||||
int snd_ctl_poll_descriptors(snd_ctl_t *ctl, struct pollfd *pfds, unsigned int space);
|
||||
int snd_ctl_poll_descriptors_revents(snd_ctl_t *ctl, struct pollfd *pfds, unsigned int nfds, unsigned short *revents);
|
||||
int snd_ctl_subscribe_events(snd_ctl_t *ctl, int subscribe);
|
||||
int snd_ctl_card_info(snd_ctl_t *ctl, snd_ctl_card_info_t *info);
|
||||
int snd_ctl_elem_list(snd_ctl_t *ctl, snd_ctl_elem_list_t *list);
|
||||
int snd_ctl_elem_info(snd_ctl_t *ctl, snd_ctl_elem_info_t *info);
|
||||
int snd_ctl_elem_read(snd_ctl_t *ctl, snd_ctl_elem_value_t *value);
|
||||
int snd_ctl_elem_write(snd_ctl_t *ctl, snd_ctl_elem_value_t *value);
|
||||
int snd_ctl_elem_lock(snd_ctl_t *ctl, snd_ctl_elem_id_t *id);
|
||||
int snd_ctl_elem_unlock(snd_ctl_t *ctl, snd_ctl_elem_id_t *id);
|
||||
int snd_ctl_elem_tlv_read(snd_ctl_t *ctl, const snd_ctl_elem_id_t *id,
|
||||
unsigned int *tlv, unsigned int tlv_size);
|
||||
int snd_ctl_elem_tlv_write(snd_ctl_t *ctl, const snd_ctl_elem_id_t *id,
|
||||
const unsigned int *tlv);
|
||||
int snd_ctl_elem_tlv_command(snd_ctl_t *ctl, const snd_ctl_elem_id_t *id,
|
||||
const unsigned int *tlv);
|
||||
#ifdef __ALSA_HWDEP_H
|
||||
int snd_ctl_hwdep_next_device(snd_ctl_t *ctl, int * device);
|
||||
int snd_ctl_hwdep_info(snd_ctl_t *ctl, snd_hwdep_info_t * info);
|
||||
#endif
|
||||
#ifdef __ALSA_PCM_H
|
||||
int snd_ctl_pcm_next_device(snd_ctl_t *ctl, int *device);
|
||||
int snd_ctl_pcm_info(snd_ctl_t *ctl, snd_pcm_info_t * info);
|
||||
int snd_ctl_pcm_prefer_subdevice(snd_ctl_t *ctl, int subdev);
|
||||
#endif
|
||||
#ifdef __ALSA_RAWMIDI_H
|
||||
int snd_ctl_rawmidi_next_device(snd_ctl_t *ctl, int * device);
|
||||
int snd_ctl_rawmidi_info(snd_ctl_t *ctl, snd_rawmidi_info_t * info);
|
||||
int snd_ctl_rawmidi_prefer_subdevice(snd_ctl_t *ctl, int subdev);
|
||||
#endif
|
||||
int snd_ctl_set_power_state(snd_ctl_t *ctl, unsigned int state);
|
||||
int snd_ctl_get_power_state(snd_ctl_t *ctl, unsigned int *state);
|
||||
|
||||
int snd_ctl_read(snd_ctl_t *ctl, snd_ctl_event_t *event);
|
||||
int snd_ctl_wait(snd_ctl_t *ctl, int timeout);
|
||||
const char *snd_ctl_name(snd_ctl_t *ctl);
|
||||
snd_ctl_type_t snd_ctl_type(snd_ctl_t *ctl);
|
||||
|
||||
const char *snd_ctl_elem_type_name(snd_ctl_elem_type_t type);
|
||||
const char *snd_ctl_elem_iface_name(snd_ctl_elem_iface_t iface);
|
||||
const char *snd_ctl_event_type_name(snd_ctl_event_type_t type);
|
||||
|
||||
unsigned int snd_ctl_event_elem_get_mask(const snd_ctl_event_t *obj);
|
||||
unsigned int snd_ctl_event_elem_get_numid(const snd_ctl_event_t *obj);
|
||||
void snd_ctl_event_elem_get_id(const snd_ctl_event_t *obj, snd_ctl_elem_id_t *ptr);
|
||||
snd_ctl_elem_iface_t snd_ctl_event_elem_get_interface(const snd_ctl_event_t *obj);
|
||||
unsigned int snd_ctl_event_elem_get_device(const snd_ctl_event_t *obj);
|
||||
unsigned int snd_ctl_event_elem_get_subdevice(const snd_ctl_event_t *obj);
|
||||
const char *snd_ctl_event_elem_get_name(const snd_ctl_event_t *obj);
|
||||
unsigned int snd_ctl_event_elem_get_index(const snd_ctl_event_t *obj);
|
||||
|
||||
int snd_ctl_elem_list_alloc_space(snd_ctl_elem_list_t *obj, unsigned int entries);
|
||||
void snd_ctl_elem_list_free_space(snd_ctl_elem_list_t *obj);
|
||||
|
||||
char *snd_ctl_ascii_elem_id_get(snd_ctl_elem_id_t *id);
|
||||
int snd_ctl_ascii_elem_id_parse(snd_ctl_elem_id_t *dst, const char *str);
|
||||
int snd_ctl_ascii_value_parse(snd_ctl_t *handle,
|
||||
snd_ctl_elem_value_t *dst,
|
||||
snd_ctl_elem_info_t *info,
|
||||
const char *value);
|
||||
|
||||
size_t snd_ctl_elem_id_sizeof(void);
|
||||
/** \hideinitializer
|
||||
* \brief allocate an invalid #snd_ctl_elem_id_t using standard alloca
|
||||
* \param ptr returned pointer
|
||||
*/
|
||||
#define snd_ctl_elem_id_alloca(ptr) __snd_alloca(ptr, snd_ctl_elem_id)
|
||||
int snd_ctl_elem_id_malloc(snd_ctl_elem_id_t **ptr);
|
||||
void snd_ctl_elem_id_free(snd_ctl_elem_id_t *obj);
|
||||
void snd_ctl_elem_id_clear(snd_ctl_elem_id_t *obj);
|
||||
void snd_ctl_elem_id_copy(snd_ctl_elem_id_t *dst, const snd_ctl_elem_id_t *src);
|
||||
unsigned int snd_ctl_elem_id_get_numid(const snd_ctl_elem_id_t *obj);
|
||||
snd_ctl_elem_iface_t snd_ctl_elem_id_get_interface(const snd_ctl_elem_id_t *obj);
|
||||
unsigned int snd_ctl_elem_id_get_device(const snd_ctl_elem_id_t *obj);
|
||||
unsigned int snd_ctl_elem_id_get_subdevice(const snd_ctl_elem_id_t *obj);
|
||||
const char *snd_ctl_elem_id_get_name(const snd_ctl_elem_id_t *obj);
|
||||
unsigned int snd_ctl_elem_id_get_index(const snd_ctl_elem_id_t *obj);
|
||||
void snd_ctl_elem_id_set_numid(snd_ctl_elem_id_t *obj, unsigned int val);
|
||||
void snd_ctl_elem_id_set_interface(snd_ctl_elem_id_t *obj, snd_ctl_elem_iface_t val);
|
||||
void snd_ctl_elem_id_set_device(snd_ctl_elem_id_t *obj, unsigned int val);
|
||||
void snd_ctl_elem_id_set_subdevice(snd_ctl_elem_id_t *obj, unsigned int val);
|
||||
void snd_ctl_elem_id_set_name(snd_ctl_elem_id_t *obj, const char *val);
|
||||
void snd_ctl_elem_id_set_index(snd_ctl_elem_id_t *obj, unsigned int val);
|
||||
|
||||
size_t snd_ctl_card_info_sizeof(void);
|
||||
/** \hideinitializer
|
||||
* \brief allocate an invalid #snd_ctl_card_info_t using standard alloca
|
||||
* \param ptr returned pointer
|
||||
*/
|
||||
#define snd_ctl_card_info_alloca(ptr) __snd_alloca(ptr, snd_ctl_card_info)
|
||||
int snd_ctl_card_info_malloc(snd_ctl_card_info_t **ptr);
|
||||
void snd_ctl_card_info_free(snd_ctl_card_info_t *obj);
|
||||
void snd_ctl_card_info_clear(snd_ctl_card_info_t *obj);
|
||||
void snd_ctl_card_info_copy(snd_ctl_card_info_t *dst, const snd_ctl_card_info_t *src);
|
||||
int snd_ctl_card_info_get_card(const snd_ctl_card_info_t *obj);
|
||||
const char *snd_ctl_card_info_get_id(const snd_ctl_card_info_t *obj);
|
||||
const char *snd_ctl_card_info_get_driver(const snd_ctl_card_info_t *obj);
|
||||
const char *snd_ctl_card_info_get_name(const snd_ctl_card_info_t *obj);
|
||||
const char *snd_ctl_card_info_get_longname(const snd_ctl_card_info_t *obj);
|
||||
const char *snd_ctl_card_info_get_mixername(const snd_ctl_card_info_t *obj);
|
||||
const char *snd_ctl_card_info_get_components(const snd_ctl_card_info_t *obj);
|
||||
|
||||
size_t snd_ctl_event_sizeof(void);
|
||||
/** \hideinitializer
|
||||
* \brief allocate an invalid #snd_ctl_event_t using standard alloca
|
||||
* \param ptr returned pointer
|
||||
*/
|
||||
#define snd_ctl_event_alloca(ptr) __snd_alloca(ptr, snd_ctl_event)
|
||||
int snd_ctl_event_malloc(snd_ctl_event_t **ptr);
|
||||
void snd_ctl_event_free(snd_ctl_event_t *obj);
|
||||
void snd_ctl_event_clear(snd_ctl_event_t *obj);
|
||||
void snd_ctl_event_copy(snd_ctl_event_t *dst, const snd_ctl_event_t *src);
|
||||
snd_ctl_event_type_t snd_ctl_event_get_type(const snd_ctl_event_t *obj);
|
||||
|
||||
size_t snd_ctl_elem_list_sizeof(void);
|
||||
/** \hideinitializer
|
||||
* \brief allocate an invalid #snd_ctl_elem_list_t using standard alloca
|
||||
* \param ptr returned pointer
|
||||
*/
|
||||
#define snd_ctl_elem_list_alloca(ptr) __snd_alloca(ptr, snd_ctl_elem_list)
|
||||
int snd_ctl_elem_list_malloc(snd_ctl_elem_list_t **ptr);
|
||||
void snd_ctl_elem_list_free(snd_ctl_elem_list_t *obj);
|
||||
void snd_ctl_elem_list_clear(snd_ctl_elem_list_t *obj);
|
||||
void snd_ctl_elem_list_copy(snd_ctl_elem_list_t *dst, const snd_ctl_elem_list_t *src);
|
||||
void snd_ctl_elem_list_set_offset(snd_ctl_elem_list_t *obj, unsigned int val);
|
||||
unsigned int snd_ctl_elem_list_get_used(const snd_ctl_elem_list_t *obj);
|
||||
unsigned int snd_ctl_elem_list_get_count(const snd_ctl_elem_list_t *obj);
|
||||
void snd_ctl_elem_list_get_id(const snd_ctl_elem_list_t *obj, unsigned int idx, snd_ctl_elem_id_t *ptr);
|
||||
unsigned int snd_ctl_elem_list_get_numid(const snd_ctl_elem_list_t *obj, unsigned int idx);
|
||||
snd_ctl_elem_iface_t snd_ctl_elem_list_get_interface(const snd_ctl_elem_list_t *obj, unsigned int idx);
|
||||
unsigned int snd_ctl_elem_list_get_device(const snd_ctl_elem_list_t *obj, unsigned int idx);
|
||||
unsigned int snd_ctl_elem_list_get_subdevice(const snd_ctl_elem_list_t *obj, unsigned int idx);
|
||||
const char *snd_ctl_elem_list_get_name(const snd_ctl_elem_list_t *obj, unsigned int idx);
|
||||
unsigned int snd_ctl_elem_list_get_index(const snd_ctl_elem_list_t *obj, unsigned int idx);
|
||||
|
||||
size_t snd_ctl_elem_info_sizeof(void);
|
||||
/** \hideinitializer
|
||||
* \brief allocate an invalid #snd_ctl_elem_info_t using standard alloca
|
||||
* \param ptr returned pointer
|
||||
*/
|
||||
#define snd_ctl_elem_info_alloca(ptr) __snd_alloca(ptr, snd_ctl_elem_info)
|
||||
int snd_ctl_elem_info_malloc(snd_ctl_elem_info_t **ptr);
|
||||
void snd_ctl_elem_info_free(snd_ctl_elem_info_t *obj);
|
||||
void snd_ctl_elem_info_clear(snd_ctl_elem_info_t *obj);
|
||||
void snd_ctl_elem_info_copy(snd_ctl_elem_info_t *dst, const snd_ctl_elem_info_t *src);
|
||||
snd_ctl_elem_type_t snd_ctl_elem_info_get_type(const snd_ctl_elem_info_t *obj);
|
||||
int snd_ctl_elem_info_is_readable(const snd_ctl_elem_info_t *obj);
|
||||
int snd_ctl_elem_info_is_writable(const snd_ctl_elem_info_t *obj);
|
||||
int snd_ctl_elem_info_is_volatile(const snd_ctl_elem_info_t *obj);
|
||||
int snd_ctl_elem_info_is_inactive(const snd_ctl_elem_info_t *obj);
|
||||
int snd_ctl_elem_info_is_locked(const snd_ctl_elem_info_t *obj);
|
||||
int snd_ctl_elem_info_is_tlv_readable(const snd_ctl_elem_info_t *obj);
|
||||
int snd_ctl_elem_info_is_tlv_writable(const snd_ctl_elem_info_t *obj);
|
||||
int snd_ctl_elem_info_is_tlv_commandable(const snd_ctl_elem_info_t *obj);
|
||||
int snd_ctl_elem_info_is_owner(const snd_ctl_elem_info_t *obj);
|
||||
int snd_ctl_elem_info_is_user(const snd_ctl_elem_info_t *obj);
|
||||
pid_t snd_ctl_elem_info_get_owner(const snd_ctl_elem_info_t *obj);
|
||||
unsigned int snd_ctl_elem_info_get_count(const snd_ctl_elem_info_t *obj);
|
||||
long snd_ctl_elem_info_get_min(const snd_ctl_elem_info_t *obj);
|
||||
long snd_ctl_elem_info_get_max(const snd_ctl_elem_info_t *obj);
|
||||
long snd_ctl_elem_info_get_step(const snd_ctl_elem_info_t *obj);
|
||||
long long snd_ctl_elem_info_get_min64(const snd_ctl_elem_info_t *obj);
|
||||
long long snd_ctl_elem_info_get_max64(const snd_ctl_elem_info_t *obj);
|
||||
long long snd_ctl_elem_info_get_step64(const snd_ctl_elem_info_t *obj);
|
||||
unsigned int snd_ctl_elem_info_get_items(const snd_ctl_elem_info_t *obj);
|
||||
void snd_ctl_elem_info_set_item(snd_ctl_elem_info_t *obj, unsigned int val);
|
||||
const char *snd_ctl_elem_info_get_item_name(const snd_ctl_elem_info_t *obj);
|
||||
int snd_ctl_elem_info_get_dimensions(const snd_ctl_elem_info_t *obj);
|
||||
int snd_ctl_elem_info_get_dimension(const snd_ctl_elem_info_t *obj, unsigned int idx);
|
||||
void snd_ctl_elem_info_get_id(const snd_ctl_elem_info_t *obj, snd_ctl_elem_id_t *ptr);
|
||||
unsigned int snd_ctl_elem_info_get_numid(const snd_ctl_elem_info_t *obj);
|
||||
snd_ctl_elem_iface_t snd_ctl_elem_info_get_interface(const snd_ctl_elem_info_t *obj);
|
||||
unsigned int snd_ctl_elem_info_get_device(const snd_ctl_elem_info_t *obj);
|
||||
unsigned int snd_ctl_elem_info_get_subdevice(const snd_ctl_elem_info_t *obj);
|
||||
const char *snd_ctl_elem_info_get_name(const snd_ctl_elem_info_t *obj);
|
||||
unsigned int snd_ctl_elem_info_get_index(const snd_ctl_elem_info_t *obj);
|
||||
void snd_ctl_elem_info_set_id(snd_ctl_elem_info_t *obj, const snd_ctl_elem_id_t *ptr);
|
||||
void snd_ctl_elem_info_set_numid(snd_ctl_elem_info_t *obj, unsigned int val);
|
||||
void snd_ctl_elem_info_set_interface(snd_ctl_elem_info_t *obj, snd_ctl_elem_iface_t val);
|
||||
void snd_ctl_elem_info_set_device(snd_ctl_elem_info_t *obj, unsigned int val);
|
||||
void snd_ctl_elem_info_set_subdevice(snd_ctl_elem_info_t *obj, unsigned int val);
|
||||
void snd_ctl_elem_info_set_name(snd_ctl_elem_info_t *obj, const char *val);
|
||||
void snd_ctl_elem_info_set_index(snd_ctl_elem_info_t *obj, unsigned int val);
|
||||
|
||||
int snd_ctl_elem_add_integer(snd_ctl_t *ctl, const snd_ctl_elem_id_t *id, unsigned int count, long imin, long imax, long istep);
|
||||
int snd_ctl_elem_add_integer64(snd_ctl_t *ctl, const snd_ctl_elem_id_t *id, unsigned int count, long long imin, long long imax, long long istep);
|
||||
int snd_ctl_elem_add_boolean(snd_ctl_t *ctl, const snd_ctl_elem_id_t *id, unsigned int count);
|
||||
int snd_ctl_elem_add_iec958(snd_ctl_t *ctl, const snd_ctl_elem_id_t *id);
|
||||
int snd_ctl_elem_remove(snd_ctl_t *ctl, snd_ctl_elem_id_t *id);
|
||||
|
||||
size_t snd_ctl_elem_value_sizeof(void);
|
||||
/** \hideinitializer
|
||||
* \brief allocate an invalid #snd_ctl_elem_value_t using standard alloca
|
||||
* \param ptr returned pointer
|
||||
*/
|
||||
#define snd_ctl_elem_value_alloca(ptr) __snd_alloca(ptr, snd_ctl_elem_value)
|
||||
int snd_ctl_elem_value_malloc(snd_ctl_elem_value_t **ptr);
|
||||
void snd_ctl_elem_value_free(snd_ctl_elem_value_t *obj);
|
||||
void snd_ctl_elem_value_clear(snd_ctl_elem_value_t *obj);
|
||||
void snd_ctl_elem_value_copy(snd_ctl_elem_value_t *dst, const snd_ctl_elem_value_t *src);
|
||||
int snd_ctl_elem_value_compare(snd_ctl_elem_value_t *left, const snd_ctl_elem_value_t *right);
|
||||
void snd_ctl_elem_value_get_id(const snd_ctl_elem_value_t *obj, snd_ctl_elem_id_t *ptr);
|
||||
unsigned int snd_ctl_elem_value_get_numid(const snd_ctl_elem_value_t *obj);
|
||||
snd_ctl_elem_iface_t snd_ctl_elem_value_get_interface(const snd_ctl_elem_value_t *obj);
|
||||
unsigned int snd_ctl_elem_value_get_device(const snd_ctl_elem_value_t *obj);
|
||||
unsigned int snd_ctl_elem_value_get_subdevice(const snd_ctl_elem_value_t *obj);
|
||||
const char *snd_ctl_elem_value_get_name(const snd_ctl_elem_value_t *obj);
|
||||
unsigned int snd_ctl_elem_value_get_index(const snd_ctl_elem_value_t *obj);
|
||||
void snd_ctl_elem_value_set_id(snd_ctl_elem_value_t *obj, const snd_ctl_elem_id_t *ptr);
|
||||
void snd_ctl_elem_value_set_numid(snd_ctl_elem_value_t *obj, unsigned int val);
|
||||
void snd_ctl_elem_value_set_interface(snd_ctl_elem_value_t *obj, snd_ctl_elem_iface_t val);
|
||||
void snd_ctl_elem_value_set_device(snd_ctl_elem_value_t *obj, unsigned int val);
|
||||
void snd_ctl_elem_value_set_subdevice(snd_ctl_elem_value_t *obj, unsigned int val);
|
||||
void snd_ctl_elem_value_set_name(snd_ctl_elem_value_t *obj, const char *val);
|
||||
void snd_ctl_elem_value_set_index(snd_ctl_elem_value_t *obj, unsigned int val);
|
||||
int snd_ctl_elem_value_get_boolean(const snd_ctl_elem_value_t *obj, unsigned int idx);
|
||||
long snd_ctl_elem_value_get_integer(const snd_ctl_elem_value_t *obj, unsigned int idx);
|
||||
long long snd_ctl_elem_value_get_integer64(const snd_ctl_elem_value_t *obj, unsigned int idx);
|
||||
unsigned int snd_ctl_elem_value_get_enumerated(const snd_ctl_elem_value_t *obj, unsigned int idx);
|
||||
unsigned char snd_ctl_elem_value_get_byte(const snd_ctl_elem_value_t *obj, unsigned int idx);
|
||||
void snd_ctl_elem_value_set_boolean(snd_ctl_elem_value_t *obj, unsigned int idx, long val);
|
||||
void snd_ctl_elem_value_set_integer(snd_ctl_elem_value_t *obj, unsigned int idx, long val);
|
||||
void snd_ctl_elem_value_set_integer64(snd_ctl_elem_value_t *obj, unsigned int idx, long long val);
|
||||
void snd_ctl_elem_value_set_enumerated(snd_ctl_elem_value_t *obj, unsigned int idx, unsigned int val);
|
||||
void snd_ctl_elem_value_set_byte(snd_ctl_elem_value_t *obj, unsigned int idx, unsigned char val);
|
||||
void snd_ctl_elem_set_bytes(snd_ctl_elem_value_t *obj, void *data, size_t size);
|
||||
const void * snd_ctl_elem_value_get_bytes(const snd_ctl_elem_value_t *obj);
|
||||
void snd_ctl_elem_value_get_iec958(const snd_ctl_elem_value_t *obj, snd_aes_iec958_t *ptr);
|
||||
void snd_ctl_elem_value_set_iec958(snd_ctl_elem_value_t *obj, const snd_aes_iec958_t *ptr);
|
||||
|
||||
int snd_tlv_parse_dB_info(unsigned int *tlv, unsigned int tlv_size,
|
||||
unsigned int **db_tlvp);
|
||||
int snd_tlv_get_dB_range(unsigned int *tlv, long rangemin, long rangemax,
|
||||
long *min, long *max);
|
||||
int snd_tlv_convert_to_dB(unsigned int *tlv, long rangemin, long rangemax,
|
||||
long volume, long *db_gain);
|
||||
int snd_tlv_convert_from_dB(unsigned int *tlv, long rangemin, long rangemax,
|
||||
long db_gain, long *value, int xdir);
|
||||
int snd_ctl_get_dB_range(snd_ctl_t *ctl, const snd_ctl_elem_id_t *id,
|
||||
long *min, long *max);
|
||||
int snd_ctl_convert_to_dB(snd_ctl_t *ctl, const snd_ctl_elem_id_t *id,
|
||||
long volume, long *db_gain);
|
||||
int snd_ctl_convert_from_dB(snd_ctl_t *ctl, const snd_ctl_elem_id_t *id,
|
||||
long db_gain, long *value, int xdir);
|
||||
|
||||
/**
|
||||
* \defgroup HControl High level Control Interface
|
||||
* \ingroup Control
|
||||
* The high level control interface.
|
||||
* See \ref hcontrol page for more details.
|
||||
* \{
|
||||
*/
|
||||
|
||||
/** HCTL element handle */
|
||||
typedef struct _snd_hctl_elem snd_hctl_elem_t;
|
||||
|
||||
/** HCTL handle */
|
||||
typedef struct _snd_hctl snd_hctl_t;
|
||||
|
||||
/**
|
||||
* \brief Compare function for sorting HCTL elements
|
||||
* \param e1 First element
|
||||
* \param e2 Second element
|
||||
* \return -1 if e1 < e2, 0 if e1 == e2, 1 if e1 > e2
|
||||
*/
|
||||
typedef int (*snd_hctl_compare_t)(const snd_hctl_elem_t *e1,
|
||||
const snd_hctl_elem_t *e2);
|
||||
int snd_hctl_compare_fast(const snd_hctl_elem_t *c1,
|
||||
const snd_hctl_elem_t *c2);
|
||||
/**
|
||||
* \brief HCTL callback function
|
||||
* \param hctl HCTL handle
|
||||
* \param mask event mask
|
||||
* \param elem related HCTL element (if any)
|
||||
* \return 0 on success otherwise a negative error code
|
||||
*/
|
||||
typedef int (*snd_hctl_callback_t)(snd_hctl_t *hctl,
|
||||
unsigned int mask,
|
||||
snd_hctl_elem_t *elem);
|
||||
/**
|
||||
* \brief HCTL element callback function
|
||||
* \param elem HCTL element
|
||||
* \param mask event mask
|
||||
* \return 0 on success otherwise a negative error code
|
||||
*/
|
||||
typedef int (*snd_hctl_elem_callback_t)(snd_hctl_elem_t *elem,
|
||||
unsigned int mask);
|
||||
|
||||
int snd_hctl_open(snd_hctl_t **hctl, const char *name, int mode);
|
||||
int snd_hctl_open_ctl(snd_hctl_t **hctlp, snd_ctl_t *ctl);
|
||||
int snd_hctl_close(snd_hctl_t *hctl);
|
||||
int snd_hctl_nonblock(snd_hctl_t *hctl, int nonblock);
|
||||
int snd_hctl_poll_descriptors_count(snd_hctl_t *hctl);
|
||||
int snd_hctl_poll_descriptors(snd_hctl_t *hctl, struct pollfd *pfds, unsigned int space);
|
||||
int snd_hctl_poll_descriptors_revents(snd_hctl_t *ctl, struct pollfd *pfds, unsigned int nfds, unsigned short *revents);
|
||||
unsigned int snd_hctl_get_count(snd_hctl_t *hctl);
|
||||
int snd_hctl_set_compare(snd_hctl_t *hctl, snd_hctl_compare_t hsort);
|
||||
snd_hctl_elem_t *snd_hctl_first_elem(snd_hctl_t *hctl);
|
||||
snd_hctl_elem_t *snd_hctl_last_elem(snd_hctl_t *hctl);
|
||||
snd_hctl_elem_t *snd_hctl_find_elem(snd_hctl_t *hctl, const snd_ctl_elem_id_t *id);
|
||||
void snd_hctl_set_callback(snd_hctl_t *hctl, snd_hctl_callback_t callback);
|
||||
void snd_hctl_set_callback_private(snd_hctl_t *hctl, void *data);
|
||||
void *snd_hctl_get_callback_private(snd_hctl_t *hctl);
|
||||
int snd_hctl_load(snd_hctl_t *hctl);
|
||||
int snd_hctl_free(snd_hctl_t *hctl);
|
||||
int snd_hctl_handle_events(snd_hctl_t *hctl);
|
||||
const char *snd_hctl_name(snd_hctl_t *hctl);
|
||||
int snd_hctl_wait(snd_hctl_t *hctl, int timeout);
|
||||
snd_ctl_t *snd_hctl_ctl(snd_hctl_t *hctl);
|
||||
|
||||
snd_hctl_elem_t *snd_hctl_elem_next(snd_hctl_elem_t *elem);
|
||||
snd_hctl_elem_t *snd_hctl_elem_prev(snd_hctl_elem_t *elem);
|
||||
int snd_hctl_elem_info(snd_hctl_elem_t *elem, snd_ctl_elem_info_t * info);
|
||||
int snd_hctl_elem_read(snd_hctl_elem_t *elem, snd_ctl_elem_value_t * value);
|
||||
int snd_hctl_elem_write(snd_hctl_elem_t *elem, snd_ctl_elem_value_t * value);
|
||||
int snd_hctl_elem_tlv_read(snd_hctl_elem_t *elem, unsigned int *tlv, unsigned int tlv_size);
|
||||
int snd_hctl_elem_tlv_write(snd_hctl_elem_t *elem, const unsigned int *tlv);
|
||||
int snd_hctl_elem_tlv_command(snd_hctl_elem_t *elem, const unsigned int *tlv);
|
||||
|
||||
snd_hctl_t *snd_hctl_elem_get_hctl(snd_hctl_elem_t *elem);
|
||||
|
||||
void snd_hctl_elem_get_id(const snd_hctl_elem_t *obj, snd_ctl_elem_id_t *ptr);
|
||||
unsigned int snd_hctl_elem_get_numid(const snd_hctl_elem_t *obj);
|
||||
snd_ctl_elem_iface_t snd_hctl_elem_get_interface(const snd_hctl_elem_t *obj);
|
||||
unsigned int snd_hctl_elem_get_device(const snd_hctl_elem_t *obj);
|
||||
unsigned int snd_hctl_elem_get_subdevice(const snd_hctl_elem_t *obj);
|
||||
const char *snd_hctl_elem_get_name(const snd_hctl_elem_t *obj);
|
||||
unsigned int snd_hctl_elem_get_index(const snd_hctl_elem_t *obj);
|
||||
void snd_hctl_elem_set_callback(snd_hctl_elem_t *obj, snd_hctl_elem_callback_t val);
|
||||
void * snd_hctl_elem_get_callback_private(const snd_hctl_elem_t *obj);
|
||||
void snd_hctl_elem_set_callback_private(snd_hctl_elem_t *obj, void * val);
|
||||
|
||||
/** \} */
|
||||
|
||||
/** \} */
|
||||
|
||||
/**
|
||||
* \defgroup SControl Setup Control Interface
|
||||
* \ingroup Control
|
||||
* The setup control interface - set or modify control elements from a configuration file.
|
||||
* \{
|
||||
*/
|
||||
|
||||
int snd_sctl_build(snd_sctl_t **ctl, snd_ctl_t *handle, snd_config_t *config,
|
||||
snd_config_t *private_data, int mode);
|
||||
int snd_sctl_free(snd_sctl_t *handle);
|
||||
int snd_sctl_install(snd_sctl_t *handle);
|
||||
int snd_sctl_remove(snd_sctl_t *handle);
|
||||
|
||||
/** \} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __ALSA_CONTROL_H */
|
@@ -1,265 +0,0 @@
|
||||
/**
|
||||
* \file include/control_external.h
|
||||
* \brief External control plugin SDK
|
||||
* \author Takashi Iwai <tiwai@suse.de>
|
||||
* \date 2005
|
||||
*
|
||||
* External control plugin SDK.
|
||||
*/
|
||||
|
||||
/*
|
||||
* This library is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as
|
||||
* published by the Free Software Foundation; either version 2.1 of
|
||||
* the License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
*/
|
||||
#ifndef __ALSA_CONTROL_EXTERNAL_H
|
||||
#define __ALSA_CONTROL_EXTERNAL_H
|
||||
|
||||
#include "control.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* \defgroup CtlPlugin_SDK External Control Plugin SDK
|
||||
* \{
|
||||
*/
|
||||
|
||||
/**
|
||||
* Define the object entry for external control plugins
|
||||
*/
|
||||
#define SND_CTL_PLUGIN_ENTRY(name) _snd_ctl_##name##_open
|
||||
|
||||
/**
|
||||
* Define the symbols of the given control plugin with versions
|
||||
*/
|
||||
#define SND_CTL_PLUGIN_SYMBOL(name) SND_DLSYM_BUILD_VERSION(SND_CTL_PLUGIN_ENTRY(name), SND_CONTROL_DLSYM_VERSION);
|
||||
|
||||
/**
|
||||
* Define the control plugin
|
||||
*/
|
||||
#define SND_CTL_PLUGIN_DEFINE_FUNC(plugin) \
|
||||
int SND_CTL_PLUGIN_ENTRY(plugin) (snd_ctl_t **handlep, const char *name,\
|
||||
snd_config_t *root, snd_config_t *conf, int mode)
|
||||
|
||||
/** External control plugin handle */
|
||||
typedef struct snd_ctl_ext snd_ctl_ext_t;
|
||||
/** Callback table of control ext */
|
||||
typedef struct snd_ctl_ext_callback snd_ctl_ext_callback_t;
|
||||
/** Key to access a control pointer */
|
||||
typedef unsigned long snd_ctl_ext_key_t;
|
||||
|
||||
/*
|
||||
* Protocol version
|
||||
*/
|
||||
#define SND_CTL_EXT_VERSION_MAJOR 1 /**< Protocol major version */
|
||||
#define SND_CTL_EXT_VERSION_MINOR 0 /**< Protocol minor version */
|
||||
#define SND_CTL_EXT_VERSION_TINY 0 /**< Protocol tiny version */
|
||||
/**
|
||||
* external plugin protocol version
|
||||
*/
|
||||
#define SND_CTL_EXT_VERSION ((SND_CTL_EXT_VERSION_MAJOR<<16) |\
|
||||
(SND_CTL_EXT_VERSION_MINOR<<8) |\
|
||||
(SND_CTL_EXT_VERSION_TINY))
|
||||
|
||||
/** Handle of control ext */
|
||||
struct snd_ctl_ext {
|
||||
/**
|
||||
* protocol version; #SND_CTL_EXT_VERSION must be filled here
|
||||
* before calling #snd_ctl_ext_create()
|
||||
*/
|
||||
unsigned int version;
|
||||
/**
|
||||
* Index of this card; must be filled before calling #snd_ctl_ext_create()
|
||||
*/
|
||||
int card_idx;
|
||||
/**
|
||||
* ID string of this card; must be filled before calling #snd_ctl_ext_create()
|
||||
*/
|
||||
char id[16];
|
||||
/**
|
||||
* Driver name of this card; must be filled before calling #snd_ctl_ext_create()
|
||||
*/
|
||||
char driver[16];
|
||||
/**
|
||||
* short name of this card; must be filled before calling #snd_ctl_ext_create()
|
||||
*/
|
||||
char name[32];
|
||||
/**
|
||||
* Long name of this card; must be filled before calling #snd_ctl_ext_create()
|
||||
*/
|
||||
char longname[80];
|
||||
/**
|
||||
* Mixer name of this card; must be filled before calling #snd_ctl_ext_create()
|
||||
*/
|
||||
char mixername[80];
|
||||
/**
|
||||
* poll descriptor
|
||||
*/
|
||||
int poll_fd;
|
||||
|
||||
/**
|
||||
* callbacks of this plugin; must be filled before calling #snd_pcm_ioplug_create()
|
||||
*/
|
||||
const snd_ctl_ext_callback_t *callback;
|
||||
/**
|
||||
* private data, which can be used freely in the driver callbacks
|
||||
*/
|
||||
void *private_data;
|
||||
/**
|
||||
* control handle filled by #snd_ctl_ext_create()
|
||||
*/
|
||||
snd_ctl_t *handle;
|
||||
|
||||
int nonblock; /**< non-block mode; read-only */
|
||||
int subscribed; /**< events subscribed; read-only */
|
||||
};
|
||||
|
||||
/** Callback table of ext */
|
||||
struct snd_ctl_ext_callback {
|
||||
/**
|
||||
* close the control handle; optional
|
||||
*/
|
||||
void (*close)(snd_ctl_ext_t *ext);
|
||||
/**
|
||||
* return the total number of elements; required
|
||||
*/
|
||||
int (*elem_count)(snd_ctl_ext_t *ext);
|
||||
/**
|
||||
* return the element id of the given offset (array index); required
|
||||
*/
|
||||
int (*elem_list)(snd_ctl_ext_t *ext, unsigned int offset, snd_ctl_elem_id_t *id);
|
||||
/**
|
||||
* convert the element id to a search key; required
|
||||
*/
|
||||
snd_ctl_ext_key_t (*find_elem)(snd_ctl_ext_t *ext, const snd_ctl_elem_id_t *id);
|
||||
/**
|
||||
* the destructor of the key; optional
|
||||
*/
|
||||
void (*free_key)(snd_ctl_ext_t *ext, snd_ctl_ext_key_t key);
|
||||
/**
|
||||
* get the attribute of the element; required
|
||||
*/
|
||||
int (*get_attribute)(snd_ctl_ext_t *ext, snd_ctl_ext_key_t key,
|
||||
int *type, unsigned int *acc, unsigned int *count);
|
||||
/**
|
||||
* get the element information of integer type
|
||||
*/
|
||||
int (*get_integer_info)(snd_ctl_ext_t *ext, snd_ctl_ext_key_t key,
|
||||
long *imin, long *imax, long *istep);
|
||||
/**
|
||||
* get the element information of integer64 type
|
||||
*/
|
||||
int (*get_integer64_info)(snd_ctl_ext_t *ext, snd_ctl_ext_key_t key,
|
||||
int64_t *imin, int64_t *imax, int64_t *istep);
|
||||
/**
|
||||
* get the element information of enumerated type
|
||||
*/
|
||||
int (*get_enumerated_info)(snd_ctl_ext_t *ext, snd_ctl_ext_key_t key, unsigned int *items);
|
||||
/**
|
||||
* get the name of the enumerated item
|
||||
*/
|
||||
int (*get_enumerated_name)(snd_ctl_ext_t *ext, snd_ctl_ext_key_t key, unsigned int item,
|
||||
char *name, size_t name_max_len);
|
||||
/**
|
||||
* read the current values of integer type
|
||||
*/
|
||||
int (*read_integer)(snd_ctl_ext_t *ext, snd_ctl_ext_key_t key, long *value);
|
||||
/**
|
||||
* read the current values of integer64 type
|
||||
*/
|
||||
int (*read_integer64)(snd_ctl_ext_t *ext, snd_ctl_ext_key_t key, int64_t *value);
|
||||
/**
|
||||
* read the current values of enumerated type
|
||||
*/
|
||||
int (*read_enumerated)(snd_ctl_ext_t *ext, snd_ctl_ext_key_t key, unsigned int *items);
|
||||
/**
|
||||
* read the current values of bytes type
|
||||
*/
|
||||
int (*read_bytes)(snd_ctl_ext_t *ext, snd_ctl_ext_key_t key, unsigned char *data,
|
||||
size_t max_bytes);
|
||||
/**
|
||||
* read the current values of iec958 type
|
||||
*/
|
||||
int (*read_iec958)(snd_ctl_ext_t *ext, snd_ctl_ext_key_t key, snd_aes_iec958_t *iec958);
|
||||
/**
|
||||
* update the current values of integer type with the given values
|
||||
*/
|
||||
int (*write_integer)(snd_ctl_ext_t *ext, snd_ctl_ext_key_t key, long *value);
|
||||
/**
|
||||
* update the current values of integer64 type with the given values
|
||||
*/
|
||||
int (*write_integer64)(snd_ctl_ext_t *ext, snd_ctl_ext_key_t key, int64_t *value);
|
||||
/**
|
||||
* update the current values of enumerated type with the given values
|
||||
*/
|
||||
int (*write_enumerated)(snd_ctl_ext_t *ext, snd_ctl_ext_key_t key, unsigned int *items);
|
||||
/**
|
||||
* update the current values of bytes type with the given values
|
||||
*/
|
||||
int (*write_bytes)(snd_ctl_ext_t *ext, snd_ctl_ext_key_t key, unsigned char *data,
|
||||
size_t max_bytes);
|
||||
/**
|
||||
* update the current values of iec958 type with the given values
|
||||
*/
|
||||
int (*write_iec958)(snd_ctl_ext_t *ext, snd_ctl_ext_key_t key, snd_aes_iec958_t *iec958);
|
||||
/**
|
||||
* subscribe/unsubscribe the event notification; optional
|
||||
*/
|
||||
void (*subscribe_events)(snd_ctl_ext_t *ext, int subscribe);
|
||||
/**
|
||||
* read a pending notification event; optional
|
||||
*/
|
||||
int (*read_event)(snd_ctl_ext_t *ext, snd_ctl_elem_id_t *id, unsigned int *event_mask);
|
||||
/**
|
||||
* return the number of poll descriptors; optional
|
||||
*/
|
||||
int (*poll_descriptors_count)(snd_ctl_ext_t *ext);
|
||||
/**
|
||||
* fill the poll descriptors; optional
|
||||
*/
|
||||
int (*poll_descriptors)(snd_ctl_ext_t *ext, struct pollfd *pfds, unsigned int space);
|
||||
/**
|
||||
* mangle the revents of poll descriptors
|
||||
*/
|
||||
int (*poll_revents)(snd_ctl_ext_t *ext, struct pollfd *pfds, unsigned int nfds, unsigned short *revents);
|
||||
};
|
||||
|
||||
/**
|
||||
* The access type bits stored in get_attribute callback
|
||||
*/
|
||||
typedef enum snd_ctl_ext_access {
|
||||
SND_CTL_EXT_ACCESS_READ = (1<<0),
|
||||
SND_CTL_EXT_ACCESS_WRITE = (1<<1),
|
||||
SND_CTL_EXT_ACCESS_READWRITE = (3<<0),
|
||||
SND_CTL_EXT_ACCESS_VOLATILE = (1<<2),
|
||||
SND_CTL_EXT_ACCESS_INACTIVE = (1<<8),
|
||||
} snd_ctl_ext_access_t;
|
||||
|
||||
/**
|
||||
* find_elem callback returns this if no matching control element is found
|
||||
*/
|
||||
#define SND_CTL_EXT_KEY_NOT_FOUND (snd_ctl_ext_key_t)(-1)
|
||||
|
||||
int snd_ctl_ext_create(snd_ctl_ext_t *ext, const char *name, int mode);
|
||||
int snd_ctl_ext_delete(snd_ctl_ext_t *ext);
|
||||
|
||||
/** \} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __ALSA_CONTROL_EXTERNAL_H */
|
@@ -1,78 +0,0 @@
|
||||
/**
|
||||
* \file include/error.h
|
||||
* \brief Application interface library for the ALSA driver
|
||||
* \author Jaroslav Kysela <perex@perex.cz>
|
||||
* \author Abramo Bagnara <abramo@alsa-project.org>
|
||||
* \author Takashi Iwai <tiwai@suse.de>
|
||||
* \date 1998-2001
|
||||
*
|
||||
* Application interface library for the ALSA driver
|
||||
*/
|
||||
/*
|
||||
* This library is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as
|
||||
* published by the Free Software Foundation; either version 2.1 of
|
||||
* the License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __ALSA_ERROR_H
|
||||
#define __ALSA_ERROR_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* \defgroup Error Error handling
|
||||
* Error handling macros and functions.
|
||||
* \{
|
||||
*/
|
||||
|
||||
#define SND_ERROR_BEGIN 500000 /**< Lower boundary of sound error codes. */
|
||||
#define SND_ERROR_INCOMPATIBLE_VERSION (SND_ERROR_BEGIN+0) /**< Kernel/library protocols are not compatible. */
|
||||
#define SND_ERROR_ALISP_NIL (SND_ERROR_BEGIN+1) /**< Lisp encountered an error during acall. */
|
||||
|
||||
const char *snd_strerror(int errnum);
|
||||
|
||||
/**
|
||||
* \brief Error handler callback.
|
||||
* \param file Source file name.
|
||||
* \param line Line number.
|
||||
* \param function Function name.
|
||||
* \param err Value of \c errno, or 0 if not relevant.
|
||||
* \param fmt \c printf(3) format.
|
||||
* \param ... \c printf(3) arguments.
|
||||
*
|
||||
* A function of this type is called by the ALSA library when an error occurs.
|
||||
* This function usually shows the message on the screen, and/or logs it.
|
||||
*/
|
||||
typedef void (*snd_lib_error_handler_t)(const char *file, int line, const char *function, int err, const char *fmt, ...) /* __attribute__ ((format (printf, 5, 6))) */;
|
||||
extern snd_lib_error_handler_t snd_lib_error;
|
||||
extern int snd_lib_error_set_handler(snd_lib_error_handler_t handler);
|
||||
|
||||
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 95)
|
||||
#define SNDERR(...) snd_lib_error(__FILE__, __LINE__, __FUNCTION__, 0, __VA_ARGS__) /**< Shows a sound error message. */
|
||||
#define SYSERR(...) snd_lib_error(__FILE__, __LINE__, __FUNCTION__, errno, __VA_ARGS__) /**< Shows a system error message (related to \c errno). */
|
||||
#else
|
||||
#define SNDERR(args...) snd_lib_error(__FILE__, __LINE__, __FUNCTION__, 0, ##args) /**< Shows a sound error message. */
|
||||
#define SYSERR(args...) snd_lib_error(__FILE__, __LINE__, __FUNCTION__, errno, ##args) /**< Shows a system error message (related to \c errno). */
|
||||
#endif
|
||||
|
||||
/** \} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __ALSA_ERROR_H */
|
||||
|
@@ -1,159 +0,0 @@
|
||||
/**
|
||||
* \file include/global.h
|
||||
* \brief Application interface library for the ALSA driver
|
||||
* \author Jaroslav Kysela <perex@perex.cz>
|
||||
* \author Abramo Bagnara <abramo@alsa-project.org>
|
||||
* \author Takashi Iwai <tiwai@suse.de>
|
||||
* \date 1998-2001
|
||||
*
|
||||
* Application interface library for the ALSA driver
|
||||
*/
|
||||
/*
|
||||
* This library is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as
|
||||
* published by the Free Software Foundation; either version 2.1 of
|
||||
* the License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __ALSA_GLOBAL_H_
|
||||
#define __ALSA_GLOBAL_H_
|
||||
|
||||
/* for timeval and timespec */
|
||||
#include <time.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* \defgroup Global Global defines and functions
|
||||
* Global defines and functions.
|
||||
* \par
|
||||
* The ALSA library implementation uses these macros and functions.
|
||||
* Most applications probably do not need them.
|
||||
* \{
|
||||
*/
|
||||
|
||||
const char *snd_asoundlib_version(void);
|
||||
|
||||
#ifndef ATTRIBUTE_UNUSED
|
||||
/** do not print warning (gcc) when function parameter is not used */
|
||||
#define ATTRIBUTE_UNUSED __attribute__ ((__unused__))
|
||||
#endif
|
||||
|
||||
#ifdef PIC /* dynamic build */
|
||||
|
||||
/** \hideinitializer \brief Helper macro for #SND_DLSYM_BUILD_VERSION. */
|
||||
#define __SND_DLSYM_VERSION(name, version) _ ## name ## version
|
||||
/**
|
||||
* \hideinitializer
|
||||
* \brief Appends the build version to the name of a versioned dynamic symbol.
|
||||
*/
|
||||
#define SND_DLSYM_BUILD_VERSION(name, version) char __SND_DLSYM_VERSION(name, version);
|
||||
|
||||
#else /* static build */
|
||||
|
||||
struct snd_dlsym_link {
|
||||
struct snd_dlsym_link *next;
|
||||
const char *dlsym_name;
|
||||
const void *dlsym_ptr;
|
||||
};
|
||||
|
||||
extern struct snd_dlsym_link *snd_dlsym_start;
|
||||
|
||||
/** \hideinitializer \brief Helper macro for #SND_DLSYM_BUILD_VERSION. */
|
||||
#define __SND_DLSYM_VERSION(prefix, name, version) _ ## prefix ## name ## version
|
||||
/**
|
||||
* \hideinitializer
|
||||
* \brief Appends the build version to the name of a versioned dynamic symbol.
|
||||
*/
|
||||
#define SND_DLSYM_BUILD_VERSION(name, version) \
|
||||
static struct snd_dlsym_link __SND_DLSYM_VERSION(snd_dlsym_, name, version); \
|
||||
void __SND_DLSYM_VERSION(snd_dlsym_constructor_, name, version) (void) __attribute__ ((constructor)); \
|
||||
void __SND_DLSYM_VERSION(snd_dlsym_constructor_, name, version) (void) { \
|
||||
__SND_DLSYM_VERSION(snd_dlsym_, name, version).next = snd_dlsym_start; \
|
||||
__SND_DLSYM_VERSION(snd_dlsym_, name, version).dlsym_name = # name; \
|
||||
__SND_DLSYM_VERSION(snd_dlsym_, name, version).dlsym_ptr = (void *)&name; \
|
||||
snd_dlsym_start = &__SND_DLSYM_VERSION(snd_dlsym_, name, version); \
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef __STRING
|
||||
/** \brief Return 'x' argument as string */
|
||||
#define __STRING(x) #x
|
||||
#endif
|
||||
|
||||
/** \brief Returns the version of a dynamic symbol as a string. */
|
||||
#define SND_DLSYM_VERSION(version) __STRING(version)
|
||||
|
||||
void *snd_dlopen(const char *file, int mode);
|
||||
void *snd_dlsym(void *handle, const char *name, const char *version);
|
||||
int snd_dlclose(void *handle);
|
||||
|
||||
|
||||
/** \brief alloca helper macro. */
|
||||
#define __snd_alloca(ptr,type) do { *ptr = (type##_t *) alloca(type##_sizeof()); memset(*ptr, 0, type##_sizeof()); } while (0)
|
||||
|
||||
/**
|
||||
* \brief Internal structure for an async notification client handler.
|
||||
*
|
||||
* The ALSA library uses a pointer to this structure as a handle to an async
|
||||
* notification object. Applications don't access its contents directly.
|
||||
*/
|
||||
typedef struct _snd_async_handler snd_async_handler_t;
|
||||
|
||||
/**
|
||||
* \brief Async notification callback.
|
||||
*
|
||||
* See the #snd_async_add_handler function for details.
|
||||
*/
|
||||
typedef void (*snd_async_callback_t)(snd_async_handler_t *handler);
|
||||
|
||||
int snd_async_add_handler(snd_async_handler_t **handler, int fd,
|
||||
snd_async_callback_t callback, void *private_data);
|
||||
int snd_async_del_handler(snd_async_handler_t *handler);
|
||||
int snd_async_handler_get_fd(snd_async_handler_t *handler);
|
||||
int snd_async_handler_get_signo(snd_async_handler_t *handler);
|
||||
void *snd_async_handler_get_callback_private(snd_async_handler_t *handler);
|
||||
|
||||
struct snd_shm_area *snd_shm_area_create(int shmid, void *ptr);
|
||||
struct snd_shm_area *snd_shm_area_share(struct snd_shm_area *area);
|
||||
int snd_shm_area_destroy(struct snd_shm_area *area);
|
||||
|
||||
int snd_user_file(const char *file, char **result);
|
||||
|
||||
#if !defined(_POSIX_C_SOURCE) && !defined(_POSIX_SOURCE)
|
||||
struct timeval {
|
||||
time_t tv_sec; /* seconds */
|
||||
long tv_usec; /* microseconds */
|
||||
};
|
||||
|
||||
struct timespec {
|
||||
time_t tv_sec; /* seconds */
|
||||
long tv_nsec; /* nanoseconds */
|
||||
};
|
||||
#endif
|
||||
|
||||
/** Timestamp */
|
||||
typedef struct timeval snd_timestamp_t;
|
||||
/** Hi-res timestamp */
|
||||
typedef struct timespec snd_htimestamp_t;
|
||||
|
||||
/** \} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __ALSA_GLOBAL_H */
|
@@ -1,160 +0,0 @@
|
||||
/**
|
||||
* \file include/hwdep.h
|
||||
* \brief Application interface library for the ALSA driver
|
||||
* \author Jaroslav Kysela <perex@perex.cz>
|
||||
* \author Abramo Bagnara <abramo@alsa-project.org>
|
||||
* \author Takashi Iwai <tiwai@suse.de>
|
||||
* \date 1998-2001
|
||||
*
|
||||
* Application interface library for the ALSA driver
|
||||
*/
|
||||
/*
|
||||
* This library is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as
|
||||
* published by the Free Software Foundation; either version 2.1 of
|
||||
* the License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __ALSA_HWDEP_H
|
||||
#define __ALSA_HWDEP_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* \defgroup HwDep Hardware Dependant Interface
|
||||
* The Hardware Dependant Interface.
|
||||
* \{
|
||||
*/
|
||||
|
||||
/** dlsym version for interface entry callback */
|
||||
#define SND_HWDEP_DLSYM_VERSION _dlsym_hwdep_001
|
||||
|
||||
/** HwDep information container */
|
||||
typedef struct _snd_hwdep_info snd_hwdep_info_t;
|
||||
|
||||
/** HwDep DSP status container */
|
||||
typedef struct _snd_hwdep_dsp_status snd_hwdep_dsp_status_t;
|
||||
|
||||
/** HwDep DSP image container */
|
||||
typedef struct _snd_hwdep_dsp_image snd_hwdep_dsp_image_t;
|
||||
|
||||
/** HwDep interface */
|
||||
typedef enum _snd_hwdep_iface {
|
||||
SND_HWDEP_IFACE_OPL2 = 0, /**< OPL2 raw driver */
|
||||
SND_HWDEP_IFACE_OPL3, /**< OPL3 raw driver */
|
||||
SND_HWDEP_IFACE_OPL4, /**< OPL4 raw driver */
|
||||
SND_HWDEP_IFACE_SB16CSP, /**< SB16CSP driver */
|
||||
SND_HWDEP_IFACE_EMU10K1, /**< EMU10K1 driver */
|
||||
SND_HWDEP_IFACE_YSS225, /**< YSS225 driver */
|
||||
SND_HWDEP_IFACE_ICS2115, /**< ICS2115 driver */
|
||||
SND_HWDEP_IFACE_SSCAPE, /**< Ensoniq SoundScape ISA card (MC68EC000) */
|
||||
SND_HWDEP_IFACE_VX, /**< Digigram VX cards */
|
||||
SND_HWDEP_IFACE_MIXART, /**< Digigram miXart cards */
|
||||
SND_HWDEP_IFACE_USX2Y, /**< Tascam US122, US224 & US428 usb */
|
||||
SND_HWDEP_IFACE_EMUX_WAVETABLE, /**< EmuX wavetable */
|
||||
SND_HWDEP_IFACE_BLUETOOTH, /**< Bluetooth audio */
|
||||
SND_HWDEP_IFACE_USX2Y_PCM, /**< Tascam US122, US224 & US428 raw USB PCM */
|
||||
SND_HWDEP_IFACE_PCXHR, /**< Digigram PCXHR */
|
||||
SND_HWDEP_IFACE_SB_RC, /**< SB Extigy/Audigy2NX remote control */
|
||||
|
||||
SND_HWDEP_IFACE_LAST = SND_HWDEP_IFACE_SB_RC /**< last known hwdep interface */
|
||||
} snd_hwdep_iface_t;
|
||||
|
||||
/** open for reading */
|
||||
#define SND_HWDEP_OPEN_READ (O_RDONLY)
|
||||
/** open for writing */
|
||||
#define SND_HWDEP_OPEN_WRITE (O_WRONLY)
|
||||
/** open for reading and writing */
|
||||
#define SND_HWDEP_OPEN_DUPLEX (O_RDWR)
|
||||
/** open mode flag: open in nonblock mode */
|
||||
#define SND_HWDEP_OPEN_NONBLOCK (O_NONBLOCK)
|
||||
|
||||
/** HwDep handle type */
|
||||
typedef enum _snd_hwdep_type {
|
||||
/** Kernel level HwDep */
|
||||
SND_HWDEP_TYPE_HW,
|
||||
/** Shared memory client HwDep (not yet implemented) */
|
||||
SND_HWDEP_TYPE_SHM,
|
||||
/** INET client HwDep (not yet implemented) */
|
||||
SND_HWDEP_TYPE_INET
|
||||
} snd_hwdep_type_t;
|
||||
|
||||
/** HwDep handle */
|
||||
typedef struct _snd_hwdep snd_hwdep_t;
|
||||
|
||||
int snd_hwdep_open(snd_hwdep_t **hwdep, const char *name, int mode);
|
||||
int snd_hwdep_close(snd_hwdep_t *hwdep);
|
||||
int snd_hwdep_poll_descriptors(snd_hwdep_t *hwdep, struct pollfd *pfds, unsigned int space);
|
||||
int snd_hwdep_poll_descriptors_revents(snd_hwdep_t *hwdep, struct pollfd *pfds, unsigned int nfds, unsigned short *revents);
|
||||
int snd_hwdep_nonblock(snd_hwdep_t *hwdep, int nonblock);
|
||||
int snd_hwdep_info(snd_hwdep_t *hwdep, snd_hwdep_info_t * info);
|
||||
int snd_hwdep_dsp_status(snd_hwdep_t *hwdep, snd_hwdep_dsp_status_t *status);
|
||||
int snd_hwdep_dsp_load(snd_hwdep_t *hwdep, snd_hwdep_dsp_image_t *block);
|
||||
int snd_hwdep_ioctl(snd_hwdep_t *hwdep, unsigned int request, void * arg);
|
||||
ssize_t snd_hwdep_write(snd_hwdep_t *hwdep, const void *buffer, size_t size);
|
||||
ssize_t snd_hwdep_read(snd_hwdep_t *hwdep, void *buffer, size_t size);
|
||||
|
||||
size_t snd_hwdep_info_sizeof(void);
|
||||
/** allocate #snd_hwdep_info_t container on stack */
|
||||
#define snd_hwdep_info_alloca(ptr) __snd_alloca(ptr, snd_hwdep_info)
|
||||
int snd_hwdep_info_malloc(snd_hwdep_info_t **ptr);
|
||||
void snd_hwdep_info_free(snd_hwdep_info_t *obj);
|
||||
void snd_hwdep_info_copy(snd_hwdep_info_t *dst, const snd_hwdep_info_t *src);
|
||||
|
||||
unsigned int snd_hwdep_info_get_device(const snd_hwdep_info_t *obj);
|
||||
int snd_hwdep_info_get_card(const snd_hwdep_info_t *obj);
|
||||
const char *snd_hwdep_info_get_id(const snd_hwdep_info_t *obj);
|
||||
const char *snd_hwdep_info_get_name(const snd_hwdep_info_t *obj);
|
||||
snd_hwdep_iface_t snd_hwdep_info_get_iface(const snd_hwdep_info_t *obj);
|
||||
void snd_hwdep_info_set_device(snd_hwdep_info_t *obj, unsigned int val);
|
||||
|
||||
size_t snd_hwdep_dsp_status_sizeof(void);
|
||||
/** allocate #snd_hwdep_dsp_status_t container on stack */
|
||||
#define snd_hwdep_dsp_status_alloca(ptr) __snd_alloca(ptr, snd_hwdep_dsp_status)
|
||||
int snd_hwdep_dsp_status_malloc(snd_hwdep_dsp_status_t **ptr);
|
||||
void snd_hwdep_dsp_status_free(snd_hwdep_dsp_status_t *obj);
|
||||
void snd_hwdep_dsp_status_copy(snd_hwdep_dsp_status_t *dst, const snd_hwdep_dsp_status_t *src);
|
||||
|
||||
unsigned int snd_hwdep_dsp_status_get_version(const snd_hwdep_dsp_status_t *obj);
|
||||
const char *snd_hwdep_dsp_status_get_id(const snd_hwdep_dsp_status_t *obj);
|
||||
unsigned int snd_hwdep_dsp_status_get_num_dsps(const snd_hwdep_dsp_status_t *obj);
|
||||
unsigned int snd_hwdep_dsp_status_get_dsp_loaded(const snd_hwdep_dsp_status_t *obj);
|
||||
unsigned int snd_hwdep_dsp_status_get_chip_ready(const snd_hwdep_dsp_status_t *obj);
|
||||
|
||||
size_t snd_hwdep_dsp_image_sizeof(void);
|
||||
/** allocate #snd_hwdep_dsp_image_t container on stack */
|
||||
#define snd_hwdep_dsp_image_alloca(ptr) __snd_alloca(ptr, snd_hwdep_dsp_image)
|
||||
int snd_hwdep_dsp_image_malloc(snd_hwdep_dsp_image_t **ptr);
|
||||
void snd_hwdep_dsp_image_free(snd_hwdep_dsp_image_t *obj);
|
||||
void snd_hwdep_dsp_image_copy(snd_hwdep_dsp_image_t *dst, const snd_hwdep_dsp_image_t *src);
|
||||
|
||||
unsigned int snd_hwdep_dsp_image_get_index(const snd_hwdep_dsp_image_t *obj);
|
||||
const char *snd_hwdep_dsp_image_get_name(const snd_hwdep_dsp_image_t *obj);
|
||||
const void *snd_hwdep_dsp_image_get_image(const snd_hwdep_dsp_image_t *obj);
|
||||
size_t snd_hwdep_dsp_image_get_length(const snd_hwdep_dsp_image_t *obj);
|
||||
|
||||
void snd_hwdep_dsp_image_set_index(snd_hwdep_dsp_image_t *obj, unsigned int _index);
|
||||
void snd_hwdep_dsp_image_set_name(snd_hwdep_dsp_image_t *obj, const char *name);
|
||||
void snd_hwdep_dsp_image_set_image(snd_hwdep_dsp_image_t *obj, void *buffer);
|
||||
void snd_hwdep_dsp_image_set_length(snd_hwdep_dsp_image_t *obj, size_t length);
|
||||
|
||||
/** \} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __ALSA_HWDEP_H */
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -1,83 +0,0 @@
|
||||
/**
|
||||
* \file include/input.h
|
||||
* \brief Application interface library for the ALSA driver
|
||||
* \author Jaroslav Kysela <perex@perex.cz>
|
||||
* \author Abramo Bagnara <abramo@alsa-project.org>
|
||||
* \author Takashi Iwai <tiwai@suse.de>
|
||||
* \date 1998-2001
|
||||
*
|
||||
* Application interface library for the ALSA driver
|
||||
*/
|
||||
/*
|
||||
* This library is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as
|
||||
* published by the Free Software Foundation; either version 2.1 of
|
||||
* the License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __ALSA_INPUT_H
|
||||
#define __ALSA_INPUT_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* \defgroup Input Input Interface
|
||||
*
|
||||
* The input functions present an interface similar to the stdio functions
|
||||
* on top of different underlying input sources.
|
||||
*
|
||||
* The #snd_config_load function uses such an input handle to be able to
|
||||
* load configurations not only from standard files but also from other
|
||||
* sources, e.g. from memory buffers.
|
||||
*
|
||||
* \{
|
||||
*/
|
||||
|
||||
/**
|
||||
* \brief Internal structure for an input object.
|
||||
*
|
||||
* The ALSA library uses a pointer to this structure as a handle to an
|
||||
* input object. Applications don't access its contents directly.
|
||||
*/
|
||||
typedef struct _snd_input snd_input_t;
|
||||
|
||||
/** Input type. */
|
||||
typedef enum _snd_input_type {
|
||||
/** Input from a stdio stream. */
|
||||
SND_INPUT_STDIO,
|
||||
/** Input from a memory buffer. */
|
||||
SND_INPUT_BUFFER
|
||||
} snd_input_type_t;
|
||||
|
||||
int snd_input_stdio_open(snd_input_t **inputp, const char *file, const char *mode);
|
||||
int snd_input_stdio_attach(snd_input_t **inputp, FILE *fp, int _close);
|
||||
int snd_input_buffer_open(snd_input_t **inputp, const char *buffer, ssize_t size);
|
||||
int snd_input_close(snd_input_t *input);
|
||||
int snd_input_scanf(snd_input_t *input, const char *format, ...)
|
||||
#ifndef DOC_HIDDEN
|
||||
__attribute__ ((format (scanf, 2, 3)))
|
||||
#endif
|
||||
;
|
||||
char *snd_input_gets(snd_input_t *input, char *str, size_t size);
|
||||
int snd_input_getc(snd_input_t *input);
|
||||
int snd_input_ungetc(snd_input_t *input, int c);
|
||||
|
||||
/** \} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __ALSA_INPUT_H */
|
@@ -1,174 +0,0 @@
|
||||
#ifndef _LIST_H
|
||||
#define _LIST_H
|
||||
|
||||
/*
|
||||
* This code was taken from the Linux 2.4.0 kernel. [jaroslav]
|
||||
*/
|
||||
|
||||
/*
|
||||
* Simple doubly linked list implementation.
|
||||
*
|
||||
* Some of the internal functions ("__xxx") are useful when
|
||||
* manipulating whole lists rather than single entries, as
|
||||
* sometimes we already know the next/prev entries and we can
|
||||
* generate better code by using them directly rather than
|
||||
* using the generic single-entry routines.
|
||||
*/
|
||||
|
||||
#ifndef LIST_HEAD_IS_DEFINED
|
||||
struct list_head {
|
||||
struct list_head *next, *prev;
|
||||
};
|
||||
#endif
|
||||
|
||||
#define LIST_HEAD_INIT(name) { &(name), &(name) }
|
||||
|
||||
#define LIST_HEAD(name) \
|
||||
struct list_head name = LIST_HEAD_INIT(name)
|
||||
|
||||
#define INIT_LIST_HEAD(ptr) do { \
|
||||
(ptr)->next = (ptr); (ptr)->prev = (ptr); \
|
||||
} while (0)
|
||||
|
||||
/*
|
||||
* Insert a new entry between two known consecutive entries.
|
||||
*
|
||||
* This is only for internal list manipulation where we know
|
||||
* the prev/next entries already!
|
||||
*/
|
||||
static __inline__ void __list_add(struct list_head * _new,
|
||||
struct list_head * prev,
|
||||
struct list_head * next)
|
||||
{
|
||||
next->prev = _new;
|
||||
_new->next = next;
|
||||
_new->prev = prev;
|
||||
prev->next = _new;
|
||||
}
|
||||
|
||||
/**
|
||||
* list_add - add a new entry
|
||||
* @new: new entry to be added
|
||||
* @head: list head to add it after
|
||||
*
|
||||
* Insert a new entry after the specified head.
|
||||
* This is good for implementing stacks.
|
||||
*/
|
||||
static __inline__ void list_add(struct list_head *_new, struct list_head *head)
|
||||
{
|
||||
__list_add(_new, head, head->next);
|
||||
}
|
||||
|
||||
/**
|
||||
* list_add_tail - add a new entry
|
||||
* @new: new entry to be added
|
||||
* @head: list head to add it before
|
||||
*
|
||||
* Insert a new entry before the specified head.
|
||||
* This is useful for implementing queues.
|
||||
*/
|
||||
static __inline__ void list_add_tail(struct list_head *_new, struct list_head *head)
|
||||
{
|
||||
__list_add(_new, head->prev, head);
|
||||
}
|
||||
|
||||
/*
|
||||
* Delete a list entry by making the prev/next entries
|
||||
* point to each other.
|
||||
*
|
||||
* This is only for internal list manipulation where we know
|
||||
* the prev/next entries already!
|
||||
*/
|
||||
static __inline__ void __list_del(struct list_head * prev,
|
||||
struct list_head * next)
|
||||
{
|
||||
next->prev = prev;
|
||||
prev->next = next;
|
||||
}
|
||||
|
||||
/**
|
||||
* list_del - deletes entry from list.
|
||||
* @entry: the element to delete from the list.
|
||||
* Note: list_empty on entry does not return true after this, the entry is in an undefined state.
|
||||
*/
|
||||
static __inline__ void list_del(struct list_head *entry)
|
||||
{
|
||||
__list_del(entry->prev, entry->next);
|
||||
}
|
||||
|
||||
/**
|
||||
* list_del_init - deletes entry from list and reinitialize it.
|
||||
* @entry: the element to delete from the list.n
|
||||
*/
|
||||
static __inline__ void list_del_init(struct list_head *entry)
|
||||
{
|
||||
__list_del(entry->prev, entry->next);
|
||||
INIT_LIST_HEAD(entry);
|
||||
}
|
||||
|
||||
/**
|
||||
* list_empty - tests whether a list is empty
|
||||
* @head: the list to test.
|
||||
*/
|
||||
static __inline__ int list_empty(struct list_head *head)
|
||||
{
|
||||
return head->next == head;
|
||||
}
|
||||
|
||||
/**
|
||||
* list_splice - join two lists
|
||||
* @list: the new list to add.
|
||||
* @head: the place to add it in the first list.
|
||||
*/
|
||||
static __inline__ void list_splice(struct list_head *list, struct list_head *head)
|
||||
{
|
||||
struct list_head *first = list->next;
|
||||
|
||||
if (first != list) {
|
||||
struct list_head *last = list->prev;
|
||||
struct list_head *at = head->next;
|
||||
|
||||
first->prev = head;
|
||||
head->next = first;
|
||||
|
||||
last->next = at;
|
||||
at->prev = last;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* list_for_each - iterate over a list
|
||||
* @pos: the &struct list_head to use as a loop counter.
|
||||
* @head: the head for your list.
|
||||
*/
|
||||
#define list_for_each(pos, head) \
|
||||
for (pos = (head)->next ; pos != (head); pos = pos->next)
|
||||
|
||||
/**
|
||||
* list_for_each_safe - iterate over a list safely (actual pointer can be invalidated)
|
||||
* @pos: the &struct list_head to use as a loop counter.
|
||||
* @next: the &struct list_head to use to save next.
|
||||
* @head: the head for your list.
|
||||
*/
|
||||
#define list_for_each_safe(pos, npos, head) \
|
||||
for (pos = (head)->next, npos = pos->next ; pos != (head); pos = npos, npos = pos->next)
|
||||
|
||||
/**
|
||||
* list_entry - get the struct for this entry
|
||||
* @ptr: the &struct list_head pointer.
|
||||
* @type: the type of the struct this is embedded in.
|
||||
* @member: the name of the list_struct within the struct.
|
||||
*/
|
||||
#define list_entry(ptr, type, member) \
|
||||
((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member)))
|
||||
|
||||
/**
|
||||
* list_entry - get the struct for this entry
|
||||
* @ptr: the &struct list_head pointer.
|
||||
* @type: the type of the struct this is embedded in.
|
||||
* @offset: offset of entry inside a struct
|
||||
*/
|
||||
#define list_entry_offset(ptr, type, offset) \
|
||||
((type *)((char *)(ptr)-(offset)))
|
||||
|
||||
#endif /* _LIST_H */
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user