> For me it is always the buffer size in bytes, please see the extended demo: > https://gitlab.com/mseide-msegui/mseuniverse/tree/master/samples/audio/pcaudio
Hum, indeed, i have to re-check my code, something strange appended... On my (maybe corrupted) Linux Mint 17 64 bit system, mse-pcaudio-demo crash after enabled/disabled "Sound on" more than 2 times with error message: "SIGSEV Segmentation fault function ?? Stacks: #0 00000035 :0 ??() #1 F407A080 :0 ??() #2 F407E40E :0 ??() #3 F40BBA25 :0 ??() #4 F431EB02 alsa.c:201 alsa_object_write(object=0xb4c0a0, data=0x7ffff3fed060, bytes=<optimized out>) #5 00460FBC main.pas:164 WAVEEXE(this=0x7ffff7f96dd0, SENDER=0x7ffff7ec31c0) #6 00525CE7 msethreadcomp.pas:135 THREADPROC(this=0x7ffff7ec31c0, SENDER=0x7ffff7ec22c0) #7 00507562 msethread.pas:333 INTERNALTHREADPROC(this=0x7ffff7ec22c0) #8 0053D73A msesysintf.pas:802 THREADEXEC(INFOPO=0x7ffff7ec22c8) #9 0042B615 :0 CTHREADS_$$_THREADMAIN$POINTER$$POINTER() #10 0053D6E0 :0 ??() #11 F7EC22C8 :0 ??() #12 00400000 :0 ??() #13 000004C8 :0 ??() #14 00000000 :0 ??() Threads: #0 3295 unknown "threaded-ml" 0x00007ffff1d44840 in ?? () from /usr/lib/x86_64-linux-gnu/alsa-lib/libasound_module_pcm_pulse.so #1 3294 unknown "pcaudio" 0x0000000000000035 in ?? () #2 3285 unknown "pcaudio" pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:143 Also, when clicking on "2channels", "1channel" is still checked and this produce bad sound. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk