Class PcmUtils

java.lang.Object
com.luna.common.media.PcmUtils

public class PcmUtils extends Object
Author:
luna
  • Constructor Details

    • PcmUtils

      public PcmUtils()
  • Method Details

    • convert2Wav

      public static void convert2Wav(String inPcmFilePath, String outWavFilePath, int sampleRate, int channels, int bitNum)
    • convert2Wav

      public static void convert2Wav(File inPcmFile, File outWavFile, int sampleRate, int channels, int bitNum)
    • Pcm2WavBytes

      public static void Pcm2WavBytes(byte[] pcm, byte[] wav, int sampleRate, int channels, int bitNum)
    • pcm2Wav

      public static void pcm2Wav(byte[] pcm, byte[] wav, int sampleRate, int channels, int bitNum)