diff options
Diffstat (limited to 'firmware/pcm.c')
-rw-r--r-- | firmware/pcm.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/pcm.c b/firmware/pcm.c index e095ab2cea..60ccdbd2fc 100644 --- a/firmware/pcm.c +++ b/firmware/pcm.c | |||
@@ -415,6 +415,12 @@ void pcm_set_frequency(unsigned int samplerate) | |||
415 | pcm_fsel = index; | 415 | pcm_fsel = index; |
416 | } | 416 | } |
417 | 417 | ||
418 | /* return last-set frequency */ | ||
419 | unsigned int pcm_get_frequency(void) | ||
420 | { | ||
421 | return pcm_sampr; | ||
422 | } | ||
423 | |||
418 | /* apply pcm settings to the hardware */ | 424 | /* apply pcm settings to the hardware */ |
419 | void pcm_apply_settings(void) | 425 | void pcm_apply_settings(void) |
420 | { | 426 | { |