Files
raylib/src
Jeffery Myers b573ff3e7a [AUDIO] Use device native sample rates (#1660)
* Init MinAudio to a sample rate of 0 to let the device pick the rate.
Read the rate from the device after it starts up.
Convert AUDIO_DEVICE_SAMPLE_RATE from a #def into an int, that is set from the device's rate
Set all sample systems to use the AUDIO_DEVICE_SAMPLE_RATE as the target rate to minimize resampling.

* use device sample rate instead of separate var
let config define a device sample rate if it wants to, but let the default be 0 for native rate.

* Don't use fixed sample rates for tracker files.
Remove config default audio buffer size and replace with a function that computes one for a reasonable frame rate at the output sample rate.
2021-03-21 22:07:55 +01:00
..
2021-03-21 18:32:05 +01:00
2021-01-26 14:34:27 +01:00
2020-04-21 21:17:58 +02:00
2021-03-19 19:43:44 +01:00
2021-03-21 20:31:35 +01:00
2021-02-22 19:45:52 +01:00
2018-09-26 16:02:42 +02:00
2020-12-23 13:48:43 +01:00
2020-12-23 13:48:43 +01:00
2021-03-19 19:43:44 +01:00
2021-01-02 18:15:13 +01:00
2021-03-21 20:31:35 +01:00
2020-12-23 15:03:26 +01:00
2020-03-30 21:34:45 +02:00
2021-03-19 19:43:44 +01:00
2021-03-08 18:48:27 +01:00
2021-01-02 18:15:13 +01:00
2020-04-30 19:48:39 +02:00