Skip to content

WavFileWrite中的一处错误 #5

@lyapple2008

Description

@lyapple2008

public boolean openFile(String filepath, int sampleRateInHz, int channels, int bitsPerSample) throws IOException {
if (mDataOutputStream != null) {
closeFile();
}
mFilepath = filepath;
mDataSize = 0;
mDataOutputStream = new DataOutputStream(new FileOutputStream(filepath));
return writeHeader(sampleRateInHz, bitsPerSample, channels);
}

private boolean writeHeader(int sampleRateInHz, int channels, int bitsPerSample) {
}

这里调用writeHeader函数输入参数有问题

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions