directsound
-
I am using directsound to do sound recording - everything works fine. "I have loop and event signals my to read (save buffer) ..regular way how to do capture (taken from the sample) But: It runs all day long, day after day (continous) but sometime happen, "there is no data" (it happened ones after month of working and so it is hard to set it up for debug) Probably: 1) there is event but buffer size is zero 2) or there is no event at all When this happen, it never restore i have to restart program (probaly close and open device again will be enough) Any idea how this could happen? Thank you lot
viliam
-
I am using directsound to do sound recording - everything works fine. "I have loop and event signals my to read (save buffer) ..regular way how to do capture (taken from the sample) But: It runs all day long, day after day (continous) but sometime happen, "there is no data" (it happened ones after month of working and so it is hard to set it up for debug) Probably: 1) there is event but buffer size is zero 2) or there is no event at all When this happen, it never restore i have to restart program (probaly close and open device again will be enough) Any idea how this could happen? Thank you lot
viliam
viliam wrote:
(it happened ones after month of working and so it is hard to set it up for debug)
Your application is stunningly stable, even more stable than its OS. :rolleyes: Are you crying for the moon, aren't you? :-D
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles] -
I am using directsound to do sound recording - everything works fine. "I have loop and event signals my to read (save buffer) ..regular way how to do capture (taken from the sample) But: It runs all day long, day after day (continous) but sometime happen, "there is no data" (it happened ones after month of working and so it is hard to set it up for debug) Probably: 1) there is event but buffer size is zero 2) or there is no event at all When this happen, it never restore i have to restart program (probaly close and open device again will be enough) Any idea how this could happen? Thank you lot
viliam
-
It happened ones and it was not on my computer. "I know just symtoms" Actualy program did not crash, it pretend recording but there was no data comming and so empty file was created. When people looked into directory, and there were just empty files they realize something is wrong with my program. They just stopped it and start again and it works again correctly.
viliam
-
I am using directsound to do sound recording - everything works fine. "I have loop and event signals my to read (save buffer) ..regular way how to do capture (taken from the sample) But: It runs all day long, day after day (continous) but sometime happen, "there is no data" (it happened ones after month of working and so it is hard to set it up for debug) Probably: 1) there is event but buffer size is zero 2) or there is no event at all When this happen, it never restore i have to restart program (probaly close and open device again will be enough) Any idea how this could happen? Thank you lot
viliam
Can you use of MCI_RECORD?