mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 04:42:18 +02:00
aja: Fix audio capture sometimes offset by a channel
This commit is contained in:
parent
8614697c59
commit
e390252540
@ -276,7 +276,7 @@ void AJASource::CaptureThread(AJAThread *thread, void *data)
|
||||
}
|
||||
|
||||
card->ReadAudioLastIn(offsets.currentAddress, audioSystem);
|
||||
offsets.currentAddress &= ~0x3; // Force DWORD alignment
|
||||
offsets.currentAddress += 1;
|
||||
offsets.currentAddress += offsets.readOffset;
|
||||
if (offsets.currentAddress < offsets.lastAddress) {
|
||||
offsets.bytesRead =
|
||||
|
Loading…
Reference in New Issue
Block a user