|
I posted an alternative unmanaged method which handles this for you automatically in your previous topic
|
|
|
|
|
Hi,
I want to store a lot of sounds in a DirectSound buffer, so how can I do that? I've tried with buffer[][] but it doesn't work. There's an error message that I have to create a new instance! I've tried with:
for(int i = 1; i <= 6; i++)
{
buffer[i][0] = new Buffer("sound/" + i.ToString() + ".wav", device);
}
I think there's no problem with the path of the sound file, because i've tested it with an normal path.
Greeting shainsen
|
|
|
|
|
what is the error and post the declaration code of that 2D array. I guess you're getting Object reference not set to an instance of an object.
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
Yes that's the error. Should I first declarate all the field of the array?
Greetings shainsen
|
|
|
|
|
yes
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
|
Would it not be better to use a collection of Buffer? That way you can have as many as you need without wasting memory.
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
i have selected the topic "monitoring system usage " in c#.net as my 6 month project topic.please describe modules of the topics and explain the project.
|
|
|
|
|
For the love of all things good - NO!
There was a rather 'heated' discussion about this type of query yesterday and be warned, be very warned, this will not be tollerated!
This forum is for asking SPECIFIC questions regarding problems encountered writing C# CODE. It is not for frain-bucks like you to ask the same frogging question:
i have selected the topic "naval gazing" in c#.net as my 6 month project topic.please describe modules of the topics and explain the project.
Now foff!
Panic, Chaos, Destruction.
My work here is done.
|
|
|
|
|
safeena wrote: i have selected the topic "monitoring system usage " in c#.net as my 6 month project topic.please describe modules of the topics and explain the project.
Are you some new breed of retard? This is *YOUR* project. Do the research and write the code yourself.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
You suprised me. This is not the kind of JSOP reply I would expect given the doubt question.
|
|
|
|
|
i hve slected the topic "resaerch" n c#.net as my 6 mnth project please send mhe teh codz
|
|
|
|
|
I found this b/c I called this guy a retard based on his second ever post, and I was checking if he'd posted before. Sadly, this is both funny, and too true.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
safeena wrote: i have selected the topic "monitoring system usage " in c#.net as my 6 month project topic.please describe modules of the topics and explain the project.
No. You're a lazy, good for nothing moron, who expects life to be handed to you on a plate. Wise up buster, life doesn't work this way. At some point, you'll have to get off that lazy backside of yours and actually think for yourself - you might want to start now, it isn't too late.
I wouldn't trust you to groom my dog, so do the world a favour and drop out of your course because I don't want you polluting the programming talent pool.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys
|
|
|
|
|
Pete O'Hanlon wrote: the programming talent pool
I would call it more of a puddle in comparison to the vast amounts of idiots who take up "programming"
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
Too late Pete! It's already a festering cesspool of raw sewage.
|
|
|
|
|
where the F**K is the 'vote to remove member' button??????
Damn, this forum anger is contagious
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
It's there and it works.
Panic, Chaos, Destruction.
My work here is done.
|
|
|
|
|
safeena wrote: please describe modules of the topics and explain the project.
hahaha, gimme your faculty contact number. I'll describe as well explain everything to him/her.
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
safeena wrote: i have selected the topic "monitoring system usage " in c#.net
Good choice!!!!
safeena wrote: my 6 month project topic
wish my boss gives me that much time for such crappy assignment.
safeena wrote: please describe modules of the topics
Module 1 :
Module 2 :
Module 3 :
safeena wrote: explain the project.
I have no freaking clue!
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
Hello safeena
Please post programming questions only. Nobody has time to research for you and even if some body do it for you, you wouldn't learn anything being a student.
I hope you understand. BTW the topic of your project is so depressing.
Bye.
|
|
|
|
|
Your village called. They want their idiot back
|
|
|
|
|
Man you must have a death wish.. this is a help board not a do my good for me... If you made an attempt and then ask for feedback you may get better response. Don't just ask for someone to do it for you!
|
|
|
|
|
MUhhhahahhahhhhhaaaaa....oh, er..hahah....lolollolololo....hmuhhahhahahahahahahhaha
project?
LOllolollOLLOllllLOOLL
Des-cribe??
Muhhhaahhahahhahahahhahahha
Ok, all seriousness aside.
NOT!
HHHAHhahahhahahhahahhahahahahha
|
|
|
|
|
I've been brainstorming with this for a long time... and havent figured it out yet.
I'm just asking for a tip to point me in the right direction... because im going in circles.
The problem i have is this:
Example folder contains files .jpg and .tif. I want to check them if they follow up correctly.
So... this is an example of an OK folder:
Example Folder>
-1.jpg
-2.tif
-3.jpg
-4.tif
-5.jpg
-6.jpg
-7.tif
-8.tif
-9.jpg
-10.tif
You can see, that the files go - 1-1 or 2-2 (maybe also 3-3) in extension.
this is when an error would occcur:
Example Folder>
-1.jpg
-2.tif
-3.jpg
-4.jpg
-5.tif
-6.jpg
-7.tif
-8.jpg
the extensions dont follow up. the order of the next extension is not the same.
Any idea? Please?
Regards,
Matjaž
|
|
|
|