25 May '13 - 21:03 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
  Home Help Search Login Register  
  Show Posts
Pages: [1] 2 3 4
1  Developments / BASS / Re: About Channel in Windows7 on: 12 Sep '12 - 09:15
Maybe I was not understandable!

This is scenario:

I run an application for recording and I get the Sound from Sound Card 1 and from Channel 1;

Then I will run another application for play a song but I need a WARNING message if I'm going to use the Sound Card that is already used in previous application!

Sorry for my bad english!

I hope I'm more understandable now!

Thank you sirs

ReplyReply Reply with quoteQuote
2  Developments / BASS / About Channel in Windows7 on: 27 Aug '12 - 18:33
Anyone knows how to get which channels are used?
And, from which application?

ReplyReply Reply with quoteQuote
3  Developments / BASS / Re: Updating Windows 7 the aac decoder has a problem! on: 17 Apr '12 - 16:33
Hi Ian, sorry i was very busy!

This is my VB6 code in a Winsock data arrival:
    Winsock.GetData DatiRX(), vbByte, bytesTotal
    If Stream = 0 Then
        i = UBound(DatiApp)
        If i = 0 Then i = -1
        ReDim Preserve DatiApp(i + bytesTotal)
        For j = 0 To bytesTotal - 1
            DatiApp(j + i + 1) = DatiRX(j)
        Next j
        Progress = 0
        BASS_SetConfig BASS_CONFIG_NET_BUFFER, Val(lblBufferRX)
        CreateFileProcs
        If UBound(DatiApp) < 4095 Then Exit Sub
        Stream = BASS_StreamCreateFileUser(STREAMFILE_BUFFERPUSH, BASS_STREAM_BLOCK, VarPtr(Fileprocs), 0)
    End if
    If Stream <> 0 Then
         If (BASS_StreamPutFileData(Stream, DatiApp(Progress), UBound(DatiApp) - Progress) = -1) Then
             BASS_StreamFree Stream
             Stream = 0
             Exit Sub
         End If
    Else
         BASS_StreamPutFileData(Stream, DatiRX(0), bytesTotal)
    End if


and this is in a module:
    Public Sub CreateFileProcs()
        With g_Fileprocs
            .close = getaddressof(AddressOf FILECLOSEPROC)
            .length = getaddressof(AddressOf FILELENPROC)
            .read = getaddressof(AddressOf FILEREADPROC)
            .seek = 0
        End With
    End Sub

    Public Function getaddressof(ByVal func As Long) As Long
        getaddressof = func
    End Function

    Public Function FILECLOSEPROC(ByVal user As Long) As Long
        FILECLOSEPROC = 0
    End Function

    Public Function FILELENPROC(ByVal user As Long) As Long
        FILELENPROC = 0
    End Function

    Public Function FILEREADPROC(ByVal buffer As Long, ByVal length As Long, ByVal user As Long) As Long
        If length > UBound(DatiApp) - Progress Then length = UBound(DatiApp) - Progress
        CopyMemory ByVal buffer, DatiApp(Progress), length
        Progress = Progress + length
        FILEREADPROC = length
    End Function

This work good with bass.dll 2.4.7.

ReplyReply Reply with quoteQuote
4  Developments / BASS / Re: Updating Windows 7 the aac decoder has a problem! on: 31 Mar '12 - 12:13
Sorry, I was wrong!

The bass error 45 comes from BASS_StreamPutFileData.

The BASS_AAC_StreamCreateFileUser call is successful, but not as fast as with the previous Bass.dll (2.4.7) version.
ReplyReply Reply with quoteQuote
5  Developments / BASS / Re: Updating Windows 7 the aac decoder has a problem! on: 30 Mar '12 - 17:46
The error number 45 is a Bass_errorgetcode.
ReplyReply Reply with quoteQuote
6  Developments / BASS / Re: Updating Windows 7 the aac decoder has a problem! on: 29 Mar '12 - 18:54
My application never had problems until bass.dll version 2.4.7.

With 2.4.8 version in windows 7, after calling "g_Stream1 = BASS_AAC_StreamCreateFileUser(STREAMFILE_BUFFERPUSH, BASS_STREAM_BLOCK, VarPtr(g_Fileprocs1), 0)" I have error 45.

In windows XP it works good.

I applied also your suggest about CrashDumps but I don't find any file!

ReplyReply Reply with quoteQuote
7  Developments / BASS / Re: Updating Windows 7 the aac decoder has a problem! on: 26 Mar '12 - 19:12
The problem is in Windows 7 with "BASS_AAC_StreamCreateFileUser" and bass.dll new version.



ReplyReply Reply with quoteQuote
8  Developments / BASS / Re: Updating Windows 7 the aac decoder has a problem! on: 24 Mar '12 - 00:09
If I use the old version of Bass.dll (last modified 18 december 2009 - 97Kb) the problem is solved.

The latest version of Bass.dll in XP work good.

Ian, what about?
ReplyReply Reply with quoteQuote
9  Developments / BASS / Re: Updating Windows 7 the aac decoder has a problem! on: 23 Mar '12 - 18:41
I don't have any message.
Only my application sometimes crash, sometimes the sound is not continuos!
ReplyReply Reply with quoteQuote
10  Developments / BASS / Updating Windows 7 the aac decoder has a problem! on: 23 Mar '12 - 18:26
Anyone has this problem?
ReplyReply Reply with quoteQuote
11  Developments / BASS / Re: Stuttering audio when the network is not available! on: 8 Feb '12 - 16:55
Hi Smoov!
Yes, I already used that method.

Thank you.

ReplyReply Reply with quoteQuote
12  Developments / BASS / Stuttering audio when the network is not available! on: 8 Feb '12 - 11:48
This is a very serious problem: if my software is playing a network audio file (opened with BASS_StreamCreateFile) and the network goes down (even for a fraction of a second) or the PC where the file is located doens't respond (even for a fraction of a second), BASS starts looping the buffer for several minutes until it stops and in the meanwhile the software is freezed.
I already asked Ian but he says that Bass can not do anything to solve.
Anyone can help?
I tried with "winmm.dll" API and this does not happen.
ReplyReply Reply with quoteQuote
13  Developments / BASS / Re: How to edit MP4 and AAC tags? on: 21 Sep '11 - 17:17
Ok, I already used that metod, but I think it is wrong bitrate!

The Lenght of the file is different with TAGS.

ReplyReply Reply with quoteQuote
14  Developments / BASS / Re: How to edit MP4 and AAC tags? on: 14 Sep '11 - 16:38
Ok. I removed tags but....

I explane my problem.

If you get the bitrate it is not real!

I thowght because the lenght of file is with the tags data.

But after I removed tags the bitrate is always wrong.

So?Huh

Ian, how I  get the real bitrate of that .m4a Huh
ReplyReply Reply with quoteQuote
15  Developments / BASS / Re: How to edit MP4 and AAC tags? on: 14 Sep '11 - 13:20
Ok .....good dll!!

But only I don't have success when I remove a picture from file.
I need to remove all tags.

Can you help me?
ReplyReply Reply with quoteQuote
16  Developments / BASS / Re: How to edit MP4 and AAC tags? on: 14 Sep '11 - 11:16
Thank you for answere.

I should must to study this dll.

ReplyReply Reply with quoteQuote
17  Developments / BASS / How to edit MP4 and AAC tags? on: 13 Sep '11 - 14:36
Suggestions?

Tks!
ReplyReply Reply with quoteQuote
18  Developments / BASS / Re: BASS.NET API 2.4.8.0 on: 6 Sep '11 - 09:37
I want use the new shoutcas v2 server but I don't understand how!!
I have configured the new server and I have started a server, but Bass_encode_castinit return me error N°2.

I read about SID; is correct this line?
Bass_Encode_CastInit (idEncoder,server & port & "," & SID, password, content, name, Url, genre, descr, 0, bitrate, public) 

But, what is SID? Where I get that Stream ID?

Please, suggest me the bass_encode_castinit line command!



ReplyReply Reply with quoteQuote
19  Developments / BASS / How to know which audiocard playng? on: 19 May '11 - 14:25
Hi to all!

Anyone knows hot to get which audiocard playing?

ReplyReply Reply with quoteQuote
20  Developments / BASS / Re: Slow audio with Bass_wma_encode in mono? on: 31 Aug '10 - 18:42
Oh my god Ian!!!
It was so simple!!!  Tongue

Sorry for disturb and thank you very much again!
ReplyReply Reply with quoteQuote
Pages: [1] 2 3 4
Powered by SMF 1.1.18 | SMF © 2013, Simple Machines