c565ad07ef
Implement support for multiple sampling rates in u_audio part of the audio gadget. The currently configured rates are exposed through read-only amixer controls 'Capture Rate' and 'Playback Rate'. Signed-off-by: Julian Scheel <julian@jusst.de> Signed-off-by: Pavel Hofman <pavel.hofman@ivitera.com> Link: https://lore.kernel.org/r/20220121155308.48794-3-pavel.hofman@ivitera.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 lines
178 B
C
10 lines
178 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
*/
|
|
|
|
#ifndef UAC_COMMON_H
|
|
#define UAC_COMMON_H
|
|
|
|
#define UAC_MAX_RATES 10 /* maximum number of rates configurable by f_uac1/2 */
|
|
#endif
|