46 Commits

Author SHA1 Message Date
Autechre
e7f182811a
Split up audio code into new file audio/audio_driver.c (#13097)
* Split up audio code into new file audio/audio_driver.c

* Fix build issues #1

* Small cleanup

* Fix typo
2021-10-11 18:01:37 +02:00
twinaphex
783bcb7a61 Avoid printf/puts 2020-09-28 03:17:21 +02:00
twinaphex
e030986837 Replace fprintfs with RARCH_LOG/RARCH_ERR 2020-05-24 19:29:55 +02:00
twinaphex
bcbad532e6 Rewrite fprintf into RARCH_ERR 2020-05-24 19:22:17 +02:00
twinaphex
1d6f547e7f (Audio) Cleanups 2020-01-04 10:39:33 +01:00
twinaphex
288523765a Fix LTGM errors - 'wrong type of arguments to formatting function' 2019-07-14 13:22:59 +02:00
twinaphex
127bf556c7 Merge audio_driver.c into retroarch.c 2019-06-17 12:49:21 +02:00
twinaphex
17a0bd0f22 (Tinyalsa) Rename these typedefs 2019-05-20 18:58:15 +02:00
orbea
ecd7f3c1fd Attempt to fix LGTM alerts for tinyalsa. 2019-04-27 07:40:32 -07:00
orbea
bfc366decc Squeeze extra blank lines with cat(1).
Example:

find . -type f -iname '*.c' | while read -r i; do
  cat -s "$i" > "$i.new"
  mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
Alcaro
7fd4d5013d C89 2017-12-31 23:46:11 +01:00
gblues
6904101c44 Clean up trailing whitespace
== DETAILS

Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
Charlton Head
a60049de90 (TinyALSA) Use O_NONBLOCK in pcm_params_get. 2017-07-29 12:44:55 -05:00
Daniel Jimenez
ad542822ed Test upper & lower sample-rate bounds in tinyalsa 2017-07-26 21:02:09 -07:00
Daniel Jimenez
1b4d622bb4 Increase sample rate limit in tinyalsa 2017-07-26 20:20:17 -07:00
Charlton Head
933627353b (tinyalsa) Fix pcm_can_pause. 2017-07-02 13:09:34 -05:00
Charlton Head
645bae4931 (tinyalsa) Add pcm_pause. 2017-06-30 22:28:33 -05:00
twinaphex
fd11190e9d Fix CXX_BUILD 2017-06-28 18:04:07 +02:00
Charlton Head
768dbb5210 (tinyalsa) Calculate initial latency. 2017-06-28 10:41:47 -05:00
Charlton Head
5ba36ad3a1 (tinyalsa) Big endian support. 2017-06-28 00:17:23 -05:00
Charlton Head
175aaadb0d (tinyalsa) Add error handling for sample rate. 2017-06-27 23:14:55 -05:00
twinaphex
ba71dda1b2 Stub out this message 2017-06-27 18:19:26 +02:00
Charlton Head
7cda786906 (tinyalsa) open with O_NONBLOCK 2017-06-27 10:39:02 -05:00
twinaphex
bfe8a8d48a (tinyalsa) Remove oops function 2017-06-27 05:07:58 +02:00
twinaphex
2127f5202b (tinyalsa) Fix memory leak 2017-06-27 05:01:55 +02:00
Charlton Head
8b972a8d82 (tinyalsa) Variable latency support. 2017-06-26 19:08:22 -05:00
Charlton Head
0ece49df50 (tinyalsa) Allow changing device. 2017-06-25 13:37:27 -05:00
twinaphex
e1392b0fd4 (tinyalsa) Get rid of this variable 2017-06-25 07:08:09 +02:00
Charlton Head
15ca6c9507 remove extra error handling in tinyalsa_write for now 2017-06-24 23:42:36 -05:00
twinaphex
56f0bc2dcc Cleanups to pcm_wait and pcm_sync_ptr 2017-06-25 04:54:28 +02:00
twinaphex
fc8392d1e7 (tinyalsa) Tiny cleanups 2017-06-25 04:28:19 +02:00
twinaphex
9a382ce6f4 (tinyalsa) Rewrite pcm_wait slightly 2017-06-25 04:24:06 +02:00
twinaphex
8487966c0b (tinyalsa) Slightly rearrange pcm_writei 2017-06-25 04:18:05 +02:00
twinaphex
97063701f8 (tinyalsa) Buildfix 2017-06-25 04:11:11 +02:00
twinaphex
b74b0ceed5 CXX_BUILD fixes 2017-06-25 04:08:38 +02:00
twinaphex
5d1cfc47cc C89_BUILD fixes 2017-06-25 04:05:34 +02:00
twinaphex
aaa590c817 (tinyalsa) No longer a header dependency on sound/asound.h
(tinyalsa) Try to bake it in for android
2017-06-25 02:06:37 +02:00
twinaphex
737adeabe7 Style nit 2017-06-24 22:58:06 +02:00
twinaphex
69061352a7 Comment functions out for now which remain unused 2017-06-24 21:57:45 +02:00
twinaphex
38e5d062e8 Merge tinyalsa pcm into audio/drivers/tinyalsa.c - now single-file 2017-06-24 21:48:43 +02:00
twinaphex
0aa4edafcf Style nits 2017-06-24 21:28:21 +02:00
twinaphex
57c20bdee7 Try making driver a bit more full-featured 2017-06-24 21:23:49 +02:00
twinaphex
b7666b56d1 (tinyalsa) Add early return 2017-06-24 21:08:48 +02:00
Charlton Head
64cd82ceb2 TinyALSA change pcm_config 2017-06-24 12:42:53 -05:00
twinaphex
aec2dcb62a (tinyalsa) silence warnings 2017-06-24 16:05:57 +02:00
Charlton Head
4ad5f67663 TinyALSA support 2017-06-23 20:44:00 -05:00