Ticket #2109: oss_spdif_patch.diff

File oss_spdif_patch.diff, 445 bytes (added by ivan-mythtv@…, 15 years ago)

OSS ac3 passthru patch

  • libs/libmyth/audiooutputoss.cpp

     
    106106                       .arg(audio_bits));
    107107    }
    108108
     109    if (audio_passthru)
     110        format = AFMT_AC3;
     111
    109112    if (audio_channels > 2)
    110113    {
    111114        if (ioctl(audiofd, SNDCTL_DSP_SAMPLESIZE, &audio_bits) < 0 ||