19 Jun '13 - 18:59 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Reply  |  Print  
Author Topic: EncoderLAME() Issue  (Read 294 times)
Zakher
Guest
« on: 9 Aug '12 - 22:34 »
Reply with quoteQuote

hi,
i am new on Bass Stuff , but realy Bass is Cool,
i have two aspects to resolve:
1- int Channel = (my mic or my mixer data) how???
2- get 1 now.. EncoderLame  l = new EncoderLAME(int handler from 1);
so all i want to get my mic or line in or speaker data to Encoder , i got my mp3 output data as stream(byte[]) i dont want to write it on file , i want to send it at network (not shoutcast)
anyhelp Plzzz..
Thanks in Advance >>>
Logged
Ian @ un4seen
Administrator
Posts: 15366


« Reply #1 on: 13 Aug '12 - 14:11 »
Reply with quoteQuote

To capture sound from the mic (or other input), you need to use BASS_RecordStart, and you can then set an encoder on the returned handle. To receive the encoded data, you need to use an ENCODEPROC callback function. I'm not sure if the EncoderLAME class includes that option, but if not, you can use BASS_Encode_Start directly (the EncoderLAME class uses it internally). Please see the BASS_RecordStart/BASS_Encode_Start/ENCODEPROC documentation for details.
Logged
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.18 | SMF © 2013, Simple Machines