Merge branch 'v0.19.x'
This commit is contained in:
@@ -774,6 +774,9 @@ AlsaOutput::Recover(int err)
|
||||
if (err == -EAGAIN)
|
||||
return 0;
|
||||
/* fall-through to snd_pcm_prepare: */
|
||||
#if GCC_CHECK_VERSION(7,0)
|
||||
[[fallthrough]];
|
||||
#endif
|
||||
case SND_PCM_STATE_SETUP:
|
||||
case SND_PCM_STATE_XRUN:
|
||||
period_position = 0;
|
||||
|
||||
@@ -161,10 +161,10 @@ WinmmOutput::Open(AudioFormat &audio_format)
|
||||
throw std::runtime_error("CreateEvent() failed");
|
||||
|
||||
switch (audio_format.format) {
|
||||
case SampleFormat::S8:
|
||||
case SampleFormat::S16:
|
||||
break;
|
||||
|
||||
case SampleFormat::S8:
|
||||
case SampleFormat::S24_P32:
|
||||
case SampleFormat::S32:
|
||||
case SampleFormat::FLOAT:
|
||||
|
||||
Reference in New Issue
Block a user