[client] audio: cosmetics

This commit is contained in:
Geoffrey McRae 2022-01-27 17:24:43 +11:00
parent 41884bfcc5
commit 016001da67

View file

@ -260,7 +260,8 @@ static int playbackPullFrames(uint8_t * dst, int frames)
}
}
PlaybackDeviceTick tick = {
PlaybackDeviceTick tick =
{
.nextTime = data->nextTime,
.nextPosition = data->nextPosition
};
@ -531,8 +532,10 @@ void audio_playbackData(uint8_t * data, size_t size)
int consumed = 0;
while (consumed < frames)
{
SRC_DATA srcData = {
.data_in = spiceData->framesIn + consumed * audio.playback.channels,
SRC_DATA srcData =
{
.data_in = spiceData->framesIn +
consumed * audio.playback.channels,
.data_out = spiceData->framesOut,
.input_frames = frames - consumed,
.output_frames = spiceData->framesOutSize,