SA-MP Forums Archive
[Plugin] Audio Plugin - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Plugin Development (https://sampforum.blast.hk/forumdisplay.php?fid=18)
+--- Thread: [Plugin] Audio Plugin (/showthread.php?tid=82162)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34


Re: Respuesta: [REL] Audio Plugin v0.5 - SDraw - 09.05.2013

Quote:
Originally Posted by [DOG]irinel1996
Посмотреть сообщение
How does work Audio_Set3DPosition with Audio_PlaySequence, I mean how can I play a sequence with a 3D position?

By the way, how can I stop playing a sequence?

Thank you.
Audio_PlaySequence returns handle id, so
PHP код:
new handle Audio_PlaySequence(...);
Audio_Set3DPosition(playerid,handle,...);
Audio_Stop(playerid,handle); //stop sequence 



Re: [REL] Audio Plugin v0.5 - Cagalume - 09.05.2013

Great !


Re: [REL] Audio Plugin v0.5 - ESGaming - 20.05.2013

Is this compatible with 0.3x?


Re: [REL] Audio Plugin v0.5 - SDraw - 21.05.2013

Quote:
Originally Posted by ESGaming
Посмотреть сообщение
Is this compatible with 0.3x?
Yes, it is...


Re: [REL] Audio Plugin v0.5 - ESGaming - 21.05.2013

Hmm.. I've got installed correctly, songs are downloading and etc. But I hear no songs upon /playing.


Re: [REL] Audio Plugin v0.5 - DiGiTaL_AnGeL - 21.05.2013

Add Audio_GetRadioStation.


Re: [REL] Audio Plugin v0.5 - leong124 - 21.05.2013

Quote:
Originally Posted by ESGaming
Посмотреть сообщение
Hmm.. I've got installed correctly, songs are downloading and etc. But I hear no songs upon /playing.
Try to use Audio_IsClientConnected to check if you've connected to the server.
I actually have a problem that I'm not connected to the server even if I installed the client correctly.
I solved it by moving everything out of "libraries" folder.


Re: [REL] Audio Plugin v0.5 - ESGaming - 23.05.2013

Quote:
Originally Posted by leong124
Посмотреть сообщение
Try to use Audio_IsClientConnected to check if you've connected to the server.
I actually have a problem that I'm not connected to the server even if I installed the client correctly.
I solved it by moving everything out of "libraries" folder.
Already covered that, The server sends a client message whenever a connection to the audio server is made.


No good though.


Re: [REL] Audio Plugin v0.5 - Ryan_Obeles - 26.05.2013

i wish this never required audio client D:


Re: Audio Plugin - stormchaser206 - 27.09.2014

Is the client version required to download by everybody on a server it's on?


Re: Audio Plugin - Crayder - 01.10.2014

Does the client have to have the client side plugin to stream?


Respuesta: Re: Audio Plugin - JustBored - 01.10.2014

Quote:
Originally Posted by Crayder
Посмотреть сообщение
Does the client have to have the client side plugin to stream?
Yes, the client must have the clientside plugin.


AW: Audio Plugin - LadyNyuuu - 07.10.2014

@Kenny365: Are you sure you included the Include inside the test.pwn? Plugin successfully loaded via Log?


Re: Audio Plugin - iFarbod - 07.10.2014

@Incognito: Please move the project to GitHub.


Re: AW: Audio Plugin - Kenny365 - 09.10.2014

Quote:
Originally Posted by LadyNyuuu
Посмотреть сообщение
@Kenny365: Are you sure you included the Include inside the test.pwn? Plugin successfully loaded via Log?
Yes, I have everything that I can think of in place correctly.


Re: Audio Plugin - iSanchez - 17.11.2014

how i can compile it with linux?

i get this error: (edit) fixed now
Код:
In file included from src/session.cpp:27:
include/boost/lexical_cast.hpp: In function 'Target boost::lexical_cast(const Source&) [with Target = int, Source = std::basic_string<char,                        std::char_traits<char>, std::allocator<char> >]':
include/boost/lexical_cast.hpp:2314: warning: 'result' may be used uninitialized in this function
src/session.cpp: In member function 'void Session::performSequence()':
src/session.cpp:531: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true
Linking audio
/usr/bin/ld: obj/linux/Release/error_code.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; re                       compile with -fPIC
obj/linux/Release/error_code.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [bin/linux/Release/audio.so] Error 1
make: *** [audio] Error 2
Now i get this error:
wrong ELF class: ELFCLASS64

How i can do?


Re: Audio Plugin - Kapupc - 23.11.2014

is this support for lastest sa-mp version or need to do something to update by myself ?


Re: Audio Plugin - Michalec - 23.11.2014

It works on all versions of SA-MP


Re: Audio Plugin - Kapupc - 24.11.2014

why sizeof server plugins when i compile myself it was 1.3mb but in forum (server plugins package) it's just 300kb


Re: Audio Plugin - Kapupc - 24.11.2014

oh i got it. chage to release and size are the same