From d6dfd7597f5d1339430400112db61b6e432dcd25 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Fri, 3 Oct 2014 10:34:48 +0200 Subject: New aiorecord/aioplay stub programs. --- src/aiorecord.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/aiorecord.cc b/src/aiorecord.cc index 6132496..cfcc392 100644 --- a/src/aiorecord.cc +++ b/src/aiorecord.cc @@ -64,6 +64,7 @@ int main(int argc, char *argv[]) std::string file = "/dev/stdout"; int samplerate = 48000; int channels = 2; + bool list = false; int c; int option_index = 0; @@ -122,9 +123,13 @@ int main(int argc, char *argv[]) } } + if(list) { + // TODO + } + Device dev(device); - Source *src = dev.getSource(device); + Source *src = dev.getSource(device, samplerate, channels); if(!src) { printf("Could not find source device: %s\n", device.c_str()); } -- cgit v1.2.3