XNA Creators Club Online
community forums

Search Forums

Page 1 of 1 (10 items)
  • Re: Loop .mp3 playback

    try with this:     IMediaEventEx *mediaevent;    IMediaSeeking *mediaseeking; g_pGraphBuilder->QueryInterface(IID_IMediaEventEx, (void **)&mediaevent); ...
    Posted to Audio/XACT (Forum) by andreibanc on 4/4/2009
  • problems with SoundBuffer->Stop();

    i've stored sound in a soundbuffer sound from a wave file, a low E note from an electric bass (size: 2.01 MB, bit rate 1411 kbps, audio sample size: 16 bit, 2 channels, sample rate of 44 khz, audio format PCM).   IDirectSoundBuffer *buffer; //code// here is how I play ...
    Posted to Audio/XACT (Forum) by andreibanc on 4/4/2009
  • Re: How To Tidy Up My Code !

    use header files, for each important group of functions used in your application, and then include these files in your source files. although you may be more advanced than me, i suggest you to apply the following rules: if (condition) {     if (condition2)     {         something else;         for (, , ...
    Posted to General (Forum) by andreibanc on 4/4/2009
  • main window procedure and a dialog box... and DirectInput. Please help! Thanks!

    Hello! I have created an Win32 application, and here's the WndProc: LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) {      switch(msg)      {           case WM_CREATE:           break;           case CLICK_SOMEWHERE:                   DialogBox(hInst, MAKEINTRESOURCE(DIALOG_1), hwnd, ...
    Posted to General (Forum) by andreibanc on 4/4/2009
  • Enable/Disable push buttons

    Could anyone tell me a way to send a message to a push button, and disable/enable it? I tried with BM_SETSTATE, but I've found that not the "state" is what I was looking for... SendDlgItemMessage(hwnd, IDC_PLAY, BM_SETSTATE, (WPARAM)FALSE, 0); // useless  Any reply is welcome. Thank you very much!  (sorry if this ...
    Posted to General (Forum) by andreibanc on 3/28/2009
  • Re: I need some help, please... (problems with Dsound)

    THANK YOU A LOT!!! It works now. That was the bug... Thank you again! :D Regards, andrei
    Posted to Audio/XACT (Forum) by andreibanc on 12/5/2008
  • I need some help, please... (problems with Dsound)

      Hello! I've got a very annoying error while playing sounds using DirectSound. My application uses some IDirectSoundBuffer-s, all filled with data from wave files. I actually don't mind if too much memory is used, therefore I copied the files into memory in their entire size.  test1.wav              :      19 ...
    Posted to Audio/XACT (Forum) by andreibanc on 12/4/2008
  • Effects in DirectSound

     I succed in loading wave data into a secondary buffer and I can play it. I've also tried to add sound effects, so I called QueryInterface method after creating the buffer, in order to obtain a IDirectSoundBuffer8 interface. IDirectSound8 *lpds;                                                         IDirectSoundBuffer ...
    Posted to Audio/XACT (Forum) by andreibanc on 12/1/2008
  • Re: Problems using DirectSound

    I finally managed to resolve that linking error (adding some extra .lib-s on Additional Dependencies), but now I get another one. When I am using  mmioOpen() function in order to import a wav file, although I've added "Winmm.lib" (and some more, as I've seen in a project called "PlaySound" from Microsoft DirectX SDK), ...
    Posted to Audio/XACT (Forum) by andreibanc on 11/27/2008
  • Problems using DirectSound

    Hi! I'm using Visual C++ 2005 Express Edition and I am trying to create an application that uses DirectSound. I found on DirectSound Documentation how to initiate it, but I still have some problems. When I initiate last member of DSBUFFERDESC (the struct that describes the characteristics of a new buffer), i get this ...
    Posted to Audio/XACT (Forum) by andreibanc on 11/26/2008
Page 1 of 1 (10 items)