[Solved] TSound not found (Linux)
BlitzMax Forums/BlitzMax Beginners Area/[Solved] TSound not found (Linux)
| ||
I was trying out a demo with sound on Linux. I already setup freeaudio with pulsoaudio fix but still getting this error. |
| ||
You recently posted about Framework so I will guess you are using one and it omits BRL.Audio. If you are indeed using a Framework then get rid of it and see what happens. |
| ||
Thanks Floyd. Actually on the windows version it works, but when I tried to build it on linux it throws that error. |
| ||
This does not answer the question, whether you are using the "Framework"-command. bye Ron |
| ||
Ok seems to be this one thing that I have overlooked earlier. Being new to Blitzmax I forgot to import the correct audio from DirectSoundAudio to BRL.FreeAudioAudio Thanks guys! Sound is working now :D |
| ||
Hi Rusty: * Yep, you need to be careful with that Framework command. While in DEBUG mode, some commands will show an ERROR telling you which elements you need to IMPORT, not everyone of them does and just shows weird errors and flaws in your runtime. Here are the MODs I use in my current project: Framework brl.glmax2d - standard graphics Import brl.pngloader - needed to load PING images Import maxgui.drivers - non-standard library for building 'gadgets' Import brl.retro - needed for string commands like LEFT$(), MID$(), and RIGHT$() Import brl.freetypefont - needed if you want to load and display fonts |
| ||
How does it Rusty help, if he knows what modules you are using in _your_ project? A good thing to start as Framework might be "Brl.StandardIO" (for "print") or "Brl.Blitz" (so you do import everything on your own). If you do not care, just use the Framework Assistant. bye Ron |
| ||
Derron: What I wrote helps others because I placed descriptions besides each of them and what functions they cover. Now ask yourself, is your question to me above at all helpful to others ? No, it is not. And yes, StandardIO is a good place to start if you don't need graphics or commands for handling strings. Framework Assistant is an option. Unfortunately in my own code if I use what it suggests then my EXE comes out quite a bit larger than if I just add my own Framework manually - so, the Assistant is not perfect. You may need to use a bit of judgement on your own to get fine-tuned results, Rusty. |
| ||
~n is a newline ~t is a tab Oh, the OP did not ask this? Hmm, but I better leave it here to help others. Understood what I want to express? You mention something to someone who did not ask for this information, maybe he did not need it. Only thing your reply did was initializing derailment of the thread :-) @Framework assistant maybe that is why _you_ as developer are the boss, and the assistant is just the assistant :-) Do not forget that while your programme compiles fine, it might have issues if you miss an import (good bet is "PNGLoader" or "OggLoader"). @brl.StandardIO It's better to start with something small, compared to brl.glmax2D (I know that this is just for _your_individual_ project, so do not feel attacked now). Nonetheless I like the monkey-X-approach that only used modules are included in the build. Another aspect of "Framework" is, that compilation times are getting low er/better as it avoids linking the whole unneeded pile of modules. bye Ron |
| ||
You're right, we're both off. I was answering about Framework and you were too when the subject is actually Sound On Linux. Now don't you feel better, Ron. :) |
| ||
Yes, the framework thing was another topic I posted and I'm glad this all worked out and no need to argue guys. :) You've all been a great help! |
| ||
Sometimes they push my buttons, Rusty. If they really hated me, they wouldn't respond to my posts, so haters gonna hate. :) I think overall there are a lot of bright people in here - just some toes get stepped on sometimes. Best wishes with your Freeaudio and Framework. |