9/3/2023 0 Comments Mp3 transmit![]() ![]() If you simply transmit the file data, you'll send say 5 minutes of data in perhaps a 10 second time period. However, there are a few problems with that. it might help you get started.Īs your file is in MP3, it is possible to send it directly to the server and hear it on the receiving end. But, I wanted to give you the gist of the process of what you need to do. I haven't used BASS in many years, so I can't give you specific advice on the code you have there. So if any solution of code or any other thing i can do. _broadCast.Notification += OnBroadCast_Notification īut i don't get my File Streamed to streamed to the server even the _broadCast Is Connected. ![]() If (_broadCast != null & _broadCast.IsConnected) Int len = Bass.BASS_ChannelGetData(_stream, encBuffer, encBuffer.Length) getting sample data will automatically feed the encoder While (Bass.BASS_ChannelIsActive(_stream) = BASSActive.BASS_ACTIVE_PLAYING) decode the stream (if not using a decoding channel, simply call "Bass.BASS_ChannelPlay" here)īyte encBuffer = new byte // our dummy encoder buffer Int _stream = Bass.BASS_StreamCreateFile("1.mp3", 0, 0,īASSFlag.BASS_SAMPLE_FLOAT | BASSFlag.BASS_STREAM_PRESCAN) I have tried bass.radio to use and that's my code private int _recHandle īass.BASS_Init(-1, 44100, BASSInit.BASS_DEVICE_DEFAULT,IntPtr.Zero) I tried a lot of work around but finally i thought of sending mp3 files to shoutcast server and play the output of that server my problem is i don't how to do that Im trying to Make a radio Like Auto Dj to Play List Of Mp3 Files in series Like What Happen In Radio. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |