Skip to content

Conversation

@mayqinxu
Copy link

In the splitBufDataAndCreateDataHeader method, dataListLen needs to be multiplied by self.channel; otherwise, the audio length in the header will be incorrect.

__splitBufDataAndCreateDataHeader__ dataListLen should multiply self.channel
@code-killerr
Copy link
Owner

I think it is not only the channel problem. Maybe it is about the bit_depth. Maybe we should multiplied block_align or bit_depth/8. That needs to be tested.

@code-killerr
Copy link
Owner

No need to multiplied self.channel, in design every channel is the same sound,so we just need one channel to use, two channel will have repeat cut file, if you think two channel have different data, you can change it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants