Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » Anyone have a simple wav recorder/player that works?
Re: Anyone have a simple wav recorder/player that works? [message #33706 is a reply to message #33704] |
Tue, 06 September 2011 21:40 |
|
I upgraded the package to current upstream version of portaudio, just in case it would make some difference. But it seems it doesn't - I found out that I can experience the same bug when compiling and running the application in wine.
After some googling I found some hints about broken event-based recording in Vista. It is quite an old informations, but it might be related. If that it is the case, then possible workaround would be to use blocking interface. Unfortunately, I didn't have time to try it out yet, but if you want you can try yourself It should be actually quite simple: Just use the SoundStream class from Sound package. You'd need to call OpenDefault() followed by Start() and then in some loop read the count of available bytes ReadAvailable() to figure out how much bytes can be safely retrieved by a call to Read(). You don't have to worry about the saving etc. for now, just check if the buffers have some non-zero values...
Honza
|
|
|
|
|
Anyone have a simple wav recorder/player that works?
By: silverx on Sat, 03 September 2011 20:53
|
|
|
Re: Anyone have a simple wav recorder/player that works?
By: dolik.rce on Sun, 04 September 2011 11:00
|
|
|
Re: Anyone have a simple wav recorder/player that works?
By: silverx on Sun, 04 September 2011 15:17
|
|
|
Re: Anyone have a simple wav recorder/player that works?
By: dolik.rce on Sun, 04 September 2011 18:34
|
|
|
Re: Anyone have a simple wav recorder/player that works?
By: silverx on Sun, 04 September 2011 20:22
|
|
|
Re: Anyone have a simple wav recorder/player that works?
By: silverx on Sun, 04 September 2011 20:23
|
|
|
Re: Anyone have a simple wav recorder/player that works?
By: dolik.rce on Mon, 05 September 2011 18:28
|
|
|
Re: Anyone have a simple wav recorder/player that works?
By: dolik.rce on Mon, 05 September 2011 20:34
|
|
|
Re: Anyone have a simple wav recorder/player that works?
By: silverx on Tue, 06 September 2011 10:42
|
|
|
Re: Anyone have a simple wav recorder/player that works?
By: dolik.rce on Tue, 06 September 2011 15:28
|
|
|
Re: Anyone have a simple wav recorder/player that works?
By: dolik.rce on Tue, 06 September 2011 21:40
|
|
|
Re: Anyone have a simple wav recorder/player that works?
By: silverx on Wed, 07 September 2011 14:49
|
|
|
Re: Anyone have a simple wav recorder/player that works?
By: dolik.rce on Tue, 13 September 2011 13:04
|
|
|
Re: Anyone have a simple wav recorder/player that works?
By: silverx on Fri, 16 September 2011 09:15
|
Goto Forum:
Current Time: Thu Jun 06 05:10:45 CEST 2024
Total time taken to generate the page: 0.01315 seconds
|