From 560356027650af8cd3dcc21888cdc3a76382ea5d Mon Sep 17 00:00:00 2001 From: gramanas Date: Tue, 18 Apr 2023 23:01:22 +0300 Subject: Fix adsr at 0 A and add active switch --- src/synth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/synth.c') diff --git a/src/synth.c b/src/synth.c index 5a08e4f..5ce932f 100644 --- a/src/synth.c +++ b/src/synth.c @@ -61,8 +61,8 @@ main(void) { for( i=0; i< Pa_GetDeviceCount(); i++ ) { deviceInfo = Pa_GetDeviceInfo( i ); //if (!strcmp("HyperX Cloud II Wireless: USB Audio (hw:0,0)", deviceInfo->name)) break; - if (!strcmp("HDA Intel PCH: ALC1220 Analog (hw:1,0)", deviceInfo->name)) break; printf("dev: %s || %f\n", deviceInfo->name, deviceInfo->defaultSampleRate); + if (!strcmp("HDA Intel PCH: ALC1220 Analog (hw:0,0)", deviceInfo->name)) break; } -- cgit v1.2.3