15,893,381 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by kinani (Top 38 by date)
kinani
16-Aug-11 6:03am
View
Thanks TRK3 , i have resolved the problem
kinani
12-Aug-11 6:15am
View
Hello how can select output device with directshow thanks
kinani
6-Jul-11 16:19pm
View
Hello TRK3
all devices are equivalent i have tried a function from directsound ( soundenumerator) that allows to enumerate the 5 devices that i have but i dont know how select a devives from this list to a sound . i use directshow to play sounds ( mp3 and wav ) with filters and winmm.lib ( wavformatex )to generate and play self generated sound .
kinani
5-Jul-11 10:09am
View
Mr TRK3 you'r right i tried this
play(mp3,device3);
play(wav,device1);
play(selfGenerated,device2);
and "they play pretty much at the same time"! Thanks
kinani
27-Jun-11 16:56pm
View
thanks
no i didn't tried it yet but i fear that it will play mp3 ->play(mp3,device3) and after this ->play(wav,device1)and son on ( i haven't finished programming these function to try it )
kinani
27-Jun-11 5:02am
View
no i dont need precise sinchronization you said that i dont need separate threads wha'ts is so the alternative solution?
kinani
24-Jun-11 11:20am
View
im using Maudio delta 44 interface but the problem maybe is that sounds are independant means don t share any buffer so for playing them i will have (with c++)
(play(mp3,device3)
play(wav,device1)
play(selfGenerated,device2)
for exemple and so the sounds will not be played simultaneously what mean pre-mixing them i dont understand what's this mean as SAKryulov said thanks
kinani
24-Jun-11 10:47am
View
thanks what you mean by mixing audio is this allows to play different sounds simultaneously in different devices ? i have found a program here http://www.codeproject.com/KB/audio-video/admixer.aspx is it helpful here ? thanks
kinani
24-Jun-11 8:34am
View
Deleted
thanks what do you mean by the audio driver and interface ? y mean only that i have to use mixing audio and dont need to use threads ? the problem maybe is that sounds are independant means don t share any buffer so for playing them i will have play(mp3,device3) play(wav,device1) play(selfGenerated,device2) for exemple and so the sounds will not be played simultaneously what mean pre-mixing them i dont understand what's this mean as SAKryulov said thanks
kinani
24-Jun-11 6:03am
View
Deleted
thanks what do you mean by the audio driver and interface ? y mean only that i have to use mixing audio and dont need to use threads ? the problem maybe is that sounds are independant means don t share any buffer so for playing them i will have
play(mp3,device3)
play(wav,device1)
play(selfGenerated,device2)
for exemple and so the sounds will not be played simultaneously what mean pre-mixing them i dont understand what's this mean as SAKryulov said
thanks
kinani
22-Jun-11 6:37am
View
Asyn call is this a thread and is it easy to use? thanks
kinani
22-Jun-11 6:36am
View
yes im using GUI and i have 3 classes generating three kind of sound ( three classes are independant )a call them and i have to use the play function of each one the problem is that the three play functions must be at the same time
thanks
kinani
21-Jun-11 9:28am
View
hello thanks fo the interesting solution another problem is that the play fuction is not the same for the 3 sound types ( different parameters) what's the solution to this problem ? thanks again
kinani
21-Jun-11 9:22am
View
Deleted
hello thanks for the very interesting answer . i would also to know which type of sound is shoosen how can i do this ?
kinani
15-Jun-11 8:50am
View
Thank you very much
kinani
15-Jun-11 8:28am
View
there is 3 types of sound selfgenerated , WAVsound and MP3sound
kinani
15-Jun-11 8:24am
View
thank you for help last question how can I choose the sound type to be played ? because in the beginning the user must choose sound types to be played
kinani
15-Jun-11 8:08am
View
thanks for request and for reporting the error ( indeed 3 selfgenerated 1 WAvsound and 1 MP3sound )but i dont know how can i have 5 group boxes in the same window with MFC and choose the sound type to be introduced?
kinani
7-Jun-11 6:21am
View
hello
because for example in order to enumerate sound card and and volum control and play each sound in a specific sound card i will use directsound so maybe i will have problems using directshow for playing files and directsound for enumerating devices volum control
kinani
7-Jun-11 4:56am
View
thanks but the problem is that all files ( mp3 and wav ) must be played at the same time and will share some classes ( enumerate sound cards and play each one in a specific device and volume control ) so if i use directsound for WAV and directshow for mp3 is it not possible in these conditions ? thanks
kinani
1-Jun-11 3:32am
View
hello means that i have many sound cards and each sound must be played in a specefic sound card
kinani
1-Jun-11 3:32am
View
Deleted
hello means that i have many sound cards and i want to play each sound must be played in a specefic sound card
kinani
31-May-11 6:31am
View
hello excuse me it's the same i want only to update it because none had given a help i must delete the last one !
kinani
27-May-11 11:05am
View
i use the solution updated and the error is that DirectSoundEnumerate is not referenced
is this mean that dsound.h is not introduced ?
kinani
27-May-11 11:01am
View
i don't know what's unicode!!! but im tryng to enumerate devices and after to introduce it in a an audio project and this will be a small part in this audio project
kinani
27-May-11 10:55am
View
yes i can open it i have added mmsystem.h before dsound.h if not i had many errors in dsound.h .
kinani
27-May-11 10:54am
View
Deleted
yes i can open it i have added mmsystem.h before dsound.h if not i had many errors in dsound.h .
kinani
27-May-11 10:40am
View
Deleted
i have only introduced in the top of page #pragma comment(lib, "directSound") and
#include <mmsystem.h>
#include <dsound.h> but the problem is the same
kinani
27-May-11 10:32am
View
the version is DirectX 9.0 SDK (April 2005) and i don't know if i have x86 or x64 !
do you have any idea ?thanks
kinani
27-May-11 10:07am
View
thanks i tried this but i have 2 errors
DS_OK not declared and DirectSoundEnumerateA not found
any idea again ?
kinani
27-May-11 7:40am
View
thanks the first y proposed is the true it work now thank you very much
kinani
27-May-11 5:15am
View
thanks i have deleted #define new DEBUG_NEW and added #include <afx.h> but th error is fatal error C1189: #error : Building MFC application with /MD[d] (CRT dll version) requires MFC shared dll version. Please #define _AFXDLL or do not use /MD[d].
and if i don't add #include <afx.h> the error is impossible to open Dshow.lib
any idea again plz
kinani
27-May-11 4:57am
View
thanks but #include "stdafx.h" is at the top of the source file
kinani
20-May-11 7:39am
View
hello i want to control volume with parameters a and b the volume must obey tne equation at+b of the generated sound over time ? any help
kinani
20-May-11 7:39am
View
Deleted
hello i want to control volume with parameters a and b the volume must obey tne equation at+b of the generated sound over time ? any help
kinani
12-May-11 11:47am
View
thanks
i have another question how can i generate a sound and control its volume and frequency and does direcsound do this?
kinani
12-May-11 6:16am
View
thank you but in the link they want to play one sound in different sound card but I want to play simultaneously several sounds at the same time I saw that there is Directsound tool but is it able to play sounds at the same time ?
kinani
12-May-11 5:15am
View
yes sound cards ! im sorry hh
Show More