Click here to Skip to main content
15,914,905 members
Home / Discussions / C#
   

C#

 
GeneralRe: Date Pin
PIEBALDconsult17-Jan-08 12:21
mvePIEBALDconsult17-Jan-08 12:21 
GeneralBitBlt Problem Pin
Richard Blythe17-Jan-08 7:56
Richard Blythe17-Jan-08 7:56 
GeneralRe: BitBlt Problem Pin
Guffa17-Jan-08 8:58
Guffa17-Jan-08 8:58 
GeneralRe: BitBlt Problem Pin
Skippums17-Jan-08 10:31
Skippums17-Jan-08 10:31 
GeneralConfiguration framework Pin
hansipet17-Jan-08 7:34
hansipet17-Jan-08 7:34 
GeneralRe: Configuration framework Pin
Gareth H17-Jan-08 10:24
Gareth H17-Jan-08 10:24 
GeneralRe: Configuration framework Pin
hansipet17-Jan-08 22:50
hansipet17-Jan-08 22:50 
GeneralCan't get 24 bit audio to play with directsound Pin
kshet2617-Jan-08 7:19
kshet2617-Jan-08 7:19 
How do I go about getting 24bit audio to play using directSound? 8 and 16 bit audio plays fine, but when ever I go to play 24 bit audio, my program throws an 'Value does not fall within the expected range.' exception on:

sound = new SecondaryBuffer(dataGridResults.CurrentRow.Cells[3].Value.ToString(), d, dSound);

The creation and initialization:

private Device dSound;<br />
private SecondaryBuffer sound;<br />
private BufferDescription d = new BufferDescription();<br />
<br />
dSound = new Device();<br />
dSound.SetCooperativeLevel(this, CooperativeLevel.Priority);<br />
d.LocateInHardware = true;<br />
            <br />
d.ControlPan = true;<br />
d.ControlVolume = true;<br />
d.ControlFrequency = true;<br />
d.ControlEffects = true;<br />
d.GlobalFocus = true;<br />


How do I fix this?
GeneralRe: Can't get 24 bit audio to play with directsound Pin
martin_hughes17-Jan-08 9:15
martin_hughes17-Jan-08 9:15 
GeneralRe: Can't get 24 bit audio to play with directsound Pin
kshet2617-Jan-08 9:19
kshet2617-Jan-08 9:19 
GeneralRe: Can't get 24 bit audio to play with directsound Pin
martin_hughes17-Jan-08 9:27
martin_hughes17-Jan-08 9:27 
GeneralRe: Can't get 24 bit audio to play with directsound Pin
kshet2617-Jan-08 12:06
kshet2617-Jan-08 12:06 
GeneralRe: Can't get 24 bit audio to play with directsound Pin
Jammer31-Mar-08 10:53
Jammer31-Mar-08 10:53 
Generalvisual Studio 2005 class diagram Pin
netJP12L17-Jan-08 6:28
netJP12L17-Jan-08 6:28 
GeneralRe: visual Studio 2005 class diagram Pin
ChrisKo17-Jan-08 8:02
ChrisKo17-Jan-08 8:02 
GeneralRe: visual Studio 2005 class diagram Pin
netJP12L17-Jan-08 9:29
netJP12L17-Jan-08 9:29 
QuestionCreateDelegate with a static Dictionary<string, delegate="">, followed by DynamicInvoke</string,> Pin
Leonardo Pelisoli17-Jan-08 3:54
Leonardo Pelisoli17-Jan-08 3:54 
GeneralRe: CreateDelegate with a static Dictionary, followed by DynamicInvoke Pin
Skippums17-Jan-08 5:30
Skippums17-Jan-08 5:30 
GeneralRe: CreateDelegate with a static Dictionary, followed by DynamicInvoke Pin
Leonardo Pelisoli19-Jan-08 12:37
Leonardo Pelisoli19-Jan-08 12:37 
GeneralRe: CreateDelegate with a static Dictionary, followed by DynamicInvoke Pin
Skippums21-Jan-08 4:44
Skippums21-Jan-08 4:44 
GeneralRe: CreateDelegate with a static Dictionary, followed by DynamicInvoke Pin
Leonardo Pelisoli27-Jan-08 7:15
Leonardo Pelisoli27-Jan-08 7:15 
GeneralComboBox Scrollwheel disable Pin
R.Myers17-Jan-08 3:41
R.Myers17-Jan-08 3:41 
GeneralRe: ComboBox Scrollwheel disable Pin
DaveyM6917-Jan-08 4:27
professionalDaveyM6917-Jan-08 4:27 
GeneralRe: ComboBox Scrollwheel disable Pin
DaveyM6917-Jan-08 5:00
professionalDaveyM6917-Jan-08 5:00 
GeneralRe: ComboBox Scrollwheel disable Pin
R.Myers17-Jan-08 9:09
R.Myers17-Jan-08 9:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.