Commit Graph

55 Commits

Author SHA1 Message Date
libretroadmin
04f510d503 Cleanup header includes 2022-12-05 15:10:19 +01:00
LibretroAdmin
fc861c167c - Get rid of some strerror usage
- Get rid of errno.h include in task_audio_mixer.c
- Rename get_token so it has less chance to conflict with other symbols
2022-08-23 19:58:20 +02:00
libretroadmin
69a2d124c0 Don't do NULL termination on string if we pass it off to strlcpy
and/or a file_path function that uses strlcpy under the hood
2022-07-24 05:39:51 +02:00
libretroadmin
f7194e167f use path_basename_nocompression where it is safe to do so 2022-07-12 19:14:12 +02:00
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
e399a2f78e reorder structs, alignment 2020-08-15 00:35:15 +02:00
twinaphex
2c62a10d6c - Fix codepaths for compiling without HAVE_RWAV
- Add back HAVE_BSV_MOVIE
2020-06-30 18:08:49 +02:00
twinaphex
b34b29a22f Replace calloc with malloc 2020-06-29 05:18:54 +02:00
twinaphex
421bcb07d3 (task_audio_mixer.c) Optimize further 2020-05-22 22:00:25 +02:00
twinaphex
9f4b3b0fc6 Start using string_ends_with 2020-05-22 20:07:21 +02:00
twinaphex
ab515daa0c Try to get rid of file_path_str 2019-09-18 18:12:57 +02:00
twinaphex
40ad1319c4 Buildfix 2019-08-22 23:31:33 +02:00
twinaphex
127bf556c7 Merge audio_driver.c into retroarch.c 2019-06-17 12:49:21 +02:00
twinaphex
386657a366 (menu widgets backport) Re-commit task queue changes 2019-02-08 08:00:32 +01:00
twinaphex
7022786f34 Revert parts of menu_widgets that were causing breakage, but leave
all the hooks in so we can add them back piece by piece again
2019-02-08 07:26:43 +01:00
natinusala
c20ab3864d First version of menu widgets (gl only) 2019-02-06 20:48:24 +01:00
Brad Parker
90db5e7e27 Implement in-menu sound effects 2019-01-27 11:22:16 -05:00
twinaphex
0083e10926 Some header include changes - create task_file_transfer.h 2019-01-20 02:17:43 +01:00
Brad Parker
afcaccbd05 task_audio_mixer: free nbio_buf path memory 2019-01-18 19:06:59 -05:00
twinaphex
fc57b41ab6 (Audio mixer) You can now specifically set a slot to load a sound in
- set type to AUDIO_MIXER_SLOT_SELECTION_MANUAL and set idx to the
slot you want to load in (begins at 0)
2019-01-18 00:24:31 +01:00
twinaphex
65d5de6674 Add 4 additional mixer slots for system sound effects and music
for menu
2019-01-17 03:03:46 +01: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
twinaphex
5e32f7ab40 Add To Mixer and Add To Mixer And Play actions 2018-05-02 20:39:55 +02:00
twinaphex
9fbfd503af Add value descriptions for audio mixer streams 2018-05-02 20:13:13 +02:00
twinaphex
eff75a3bcd Move nbio_buf_t to task_audio_mixer.c 2018-05-02 19:30:06 +02:00
twinaphex
5aeab54ab7 (Audio mixer) Ability to individually set volume per stream 2018-04-30 17:51:01 +02:00
twinaphex
965859ddcb Start adding mixer controls - ability to stop and remove loaded tracks 2018-04-30 14:34:25 +02:00
twinaphex
e7272ddefa (Audio mixer) Add MP3 support as well 2018-04-28 14:18:04 +02:00
twinaphex
3f7c318e3f (Audio mixer) Add FLAC support to audio mixer 2018-04-28 11:17:37 +02:00
Twinaphex
08a54e45f2 Get rid of a lot of implicit conversions 2018-04-09 15:56:45 +02: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
twinaphex
45ce8bf773 Cleanups 2017-09-30 20:45:06 +02:00
twinaphex
127d98fb68 Rewrite path from nbio struct 2017-09-29 22:16:17 +02:00
Romain Tisserand
cbe2d9a941 Preliminary MOD/S3M/XM support through ibmx library (part of micromod repository) 2017-08-04 15:05:29 +02:00
twinaphex
c53bb90b75 Get rid of error_msg label 2017-05-18 08:04:24 +02:00
twinaphex
82d37d2036 Don't loop audio files by default 2017-05-18 07:27:41 +02:00
twinaphex
5343648dc9 Start creating state machien for audio mixer streams 2017-05-18 06:16:16 +02:00
twinaphex
312a2b5c80 Cleanups/try to prevent memory leaks with task_audio_mixer.c 2017-05-18 05:12:41 +02:00
twinaphex
9a90477c6d Reimplement task_audio_mixer.c 2017-05-18 01:19:47 +02:00
twinaphex
80512800e1 (task_audio_mixer.c) Further work on task_audio_mixer.c 2017-05-17 14:13:02 +02:00
twinaphex
21341c5b3a Rework task_audio_mixer.c to use NBIO 2017-05-17 14:04:33 +02:00
twinaphex
2f9eb86a59 Cleanup 2017-05-16 00:02:26 +02:00
twinaphex
c21abd28f8 Implement audio_mixer_stopped differently 2017-05-15 23:15:22 +02:00
twinaphex
b8cea125e4 Create stub function for looping sounds 2017-05-15 23:03:54 +02:00
twinaphex
69f9bc840d Remove unused variable 2017-05-15 19:16:40 +02:00
twinaphex
5fc5cb4962 Cleanups 2017-05-15 11:25:45 +02:00
twinaphex
67610b8263 Update task_audio_mixer.c 2017-05-15 11:07:12 +02:00
twinaphex
375b588847 Cleanups 2017-05-15 09:29:44 +02:00
twinaphex
c898ef1d6d Attempt to copy over audio mixer data 2017-05-15 01:28:46 +02:00
twinaphex
949a5c76fe Cleanup 2017-05-14 23:58:48 +02:00