mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05:00
treewide: try to use const char * for string literals
This commit is contained in:
parent
fc72208fa0
commit
436787d6ba
9 changed files with 20 additions and 17 deletions
|
|
@ -906,9 +906,9 @@ static void run_async_sink(struct data *data)
|
|||
printf("got error %d\n", res);
|
||||
}
|
||||
|
||||
static char *getscale(uint32_t scale)
|
||||
static const char *getscale(uint32_t scale)
|
||||
{
|
||||
char *scale_s = NULL;
|
||||
const char *scale_s = NULL;
|
||||
|
||||
if (scale == SPA_AUDIO_VOLUME_RAMP_LINEAR)
|
||||
scale_s = LINEAR;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue