diff options
author | gramanas <anastasis.gramm2@gmail.com> | 2023-04-18 23:01:22 +0300 |
---|---|---|
committer | gramanas <anastasis.gramm2@gmail.com> | 2023-04-18 23:01:22 +0300 |
commit | 560356027650af8cd3dcc21888cdc3a76382ea5d (patch) | |
tree | 03e6397f678e3ce62f8d60809e935cb59fd78d5f /src/synth.c | |
parent | 9c6410cc3a43d9d1e01f853cb5a8d0f8a6d93b45 (diff) | |
download | synth-project-560356027650af8cd3dcc21888cdc3a76382ea5d.tar.gz synth-project-560356027650af8cd3dcc21888cdc3a76382ea5d.tar.bz2 synth-project-560356027650af8cd3dcc21888cdc3a76382ea5d.zip |
Fix adsr at 0 A and add active switch
Diffstat (limited to 'src/synth.c')
-rw-r--r-- | src/synth.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |