Ticket #4700: ao_win.patch

File ao_win.patch, 557 bytes (added by andrei@…, 12 years ago)
  • libs/libmyth/audiooutputwin.cpp

     
    195195
    196196int AudioOutputWin::getSpaceOnSoundcard(void)
    197197{
    198     return (kPacketCnt - m_nPkts) * 1152 * 4;
     198    return (kPacketCnt - m_nPkts) * 1536 * 4;
    199199}
    200200
    201201int AudioOutputWin::getBufferedOnSoundcard(void)
    202202{
    203     return m_nPkts * 1600 * 4;
     203    return m_nPkts * 1536 * 4;
    204204}
    205205
    206206int AudioOutputWin::GetVolumeChannel(int channel)