opus didnt support 44.1kHz
This commit is contained in:
parent
edbe406f5b
commit
b7b7e78614
@ -21,7 +21,7 @@ var waveHeader = &audiodriver.WavHeader{
|
|||||||
Size: waveHeaderSize,
|
Size: waveHeaderSize,
|
||||||
AudioFormat: 1,
|
AudioFormat: 1,
|
||||||
NumChannels: 2,
|
NumChannels: 2,
|
||||||
SampleRate: 44100,
|
SampleRate: 48000, // opus only support 48kHz
|
||||||
BlockAlign: 4,
|
BlockAlign: 4,
|
||||||
BitsPerSample: 16,
|
BitsPerSample: 16,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user