summaryrefslogtreecommitdiff
path: root/platform/bb10/audio_driver_bb10.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/bb10/audio_driver_bb10.cpp')
-rw-r--r--platform/bb10/audio_driver_bb10.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/platform/bb10/audio_driver_bb10.cpp b/platform/bb10/audio_driver_bb10.cpp
index 2f1d5a49b3..f12625d3b8 100644
--- a/platform/bb10/audio_driver_bb10.cpp
+++ b/platform/bb10/audio_driver_bb10.cpp
@@ -53,7 +53,6 @@ Error AudioDriverBB10::init(const char* p_name) {
dev_name = (char *) p_name;
}
printf("******** reconnecting to device %s\n", dev_name);
- int card, dev;
int ret = snd_pcm_open_name(&pcm_handle, dev_name, SND_PCM_OPEN_PLAYBACK);
ERR_FAIL_COND_V(ret < 0, FAILED);
pcm_open = true;