Jump to content

Maven

New Members
  • Posts

    1
  • Joined

  • Last visited

 Content Type 

Profiles

Forums

Downloads

Poweramp Knowledge Base

База знаний Poweramp

Poweramp知识库

Poweramp Equalizer Knowledge Base

База знаний Poweramp Equalizer

Posts posted by Maven

  1. 1. PANTECH IM-A890S

    2. Stock Android 4.4.2

    3. Qualcomm WCD9320 Audio Codec

     

    audio_policy.conf
    https://drive.google.com/open?id=0B5JzmLIjuOUrcFZ2SG1ZWVJLWjA

     

     

    Some contents of the "audio_policy.conf"
     

    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_EARPIECE|AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_ALL_SCO|AUDIO_DEVICE_OUT_AUX_DIGITAL|AUDIO_DEVICE_OUT_PROXY|AUDIO_DEVICE_OUT_ANLG_DOCK_HEADSET|AUDIO_DEVICE_OUT_FM|AUDIO_DEVICE_OUT_FM_TX
            flags AUDIO_OUTPUT_FLAG_PRIMARY
          }
    #[START][FEATURE_PANTECH_SND] 2014-01-09 LS3@SND PANTECH won't use low_latency(also FastMixer block in threads.cpp)
    #      low_latency {
    #         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_PROXY|AUDIO_DEVICE_OUT_ANLG_DOCK_HEADSET|AUDIO_DEVICE_OUT_FM|AUDIO_DEVICE_OUT_FM_TX
    #         flags AUDIO_OUTPUT_FLAG_FAST
    #      }
    #[END][FEATURE_PANTECH_SND]
          multichannel {
            sampling_rates 44100|48000
            channel_masks dynamic
            formats AUDIO_FORMAT_PCM_16_BIT
            devices AUDIO_DEVICE_OUT_AUX_DIGITAL|AUDIO_DEVICE_OUT_PROXY
            flags AUDIO_OUTPUT_FLAG_DIRECT
          }
          compress_offload {
            sampling_rates 8000|11025|12000|16000|22050|24000|32000|44100|48000|64000|88200|96000|192000
    #[START][FEATURE_PANTECH_SND] 20140128 frogLove - support for offload channel is only stereo channel
    #       channel_masks AUDIO_CHANNEL_OUT_MONO|AUDIO_CHANNEL_OUT_STEREO|AUDIO_CHANNEL_OUT_2POINT1|AUDIO_CHANNEL_OUT_QUAD|AUDIO_CHANNEL_OUT_PENTA|AUDIO_CHANNEL_OUT_5POINT1|AUDIO_CHANNEL_OUT_6POINT1|AUDIO_CHANNEL_OUT_7POINT1
            channel_masks AUDIO_CHANNEL_OUT_STEREO
    #[END][FEATURE_PANTECH_SND]
            formats AUDIO_FORMAT_MP3|AUDIO_FORMAT_AAC|AUDIO_FORMAT_AC3|AUDIO_FORMAT_EAC3|AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_PCM_8_24_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_ANLG_DOCK_HEADSET|AUDIO_DEVICE_OUT_FM_TX
            flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING
          }

          voip_rx {
            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|AUDIO_FORMAT_EVRCNW
            devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_ANLG_DOCK_HEADSET|AUDIO_DEVICE_OUT_ALL_SCO
            flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_VOIP_RX
          }
        }

     

    audio_policy.conf

×
×
  • Create New...