summaryrefslogtreecommitdiffstats
path: root/audio/headset.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/headset.c')
-rw-r--r--audio/headset.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/audio/headset.c b/audio/headset.c
index 8a578aaf..ceda2ae3 100644
--- a/audio/headset.c
+++ b/audio/headset.c
@@ -2484,6 +2484,13 @@ int headset_get_sco_fd(struct audio_device *dev)
return g_io_channel_unix_get_fd(hs->sco);
}
+gboolean headset_get_nrec(struct audio_device *dev)
+{
+ struct headset *hs = dev->headset;
+
+ return hs->nrec;
+}
+
int telephony_event_ind(int index)
{
if (!active_devices)