mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 23:47:06 +00:00
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 <[email protected]> Signed-off-by: Pavel Hofman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
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
|