diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/aiorecord.cc | 7 |
1 files changed, 6 insertions, 1 deletions
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()); } |