mirror of
https://github.com/DrHo1y/orangepi-build.git
synced 2026-10-15 03:56:38 +07:00
Support RK3588S Orange Pi 5
This commit is contained in:
4
external/cache/sources/tinyalsa/Makefile
vendored
4
external/cache/sources/tinyalsa/Makefile
vendored
@@ -4,8 +4,8 @@ OBJECTS = mixer.o pcm.o
|
||||
LIB = libtinyalsa.so
|
||||
CC=gcc
|
||||
|
||||
all: $(LIB) tinyplay tinycap tinymix
|
||||
cp tinyplay tinycap tinymix /usr/local/bin
|
||||
all: $(LIB) tinyplay tinycap tinymix tinypcminfo
|
||||
cp tinyplay tinycap tinymix tinypcminfo /usr/local/bin
|
||||
cp libtinyalsa.so /usr/lib/
|
||||
|
||||
tinyplay: $(LIB) tinyplay.o
|
||||
|
||||
@@ -92,7 +92,7 @@ static const char *format_lookup[] = {
|
||||
/* Returns a human readable name for the format associated with bit_index,
|
||||
* NULL if bit_index is not known.
|
||||
*/
|
||||
inline const char *pcm_get_format_name(unsigned bit_index)
|
||||
char *pcm_get_format_name(unsigned bit_index)
|
||||
{
|
||||
return bit_index < ARRAY_SIZE(format_lookup) ? format_lookup[bit_index] : NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user