Files
Antoine Sidem 6e7de5a554 Fix wrong latency assignment in audio.c (#25)
* aaudio: fix wrong latency assignment

Due to (likely) copy-pasted code between input and output stream initialisation, the input stream latency was assigned to the output stream structure.

Input and output latency values are actually different, for example on my machine:
```
Latencies for device Digital Mic: in=40 out=42
Latencies for device Codec Output: in=6 out=41
Latencies for device Speaker: in=8 out=19
Latencies for device Bridge Loopback: in=13 out=30
Latencies for device Codec Input: in=47 out=0
```

This may or may not also fix the following, previously common error message: (e.g.)  `aaudio aaudio: invalid position: , pos = 53211761056, buffer size = 16640, period size = 1`. At least, it hasn't appeared since I applied this change. 

Also corrects typos in macro names and an error message.

* aaudio: apply typo corrections of 8d8e0f7 to audio.h
2026-02-26 01:47:32 -06:00
..
2022-08-29 22:36:52 +10:00
2019-07-31 14:11:38 +02:00
2019-07-29 21:36:59 +02:00
2019-08-30 14:43:48 +02:00
2019-08-30 14:43:48 +02:00