[General Questions and Answers] Ceccis:
Re-update:laugh:

This are the two files that i think should be important..

\system\etc\audio_policy.conf

#

# Audio policy configuration for generic device builds (goldfish audio HAL - emulator)

#

# Global configuration section: lists input and output devices always present on the device

# as well as the output device selected by default.

# Devices are designated by a string that corresponds to the enum in audio.h

global_configuration {

attached_output_devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_EARPIECE

default_output_device AUDIO_DEVICE_OUT_SPEAKER

attached_input_devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_VOICE_CALL

}

# audio hardware module section: contains descriptors for all audio hw modules present on the

# device. Each hw module node is named after the corresponding hw module library base name.

# For instance, "primary" corresponds to audio.primary.<device>.so.

# The "primary" module is mandatory and must include at least one output with

# AUDIO_OUTPUT_FLAG_PRIMARY flag.

# Each module descriptor contains one or more output profile descriptors and zero or more

# input profile descriptors. Each profile lists all the parameters supported by a given output

# or input stream category.

# The "channel_masks", "formats", "devices" and "flags" are specified using strings corresponding

# to enums in audio.h and audio_policy.h. They are concatenated by use of "|" without space or "\n".

#/* < DTS2012080708196 duhongyan 20120807 begin */

audio_hw_modules {

primary {

outputs {

primary {

sampling_rates 44100|48000

channel_masks AUDIO_CHANNEL_OUT_STEREO

formats AUDIO_FORMAT_PCM_16_BIT

devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_ALL_SCO|AUDIO_DEVICE_OUT_AUX_DIGITAL|AUDIO_DEVICE_OUT_FM|AUDIO_DEVICE_OUT_FM_TX

flags AUDIO_OUTPUT_FLAG_PRIMARY

}

voipout {

sampling_rates 8000|16000

channel_masks AUDIO_CHANNEL_OUT_MONO

formats AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_AMR_NB|AUDIO_FORMAT_AMR_WB|AUDIO_FORMAT_QCELP|AUDIO_FORMAT_EVRC|AUDIO_FORMAT_EVRCB|AUDIO_FORMAT_EVRCWB

devices AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE

flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_VOIP_RX

}

lpa {

sampling_rates 8000|11025|12000|16000|22050|24000|32000|44100|48000

channel_masks AUDIO_CHANNEL_OUT_STEREO|AUDIO_CHANNEL_OUT_MONO

formats AUDIO_FORMAT_PCM_16_BIT

devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_ALL_SCO|AUDIO_DEVICE_OUT_AUX_DIGITAL

flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_LPA

}

}

inputs {

primary {

sampling_rates 8000|11025|12000|16000|22050|24000|32000|44100|48000

channel_masks AUDIO_CHANNEL_IN_MONO|AUDIO_CHANNEL_IN_STEREO|AUDIO_CHANNEL_IN_VOICE_CALL_MONO|AUDIO_CHANNEL_IN_VOICE_DNLINK_MONO|AUDIO_CHANNEL_IN_VOICE_UPLINK_MONO

formats AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_AMR_NB|AUDIO_FORMAT_EVRC|AUDIO_FORMAT_QCELP

devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_WIRED_HEADSET|AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET|AUDIO_DEVICE_IN_AUX_DIGITAL|AUDIO_DEVICE_IN_VOICE_CALL|AUDIO_DEVICE_IN_FM_RX

}

voipin {

sampling_rates 8000|16000

channel_masks AUDIO_CHANNEL_IN_MONO

formats AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_AMR_NB|AUDIO_FORMAT_AMR_WB|AUDIO_FORMAT_QCELP|AUDIO_FORMAT_EVRC|AUDIO_FORMAT_EVRCB|AUDIO_FORMAT_EVRCWB

devices AUDIO_DEVICE_IN_COMMUNICATION

}

}

}

a2dp {

outputs {

primary {

sampling_rates 48000

channel_masks AUDIO_CHANNEL_OUT_STEREO

formats AUDIO_FORMAT_PCM_16_BIT

devices AUDIO_DEVICE_OUT_ALL_A2DP

flags AUDIO_OUTPUT_FLAG_PRIMARY

}

}

}

}

#/* DTS2012080708196 duhongyan 20120807 end > */

\system\etc\bluetooth\audio.conf

# Configuration file for the audio service

# This section contains options which are not specific to any

# particular interface

# NOTE: Enable=Sink means that bluetoothd exposes Sink interface for remote

# devices, and the local device is a Source

[General]

Enable=Sink,Control

Disable=Headset,Gateway,Source

# request master role for incoming connections

# so as to reduce the number of piconets and

# allow lot more incoming connections

Master=true

# If we want to disable support for specific services

# Defaults to supporting all implemented services

#Disable=Control,Source

# SCO routing. Either PCM or HCI (in which case audio is routed to/from ALSA)

# Defaults to HCI

#SCORouting=PCM

# Automatically connect both A2DP and HFP/HSP profiles for incoming

# connections. Some headsets that support both profiles will only connect the

# other one automatically so the default setting of true is usually a good

# idea.

#AutoConnect=true

# Headset interface specific options (i.e. options which affect how the audio

# service interacts with remote headset devices)

#[Headset]

# Set to true to support HFP (in addition to HSP only which is the default)

# Defaults to false

#HFP=true

# Maximum number of connected HSP/HFP devices per adapter. Defaults to 1

#MaxConnections=1

# Set to true to enable use of fast connectable mode (faster page scanning)

# for HFP when incomming call starts. Default settings are restored after

# call is answered or rejected. Page scan interval is much shorter and page

# scan type changed to interlaced. Such allows faster connection initiated

# by a headset.

FastConnectable=false

# Just an example of potential config options for the other interfaces

[A2DP]

SBCSources=1

MPEG12Sources=0

[AVRCP]

InputDeviceName=AVRCP

Please someone help :(