- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am using DSoundAudioRender to play uncompressed PCM audio supplied in blocks of one PAL frame (40ms). Audio data is passed to the renderer via SendFrame() method.
If I do not supply a successive frame, the lastest sample is being repeatedly rerenderered.
What is the better way to tell the renderer to play each sample one time only?
Thanks
Serge
I am using DSoundAudioRender to play uncompressed PCM audio supplied in blocks of one PAL frame (40ms). Audio data is passed to the renderer via SendFrame() method.
If I do not supply a successive frame, the lastest sample is being repeatedly rerenderered.
What is the better way to tell the renderer to play each sample one time only?
Thanks
Serge
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
It's impossible because DS buffer is a cyclic buffer. It constantly plays until you call Stop.
Regards,
Vladimir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you, Vladimir!
Searching through this forum I found a similar issue dated back to 2006. At the time, it was suggested to use WinMMAudioRender which is absent in the current version of IPP.
Is it still possible to avoid the looping by utilizing another audio renderer included in the library?
Serge
Searching through this forum I found a similar issue dated back to 2006. At the time, it was suggested to use WinMMAudioRender which is absent in the current version of IPP.
Is it still possible to avoid the looping by utilizing another audio renderer included in the library?
Serge
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Serge, you may get missed renderers from previous version of IPP sample. Although some massaging might be needed for the code to adopt to the latest version.
Regards,
Vladimir
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page