The sound muted after playing audio with Audio Queue on iOS for a while
By : user3788879
Date : March 29 2020, 07:55 AM
hope this fix your issue The problem has been resolved. The key point is, you can not let the audio queue buffer waits, you must keep feeding it, or it might be muted. If you don't have enough data, fill it with blank data. code :
do
{
read_bytes_enabled = g_audio_playback_buf.GetReadByteLen();
if (read_bytes_enabled >= kAudioQueueBufferLength)
{
break;
}
usleep(10*1000);
}
while (true);
read_bytes_enabled = g_audio_playback_buf.GetReadByteLen();
if (read_bytes_enabled < kAudioQueueBufferLength)
{
memset(inBuffer->mAudioData, 0x00, kAudioQueueBufferLength);
}
else
{
inBuffer->mAudioDataByteSize = kAudioQueueBufferLength;
}
...
|
Change anchor text/icon during audio play using <audio> tags and Javascript
By : Manu Krishnan
Date : March 29 2020, 07:55 AM
|
How do I add some other audio to the muted section of an audio using ffmpeg?
By : user1087145
Date : March 29 2020, 07:55 AM
wish of those help The convenient way to do this is to trim the source and concat with the new audio. code :
ffmpeg -i in.wav -i insert.wav -filter_complex "[0]atrim=0:94[pre];[0]atrim=124,asetpts=PTS-STARTPTS[post];[1]atrim=0:30[mid];[pre][mid][post]concat=n=3:v=0:a=1" out.wav
|
Audio tags in React app play wrong audio clips when list of audio clips is filtered
By : user3538059
Date : March 29 2020, 07:55 AM
|
Has IOS13 broken <audio> tags used as audio buffers connected to the audio context?
By : kimchibop
Date : September 30 2020, 07:00 AM
|