Re: [AD] probleme mit dateien finden |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: alleg-developers@xxxxxxxxxx
- Subject: Re: [AD] probleme mit dateien finden
- From: Ryan Patterson <cgamesplay@xxxxxxxxxx>
- Date: Wed, 6 Apr 2005 23:04:31 -0400
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=uE16CE5XNzdlDrHssxyhi0CwtqJ5AeUWoxwPpaK3gbNkNm7uHIaA+dS/hWxdV47qfCYxubQZuAhM9iSG6wHCrNLS1Ex5+L3600ZV8Gcs1QxMwVn1hhDUnveuRAopLseURfxkopMqB0VI3qo8iWm1ZS3wvj3T24QQoT/txO4Su+k=
My German is quite poor, but it sounds like there seems to be a
problem here with exsample not finding a file in the same directory as
the program. I couldn't see anything about Christine being in the same
directory as exsample... Also something about argv[0] being used to
determine the directory that the sample is in... Anyways I suspect
this was sent to the wrong list, but, as I said, my German is quite
poor and I had help from an online translator :)
On Apr 6, 2005 6:13 PM, christine Watzl <christine_watzl@xxxxxxxxxx> wrote:
> Ich bin grad beim einsteigen und kann keine
> musicdateien laden mit den laod-sample-funktionen weil
> er mir ständig erklärt ,daß blue.gwaf net erklärt ist
> .
>
> Findet er die datei nicht?Sie liegt aber im selben
> Verzeichnis wie das ausführbare Programm.
>
> Ich hab auch überhaupt nix gemacht außer des Zeug
> reinkopiert , und ich wüßte nun gern
> ,wie ich dem klar mache , daß argv[0] die adresse von
> Blue.wav ist , die im selber verzeichnis liegt
> , wie auch das ausführbare Programm.Des regt einen ja
> auf.
>
> int main(int argc , char* argv[0])
>
> {
>
> SAMPLE *the_sample ;
>
> int pan = 128;
> int pitch = 1000;
>
> if (allegro_init() != 0)
> return 1;
>
> if (argc != 2) {
> allegro_message("Usage: 'exsample
> filename.[wav|voc]'\n");
> return 1;
> }
>
> install_keyboard();
> install_timer();
>
> /* install a digital sound driver */
> if (install_sound(DIGI_AUTODET
>
> ___________________________________________________________
> Gesendet von Yahoo! Mail - Jetzt mit 250MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> --
> https://lists.sourceforge.net/lists/listinfo/alleg-developers
>
--
Regards,
Ryan Patterson <mailto:cgamesplay@xxxxxxxxxx>