Interface administrators, moderator
2,616
edits
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
|return = Sound a sound object | |return = Sound a sound object | ||
|freturn = void | |freturn = void | ||
|notes = | |notes = The audio file needs to be loaded into a file stream using [[openFile|openFile]] before you can create a sound object with it.<br> | ||
The only supported audio file types are MP3 and Ogg | The only supported audio file types are [https://en.wikipedia.org/wiki/MP3 MP3] and [https://en.wikipedia.org/wiki/Ogg OGG]<br> | ||
Due to an inherit bug with MP3's appending a small gap at the end of the file, you may experience a slight delay after each play of the audio file. This is especially noticeable when looping the audio. The only workaround for this is to convert the audio file to Ogg Vorbis (ogg) before using it in GTA Connected. | Due to an inherit bug with MP3's appending a small gap at the end of the file, you may experience a slight delay after each play of the audio file. This is especially noticeable when looping the audio. The only workaround for this is to convert the audio file to Ogg Vorbis (ogg) before using it in GTA Connected. | ||
}} | }} |