🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.bbs.comp.program
Article #233

Direct Sound��ѧ������!!!

#233
From: ����Ů���Ӻúõ��
Date: Sat, 09 Oct 1999 00:00
20 lines
1019 bytes
 �ҵij����Ҫ���£�
DirectSoundCreate((NULL,&lpds,NULL);
...
lpds->SetCooperativeLevel(GetSafeHwnd(),DSSCL_PRIORITY);
...
��ʼ��wfm  WAVEFORMATEX wfm
...
��ʼ��dsbdesc   DIRECTSOUNDDESC dsbdesc
����dsbdesc.dwFlags=DSBCAPS_PRIMARYBUFFER;
...
lpds->CreateSoundBuffer(&dsbdesc,&lpdsb,NULL);
wuwu..����������ˣ���ݳ�����Ϣ����˵��DSERR_INVALIDPARAM
�����lpdsb������LPDIRECTSOUNDBUFFER

��̸�������������

 

--
�� ��Դ: �й�ƴ�BBSվ [bbs.ustc.edu.cn]
Technical Details
Message-ID: <991009.11ZvP3$PBBS@bbs.ustc.edu.cn>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB
X-Google-Thread: fc86e,17f0fe963c9fc839,start
X-Google-Attributes: gidfc86e,public
From: Po_Qi@bbs.ustc.edu.cn (����Ů���Ӻúõ��)
Subject: Direct Sound��ѧ������!!!
Date: 1999/10/09
Message-ID: <991009.11ZvP3$PBBS@bbs.ustc.edu.cn>
X-Deja-AN: 536371447
Organization: �й�ƴ�BBSվ
Newsgroups: cn.bbs.comp.program