Skip to content
  • Akihiko Odaki's avatar
    986bdbc6
    coreaudio: Fix output stream format settings · 986bdbc6
    Akihiko Odaki authored
    
    
    Before commit 7d6948cd, it was coded to
    retrieve the initial output stream format settings, modify the frame
    rate, and set again. However, I removed a frame rate modification code by
    mistake in the commit. It also assumes the initial output stream format
    is consistent with what QEMU expects, but that expectation is not in the
    code, which makes it harder to understand and will lead to breakage if
    the initial settings change.
    
    This change explicitly sets all of the output stream settings to solve
    these problems.
    
    Signed-off-by: default avatarAkihiko Odaki <akihiko.odaki@gmail.com>
    Message-Id: <20210616141721.54091-1-akihiko.odaki@gmail.com>
    Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
    986bdbc6
    coreaudio: Fix output stream format settings
    Akihiko Odaki authored
    
    
    Before commit 7d6948cd, it was coded to
    retrieve the initial output stream format settings, modify the frame
    rate, and set again. However, I removed a frame rate modification code by
    mistake in the commit. It also assumes the initial output stream format
    is consistent with what QEMU expects, but that expectation is not in the
    code, which makes it harder to understand and will lead to breakage if
    the initial settings change.
    
    This change explicitly sets all of the output stream settings to solve
    these problems.
    
    Signed-off-by: default avatarAkihiko Odaki <akihiko.odaki@gmail.com>
    Message-Id: <20210616141721.54091-1-akihiko.odaki@gmail.com>
    Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
Loading